mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8292623: Reduce runtime of java.io microbenchmarks
Reviewed-by: rriggs
This commit is contained in:
parent
dcd78020e4
commit
e561933907
10 changed files with 44 additions and 2 deletions
|
@ -30,9 +30,9 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
@BenchmarkMode(Mode.AverageTime)
|
||||
@OutputTimeUnit(TimeUnit.MICROSECONDS)
|
||||
@Fork(value = 1, warmups = 0)
|
||||
@Fork(2)
|
||||
@Measurement(iterations = 6, time = 1)
|
||||
@Warmup(iterations=2, time = 2)
|
||||
@Warmup(iterations=4, time = 2)
|
||||
@State(Scope.Benchmark)
|
||||
public class DataOutputStreamTest {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue