mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8287810: Reduce runtime of java.lang microbenchmarks
Reviewed-by: mchung
This commit is contained in:
parent
aa6c568a06
commit
778ed1a760
39 changed files with 206 additions and 101 deletions
|
@ -30,7 +30,9 @@ import java.util.random.RandomGenerator;
|
|||
@BenchmarkMode(Mode.AverageTime)
|
||||
@OutputTimeUnit(TimeUnit.NANOSECONDS)
|
||||
@State(Scope.Thread)
|
||||
@Fork(1)
|
||||
@Warmup(iterations = 5, time = 1)
|
||||
@Measurement(iterations = 5, time = 1)
|
||||
@Fork(3)
|
||||
public class FPComparison {
|
||||
static final int INVOCATIONS = 1024;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue