I am new to jprofiler and i am not able to understand what invocations means, 1)If one method is taking 1 invocation how come the each sub methods are taking more than 1 invocation? 2)And the time is for per invocation or is it total time taken for total number of invocations? 3)And in screenshot of my resultwhat is the total %, for example one method is taking 21.6% so all the sub-methods should add up and they should be 21.6% but that is not the case here.
It would be really helpful if someone can explain me the call tree view.
Thank you in advance.
EDIT:
1.In the imagescreenshot 2 i have highlighted the time 869s in 91 inv, i wanted to know how to find out time for 1 invocation because when i divide 869/91= 9.54 but when i check my logs that service is taking less than 1s. Can you please explain it to me?
1)If one method is taking 1 invocation how come the each sub methods are taking more than 1 invocation?
For example: Method A can be called once and it can call method B 10 times.
2)And the time is for per invocation or is it total time taken for total number of invocations?
It is the total time for all invocations.
3)And in screenshot of my resultwhat is the total %, for example one method is taking 21.6% so all the sub-methods should add up and they should be 21.6% but that is not the case here.
The remainder is "self-time".
See
https://www.ej-technologies.com/resources/jprofiler/help/doc/#jprofiler.cpu
for a detailed explanation.