8287810: Reduce runtime of java.lang microbenchmarks

Reviewed-by: mchung
This commit is contained in:
Claes Redestad 2022-06-07 07:23:30 +00:00
parent aa6c568a06
commit 778ed1a760
39 changed files with 206 additions and 101 deletions

View file

@ -41,7 +41,7 @@ import java.util.concurrent.TimeUnit;
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
@State(Scope.Thread)
@Warmup(iterations = 10, time = 1000, timeUnit = TimeUnit.MILLISECONDS)
@Warmup(iterations = 5, time = 1000, timeUnit = TimeUnit.MILLISECONDS)
@Measurement(iterations = 5, time = 1000, timeUnit = TimeUnit.MILLISECONDS)
@Fork(3)
public class StringOther {