Currently, _GetStatistics shows the min, max and avg performance for calls. In out environment, that information is not enough, the deviation is also needed.
Standard deviation would be best to have.
Additionally it would be nice to also have stats for 90%--thresholds. Meaning that if the threshold value is 55 ms, then 90% of the requests is handled within 55 ms.
I propose reducing the scope of this RFE to: outputting the variance only, in a parameter "variance". I have developed the code, along with some unit tests.
Assigning to Anthony for his review.
I intend to deliver a patch ASAP.
Proposed patch for both this RFE and for RFE #2949858.
Note that the proposed patch also (a) implements RFE #2949858 (b) does a bit of Javadoc and code cleanup.
I will also add the VarianceComputer and the VarianceComputerTests classes. Note that the VarianceComputerTests should also be linked from AllTests.java.
VarianceComputer class, in package org.xins.common.
VarianceComputerTests class, in package org.xins.tests.common.
FunctionStatistics.java - result of 2949333_and_2949858.diff
@Anthony: Is this included in XINS 2.3-beta1 or did you take it out of the proposed implementation?