Package org.eclipse.jetty.io.jmh
Class ByteBufferBenchmark
- java.lang.Object
-
- org.eclipse.jetty.io.jmh.ByteBufferBenchmark
-
public class ByteBufferBenchmark extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ByteBufferBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
long
test(java.nio.ByteBuffer buffer)
long
testArray(java.nio.ByteBuffer buffer)
long
testDirect()
long
testInDirect()
long
testInDirectArray()
-
-
-
Method Detail
-
test
public long test(java.nio.ByteBuffer buffer)
-
testArray
public long testArray(java.nio.ByteBuffer buffer)
-
testDirect
public long testDirect()
-
testInDirect
public long testInDirect()
-
testInDirectArray
public long testInDirectArray()
-
main
public static void main(java.lang.String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-