mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +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
|
@ -33,8 +33,8 @@ import org.openjdk.jmh.annotations.Scope;
|
|||
import org.openjdk.jmh.annotations.State;
|
||||
import org.openjdk.jmh.annotations.Warmup;
|
||||
|
||||
@Warmup(iterations = 3, time = 5, timeUnit = TimeUnit.SECONDS)
|
||||
@Measurement(iterations = 4, time = 5, timeUnit = TimeUnit.SECONDS)
|
||||
@Warmup(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
|
||||
@Measurement(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
|
||||
@Fork(2)
|
||||
@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
||||
@BenchmarkMode(Mode.Throughput)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue