https://kotlinlang.org logo
#announcements
Title
# announcements
f

Fudge

06/05/2019, 10:42 AM
Is there a Kotlin performance profiler for Windows?
g

gildor

06/05/2019, 10:48 AM
JVM?
f

Fudge

06/05/2019, 10:50 AM
Yes
g

gildor

06/05/2019, 10:53 AM
any Java profiler, as I know all of them work on Windows
f

Fudge

06/05/2019, 10:56 AM
Didn't think they would play well with Kotlin
s

Stephan Schroeder

06/05/2019, 11:01 AM
there is an experimental CPU Profiler in IntelliJ Ultimate https://www.jetbrains.com/help/idea/cpu-profiler.html
g

gildor

06/05/2019, 11:06 AM
Sure, profiler dispatch JVM calls, not source code, no difference between Java and Kotlin (except some possible profiler bugs)
This bundled Idea profiler is not available on Windows
👆 1
m

Mike

06/05/2019, 12:33 PM
Java Flight Recorder and tools in the JDK? https://www.baeldung.com/java-flight-recorder-monitoring
Haven’t tried it, but it should work. The only thing is you may have to reverse engineer problems to your Kotlin Code. Not aware of a Kotlin aware profiler yet.
g

gildor

06/05/2019, 12:54 PM
reverse engineer problems to your Kotlin Code.
What does it mean? You have names of all methods from Kotlin code, proper invocation stacks, no need to have special Kotlin profiler
☝️ 1
11 Views