문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top