Home / Function/ setup() — netty Function Reference

setup() — netty Function Reference

Architecture documentation for the setup() function in SslEngineHandshakeBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9dd5d844_abd5_ab53_7f20_12fa34efff15["setup()"]
  cb724f22_8e18_1640_1e4d_952c88bbdb3c["SslEngineHandshakeBenchmark"]
  9dd5d844_abd5_ab53_7f20_12fa34efff15 -->|defined in| cb724f22_8e18_1640_1e4d_952c88bbdb3c
  style 9dd5d844_abd5_ab53_7f20_12fa34efff15 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/handler/ssl/SslEngineHandshakeBenchmark.java lines 39–46

    @Setup(Level.Iteration)
    public void setup() {
        allocator = new PooledByteBufAllocator(true);
        // Init an engine one time and create the buffers needed for an handshake so we can use them in the benchmark
        initEngines(allocator);
        initHandshakeBuffers();
        destroyEngines();
    }

Domain

Subdomains

Frequently Asked Questions

What does setup() do?
setup() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/handler/ssl/SslEngineHandshakeBenchmark.java.
Where is setup() defined?
setup() is defined in microbench/src/main/java/io/netty/microbench/handler/ssl/SslEngineHandshakeBenchmark.java at line 39.

Analyze Your Own Codebase

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

Try Supermodel Free