Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a call tree view available for jvisualvm or NetBeans profiler?

JProfiler offers a live call-tree view so you can see what's using CPU in real-time and drill down for the details. Reset the counts to zero at any time, rinse, repeat.

I'm currently without that tool, and trying to get by with free/open alternatives. jvisualvm and the NetBeans profiler have a static snapshot call-tree and a live flat view. It seems to reason that there would a live call-tree view available (or as a plugin) but I can't seem to find one.

Is this sort of feature only available in commercial profilers?

Thanks.

like image 888
Mark Bolusmjak Avatar asked Jul 29 '10 15:07

Mark Bolusmjak


1 Answers

If you hit the 'Snapshot' button in the Sampler or Profiler windows after profiling CPU usage, it will show you a call tree with a summary of the CPU time for each method, along with self-times.

Source: https://stackoverflow.com/a/12809814/952135

like image 199
Oliv Avatar answered Sep 21 '22 10:09

Oliv