How to profile application startup

Questions about YourKit Java Profiler
Locked
subhams
Posts: 1
Joined: Thu Oct 15, 2020 8:50 am

How to profile application startup

Post by subhams »

Is there a way to profile the launch and startup of a java application using YourKit?
I want to measure which part of java code is taking more time on startup so that i can optimise startup time for java application.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: How to profile application startup

Post by Anton Katilin »

Yes. Please use corresponding agent startup options to start profiling immediately e.g. "sampling" for CPU sampling.
https://www.yourkit.com/docs/java/help/ ... ptions.jsp
Locked