mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8288673: Reduce runtime of java.time microbenchmarks
Reviewed-by: jvernee
This commit is contained in:
parent
d917e1874e
commit
68bff04515
3 changed files with 7 additions and 7 deletions
|
@ -55,8 +55,8 @@ import org.openjdk.jmh.infra.Blackhole;
|
|||
*/
|
||||
@BenchmarkMode(Mode.Throughput)
|
||||
@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
||||
@Warmup(iterations = 5, time = 2, timeUnit = TimeUnit.SECONDS)
|
||||
@Measurement(iterations = 5, time = 2, timeUnit = TimeUnit.SECONDS)
|
||||
@Warmup(iterations = 5, time = 1)
|
||||
@Measurement(iterations = 5, time = 1)
|
||||
@Fork(3)
|
||||
@State(Scope.Benchmark)
|
||||
public class GetYearBench {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue