I have a long operation that I want to profile in JProfiler (or other sentences), but the method is very recursive, so the tree view in the CPU view does not help much. He shows me the processor like this:
beginOperation 100% |- recursiveMethod 99% | | - recursiveMethod 98% | | | - recursiveMethod 97% | | | | - ...more recursion | | |- otherMethods 1% | | - otherMethod 1% | - otherMethods 1%
You see that recursiveMethod really takes no time. Rather, its otherMethods , which takes time, and the ones I want to profile. My ideal view would show that recursiveMethod has about 0% of the time and otherMethods about 100%.
So, is there a way in JProfiler to flip this view so that I can see where my CPU time is being spent more clearly? Anyone have a suggestion for another profiler who can do this?
Note. I am using JProfiler 6, but can potentially upgrade if another version can do this.
Thanks!
source share