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

@ -46,6 +46,9 @@ import org.openjdk.jmh.runner.options.OptionsBuilder;
@BenchmarkMode(Mode.SingleShotTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Thread)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(value = 3)
public class SocketChannelConnectionSetup {
private ServerSocketChannel ssc;