RFR: 8291828: Reduce runtime of java.util.stream microbenchmarks
Roger Riggs
rriggs at openjdk.org
Mon Aug 15 14:39:18 UTC 2022
On Wed, 3 Aug 2022 16:28:31 GMT, Eric Caspole <ecaspole at openjdk.org> wrote:
> These changes reduce the default run time from about 1 day 22 hours to about 6 hours with good stability we can use in weekly testing.
test/micro/org/openjdk/bench/java/util/stream/ops/value/SizedCount.java line 30:
> 28: import org.openjdk.jmh.annotations.Measurement;
> 29: import org.openjdk.jmh.annotations.Fork;
> 30: import org.openjdk.jmh.annotations.Measurement;
Should there have been annotations for Fork to go with this import?
Importing Measurement again is a dup.
test/micro/org/openjdk/bench/java/util/stream/ops/value/SizedSum.java line 33:
> 31: import org.openjdk.jmh.annotations.Mode;
> 32: import org.openjdk.jmh.annotations.OutputTimeUnit;
> 33: import org.openjdk.jmh.annotations.Param;
Ditto imports vs annotations.
-------------
PR: https://git.openjdk.org/jdk/pull/9733
More information about the core-libs-dev
mailing list