As per title. Is there a way to always start CPU profiling using asynchronous sampling?
I typically use yourkit from the intellij plugin. When I execute the code, the CPU profiling is always using default sampling. This means I have to stop the CPU profiling, select asynchronous sampling, and restart it. Which is not ideal.
Always start CPU profiling with asynchronous sampling
-
- Posts: 2
- Joined: Wed Apr 19, 2023 10:12 am
-
- Posts: 1
- Joined: Wed Apr 19, 2023 12:27 pm
Re: Always start CPU profiling with asynchronous sampling
The help for the Plugin is pretty clear on how to do this.
https://www.yourkit.com/docs/java/help/idea.jsp
tl;dr Open the Run/Debug Configurations dialog, Select the run configuration, IntelliJ IDEA 2020.3 and newer: Click the link Modify options and select the item Profile in the Startup/Connection section of the drop down list.
https://www.yourkit.com/docs/java/help/idea.jsp
tl;dr Open the Run/Debug Configurations dialog, Select the run configuration, IntelliJ IDEA 2020.3 and newer: Click the link Modify options and select the item Profile in the Startup/Connection section of the drop down list.
-
- Posts: 2
- Joined: Wed Apr 19, 2023 10:12 am
Re: Always start CPU profiling with asynchronous sampling
Thanks a lot, I completely missed this!pete23 wrote: ↑Wed Apr 19, 2023 12:30 pm The help for the Plugin is pretty clear on how to do this.
https://www.yourkit.com/docs/java/help/idea.jsp
tl;dr Open the Run/Debug Configurations dialog, Select the run configuration, IntelliJ IDEA 2020.3 and newer: Click the link Modify options and select the item Profile in the Startup/Connection section of the drop down list.