Home / Function/ doSetup() — netty Function Reference

doSetup() — netty Function Reference

Architecture documentation for the doSetup() function in SimpleByteBufPooledAllocatorBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cd77c0b1_8c45_409a_7a58_26e617042ee0["doSetup()"]
  f10e86a9_beff_46df_386d_e6974fa256e0["SimpleByteBufPooledAllocatorBenchmark"]
  cd77c0b1_8c45_409a_7a58_26e617042ee0 -->|defined in| f10e86a9_beff_46df_386d_e6974fa256e0
  style cd77c0b1_8c45_409a_7a58_26e617042ee0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/buffer/SimpleByteBufPooledAllocatorBenchmark.java lines 69–81

    @Setup(Level.Trial)
    public void doSetup() {
        allocator = new PooledByteBufAllocator(
                PooledByteBufAllocator.defaultPreferDirect(),
                PooledByteBufAllocator.defaultNumHeapArena(),
                PooledByteBufAllocator.defaultNumDirectArena(),
                PooledByteBufAllocator.defaultPageSize(),
                PooledByteBufAllocator.defaultMaxOrder(),
                PooledByteBufAllocator.defaultTinyCacheSize(),
                PooledByteBufAllocator.defaultSmallCacheSize(),
                PooledByteBufAllocator.defaultNormalCacheSize(),
                useThreadCache);
    }

Domain

Subdomains

Frequently Asked Questions

What does doSetup() do?
doSetup() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/SimpleByteBufPooledAllocatorBenchmark.java.
Where is doSetup() defined?
doSetup() is defined in microbench/src/main/java/io/netty/microbench/buffer/SimpleByteBufPooledAllocatorBenchmark.java at line 69.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free