mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8311178: JMH tests don't scale well when sharing output buffers
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org> Reviewed-by: ecaspole, sviswanathan, mli
This commit is contained in:
parent
00c7f914c6
commit
a03a3a43bb
12 changed files with 17 additions and 17 deletions
|
@ -39,7 +39,7 @@ import org.openjdk.jmh.annotations.Warmup;
|
|||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.Arrays;
|
||||
|
||||
@State(Scope.Benchmark)
|
||||
@State(Scope.Thread)
|
||||
@BenchmarkMode(Mode.AverageTime)
|
||||
@OutputTimeUnit(TimeUnit.NANOSECONDS)
|
||||
@Warmup(iterations = 4, time = 2, timeUnit = TimeUnit.SECONDS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue