AllocationMetrics Class — netty Architecture
Architecture documentation for the AllocationMetrics class in SnappyDirectBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD def140a7_f540_bce0_514f_1d31ef3b2a73["AllocationMetrics"] 98a302fa_94d0_d92a_c78c_4b4b364ab65d["SnappyDirectBenchmark.java"] def140a7_f540_bce0_514f_1d31ef3b2a73 -->|defined in| 98a302fa_94d0_d92a_c78c_4b4b364ab65d add23aa8_5586_056a_845a_672458e39fc8["compressedRatio()"] def140a7_f540_bce0_514f_1d31ef3b2a73 -->|method| add23aa8_5586_056a_845a_672458e39fc8
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/snappy/SnappyDirectBenchmark.java lines 58–68
@AuxCounters(value = Type.OPERATIONS)
@State(Scope.Thread)
public static class AllocationMetrics {
private long inputSize;
private long outputSize;
public long compressedRatio() {
return inputSize / outputSize;
}
}
Source
Frequently Asked Questions
What is the AllocationMetrics class?
AllocationMetrics is a class in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/snappy/SnappyDirectBenchmark.java.
Where is AllocationMetrics defined?
AllocationMetrics is defined in microbench/src/main/java/io/netty/microbench/snappy/SnappyDirectBenchmark.java at line 58.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free