mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8287904: Reduce runtime of java.net microbenchmarks
Reviewed-by: jvernee
This commit is contained in:
parent
523d553e13
commit
cc445926cf
13 changed files with 58 additions and 379 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue