"Profile As" in intelliJ is very slow

Questions about YourKit Java Profiler
Post Reply
ndipiazza
Posts: 5
Joined: Sat Apr 08, 2017 4:23 pm

"Profile As" in intelliJ is very slow

Post by ndipiazza »

I’m running something in intellij, and it’s fast. But running in YourKit, it slows down. What could that be caused from?

From IntelliJ, I click the “profile” button, which launches YourKit and runs my main method.

It seems like it is drastically slower when running in profile mode. Is it supposed to be this much different?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: "Profile As" in intelliJ is very slow

Post by Anton Katilin »

By default, the profiler plugin turns CPU sampling on:
https://www.yourkit.com/docs/java/help/cpu_intro.jsp

Please turn it off in the run configuration settings shown here (uncheck "Startup with CPU profiling"):
https://www.yourkit.com/docs/java/help/ ... n_conf.png

Does this help?
ndipiazza
Posts: 5
Joined: Sat Apr 08, 2017 4:23 pm

Re: "Profile As" in intelliJ is very slow

Post by ndipiazza »

Yes that helped! thank you!
Post Reply