Home / Class/ GetIpV6ByNameBenchmark Class — netty Architecture

GetIpV6ByNameBenchmark Class — netty Architecture

Architecture documentation for the GetIpV6ByNameBenchmark class in GetIpV6ByNameBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5fbe53d6_21e6_ffcb_8255_0d4c8b1c5b54["GetIpV6ByNameBenchmark"]
  d485c8b2_1460_217f_1763_fedb8e9dafc0["GetIpV6ByNameBenchmark.java"]
  5fbe53d6_21e6_ffcb_8255_0d4c8b1c5b54 -->|defined in| d485c8b2_1460_217f_1763_fedb8e9dafc0
  8d44fcd1_7177_66a5_f569_0ccd9fd18182["getIPv6ByName()"]
  5fbe53d6_21e6_ffcb_8255_0d4c8b1c5b54 -->|method| 8d44fcd1_7177_66a5_f569_0ccd9fd18182

Relationship Graph

Source Code

microbench/src/main/java/io/netty/util/GetIpV6ByNameBenchmark.java lines 28–48

@Threads(1)
@Warmup(iterations = 3)
@Measurement(iterations = 3)
@OutputTimeUnit(TimeUnit.MICROSECONDS)
public class GetIpV6ByNameBenchmark extends AbstractMicrobenchmark {

    @Param({
        "::",
        "::1234:2345",
        "1234:2345::3456:7890",
        "fe80::bdad:7a67:6fcd:fa89",
        "fe80:bdad:7a67:6fcd::fa89",
        "1234:2345:3456:4567:5678:6789:0:7890"
    })
    private String ip;

    @Benchmark
    public byte[] getIPv6ByName() {
        return NetUtil.getIPv6ByName(ip, true);
    }
}

Frequently Asked Questions

What is the GetIpV6ByNameBenchmark class?
GetIpV6ByNameBenchmark is a class in the netty codebase, defined in microbench/src/main/java/io/netty/util/GetIpV6ByNameBenchmark.java.
Where is GetIpV6ByNameBenchmark defined?
GetIpV6ByNameBenchmark is defined in microbench/src/main/java/io/netty/util/GetIpV6ByNameBenchmark.java at line 28.

Analyze Your Own Codebase

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

Try Supermodel Free