This content has been marked as final. Show 1 reply
A couple of notes.
Note that CodeSleuth only see's Jitted methods, or methods that were compiled by the JVM into x86 instructions in memory. It is possible that the method that you wanted test was not compiled by the JVM. This certainly happens with code that is not considered 'hot' WRT the JVM.
If you really want to see this method consider creating a test case which calls it frequently (>1000).
Another possibility is that the method was small, and got inlined into the calling method(s). So the code is not seen by it's own method name. In this case note whether a *known* caller appears in the CodeSleuth Navigation View as taking some time.
Regarding %'s not adding up to 100. When CodeAnalyst/CodeSleuth is analysing, it measures the performance of the whole system. So the percentages refer to % of the whole machine spent in this method or at a specific line of code.
One disadvantage that CodeSleuth has over CodeAnayst is that there are always two JVM's running, the one running your application and the JVM running Eclipse itself. If you have a bunch of other applications running then these will also 'dilute' the percentage of reported time against your workload.