8287903: Reduce runtime of java.math microbenchmarks

Reviewed-by: ecaspole, aph
This commit is contained in:
Claes Redestad 2022-06-09 13:11:15 +00:00
parent 3fa99844a6
commit 7e948f7ccb
4 changed files with 71 additions and 38 deletions

View file

@ -29,9 +29,12 @@ import org.openjdk.jmh.annotations.*;
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Thread)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(value = 3)
public class FpRoundingBenchmark {
@Param({"1024", "2048"})
@Param({"2048"})
public int TESTSIZE;
public double[] DargV1;