Below are the descriptions for each attributes:
Calls = Number of calls in each assertion Path (It could be asynchronous)
Call Time (ms) = Total time taken by the Number of Calls in each Path.
Duration = Sum of (Call Time (ms) / Calls) for all the Path within that trace.**
**Because the assertion calls within the same path can be asynchronous (happen at the same time), hence the duration only takes into account the Call Time taken for one single assertion call (averaged). See case comment for actual calculation examples.
Let's take the following service trace as example:
<Please see attached file for image>1. Firstly, sort the Call Time in descending order so that only those with non-zero Call Time are included in the calculation. In this case, there are 13 in total.
2. Next, following the formula stated above, divide Call Time over Calls for each Path, and sum the output together:(2176/1) + (122/1) + (32/64) + (32/64) + (15/1) + (8/16) + (8/16) + (3/1) + 1 + 1 + 1 + 1 + 1
= 2176 + 122 + 0.5 + 0.5 + 15 + 0.5 + 0.5 + 3 + 5
= 2323 (2323ms Duration)