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?
"Profile As" in intelliJ is very slow
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: "Profile As" in intelliJ is very slow
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?
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?
-
- Posts: 5
- Joined: Sat Apr 08, 2017 4:23 pm
Re: "Profile As" in intelliJ is very slow
Yes that helped! thank you!