Package io.netty.microbench.buffer
Class ByteBufAllocatorAllocPatternBenchmark.AllocationPatternState
- java.lang.Object
-
- io.netty.microbench.buffer.ByteBufAllocatorAllocPatternBenchmark.AllocationPatternState
-
- Enclosing class:
- ByteBufAllocatorAllocPatternBenchmark
public static class ByteBufAllocatorAllocPatternBenchmark.AllocationPatternState extends Object
-
-
Constructor Summary
Constructors Constructor Description AllocationPatternState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformDirectAllocation()voidperformHeapAllocation()voidsetup(ByteBufAllocatorAllocPatternBenchmark benchmark)voidtearDown()
-
-
-
Method Detail
-
setup
public void setup(ByteBufAllocatorAllocPatternBenchmark benchmark)
-
performDirectAllocation
public void performDirectAllocation()
-
performHeapAllocation
public void performHeapAllocation()
-
tearDown
public void tearDown()
-
-