DefaultChannelIdBenchmark Class — netty Architecture
Architecture documentation for the DefaultChannelIdBenchmark class in DefaultChannelIdBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a6f95809_71db_3e13_299f_d896b3b1778b["DefaultChannelIdBenchmark"] 20efcf64_9c50_8035_faf5_ec99837ff6fd["DefaultChannelIdBenchmark.java"] a6f95809_71db_3e13_299f_d896b3b1778b -->|defined in| 20efcf64_9c50_8035_faf5_ec99837ff6fd 88541735_27a1_2869_ad3c_95ae33aee87f["setup()"] a6f95809_71db_3e13_299f_d896b3b1778b -->|method| 88541735_27a1_2869_ad3c_95ae33aee87f fa506b29_d4c7_887a_2e19_e6fc41c899a0["DefaultChannelId()"] a6f95809_71db_3e13_299f_d896b3b1778b -->|method| fa506b29_d4c7_887a_2e19_e6fc41c899a0
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/channel/DefaultChannelIdBenchmark.java lines 36–57
@State(Scope.Benchmark)
@BenchmarkMode(Mode.Throughput)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@Fork(2)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 8, time = 1)
public class DefaultChannelIdBenchmark extends AbstractMicrobenchmark {
@Param({ "false", "true" })
private boolean noUnsafe;
@Setup(Level.Trial)
public void setup() {
System.setProperty("io.netty.noUnsafe", Boolean.valueOf(noUnsafe).toString());
}
@Benchmark
public DefaultChannelId newInstance() {
return DefaultChannelId.newInstance();
}
}
Source
Frequently Asked Questions
What is the DefaultChannelIdBenchmark class?
DefaultChannelIdBenchmark is a class in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/channel/DefaultChannelIdBenchmark.java.
Where is DefaultChannelIdBenchmark defined?
DefaultChannelIdBenchmark is defined in microbench/src/main/java/io/netty/microbench/channel/DefaultChannelIdBenchmark.java at line 36.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free