mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8287903: Reduce runtime of java.math microbenchmarks
Reviewed-by: ecaspole, aph
This commit is contained in:
parent
3fa99844a6
commit
7e948f7ccb
4 changed files with 71 additions and 38 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue