Home / Function/ setUp() — netty Function Reference

setUp() — netty Function Reference

Architecture documentation for the setUp() function in QueryStringEncoderBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ac998288_61b8_1569_cd3e_8044ecf26dcf["setUp()"]
  5263319d_1de7_116b_4447_8de46529cd85["QueryStringEncoderBenchmark"]
  ac998288_61b8_1569_cd3e_8044ecf26dcf -->|defined in| 5263319d_1de7_116b_4447_8de46529cd85
  2b0b86ce_d855_8f02_6424_e12c500d2d2b["String()"]
  ac998288_61b8_1569_cd3e_8044ecf26dcf -->|calls| 2b0b86ce_d855_8f02_6424_e12c500d2d2b
  style ac998288_61b8_1569_cd3e_8044ecf26dcf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http/QueryStringEncoderBenchmark.java lines 41–50

    @Setup
    public void setUp() {
        // Avoid constant pool for strings since it's common for at least values to not be constant.
        shortAscii = new String("foo".toCharArray());
        shortUtf8 = new String("ほげほげ".toCharArray());
        shortAsciiFirst = shortAscii + shortUtf8;
        longAscii = repeat(shortAscii, 100);
        longUtf8 = repeat(shortUtf8, 100);
        longAsciiFirst = longAscii + longUtf8;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does setUp() do?
setUp() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/QueryStringEncoderBenchmark.java.
Where is setUp() defined?
setUp() is defined in microbench/src/main/java/io/netty/handler/codec/http/QueryStringEncoderBenchmark.java at line 41.
What does setUp() call?
setUp() calls 1 function(s): String.

Analyze Your Own Codebase

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

Try Supermodel Free