8287904: Reduce runtime of java.net microbenchmarks

Reviewed-by: jvernee
This commit is contained in:
Claes Redestad 2022-06-17 12:24:16 +00:00
parent 523d553e13
commit cc445926cf
13 changed files with 58 additions and 379 deletions

View file

@ -42,6 +42,9 @@ import org.openjdk.jmh.annotations.*;
@BenchmarkMode(Mode.Throughput)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Thread)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(value = 3)
public class UnixSocketChannelReadWrite {
private ServerSocketChannel ssc;