Question

I know that I can use JProfiler to pinpoint methods which are potential bottle neck. But is it also possible to use JProfiler to investigate code within a particular method and see what part of the code within that method is causing the method not to perform well.

Thanks, Cyrus

Was it helpful?

Solution

You could take the section that you want to be profiled and put it into an own method that you call from your original one.

Other than that, there will be no good way to do what you want, so: refactor your code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top