Code - (Profiler|Profiling)


A (program|package|procedure) is run under control of a profiling tool, which gives the time distribution among executed functions in the run.

After analyse of the output, you get the part of your program most of the time is spent.


System profilers

  • Linux perf events, which can profile system code paths, including libjvm internals, GC, and the kernel, but not Java methods.

SDK Profiler


  • JVM profilers: such as hprof, Lightweight Java Profiler (LJP), and commercial profilers. These show Java methods, but not system code paths.

Powered by ComboStrap