Class ByteBufAllocatorBenchmark


  • public class ByteBufAllocatorBenchmark
    extends AbstractMicrobenchmark
    This class benchmarks different allocators with different allocation sizes.
    • Field Detail

      • size

        public int size
    • Constructor Detail

      • ByteBufAllocatorBenchmark

        public ByteBufAllocatorBenchmark()
    • Method Detail

      • releaseBuffers

        public void releaseBuffers()
      • unpooledHeapAllocAndFree

        public void unpooledHeapAllocAndFree()
      • unpooledDirectAllocAndFree

        public void unpooledDirectAllocAndFree()
      • pooledHeapAllocAndFree

        public void pooledHeapAllocAndFree()
      • pooledDirectAllocAndFree

        public void pooledDirectAllocAndFree()
      • defaultPooledHeapAllocAndFree

        public void defaultPooledHeapAllocAndFree()
      • defaultPooledDirectAllocAndFree

        public void defaultPooledDirectAllocAndFree()
      • adaptiveHeapAllocAndFree

        public void adaptiveHeapAllocAndFree()
      • adaptiveDirectAllocAndFree

        public void adaptiveDirectAllocAndFree()