hg: code-tools/jmh: Optimized the variance calculations in MultisetStatistics.

aleksey.shipilev at oracle.com aleksey.shipilev at oracle.com
Mon Nov 4 03:09:39 PST 2013


Changeset: 0c5bc599e661
Author:    shade
Date:      2013-11-04 12:09 +0100
URL:       http://hg.openjdk.java.net/code-tools/jmh/rev/0c5bc599e661

Optimized the variance calculations in MultisetStatistics.
Improves the processing performance in "sample" mode.

! jmh-core/src/main/java/org/openjdk/jmh/util/internal/AbstractStatistics.java
- jmh-core/src/main/java/org/openjdk/jmh/util/internal/DoubleIterator.java
! jmh-core/src/main/java/org/openjdk/jmh/util/internal/ListStatistics.java
! jmh-core/src/main/java/org/openjdk/jmh/util/internal/MultisetStatistics.java



More information about the jmh-dev mailing list