RecyclableArrayListBenchmark Class — netty Architecture
Architecture documentation for the RecyclableArrayListBenchmark class in RecyclableArrayListBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD aaa8e00a_2cae_b9a8_9b32_a8f9140474fd["RecyclableArrayListBenchmark"] 7d688815_ce22_75de_b24e_09eabbbd0d47["RecyclableArrayListBenchmark.java"] aaa8e00a_2cae_b9a8_9b32_a8f9140474fd -->|defined in| 7d688815_ce22_75de_b24e_09eabbbd0d47 6e87b6c4_6823_c1d4_64b4_b1d387f2dadf["recycleSameThread()"] aaa8e00a_2cae_b9a8_9b32_a8f9140474fd -->|method| 6e87b6c4_6823_c1d4_64b4_b1d387f2dadf
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/internal/RecyclableArrayListBenchmark.java lines 30–43
@State(Scope.Benchmark)
@Threads(4)
@Measurement(iterations = 10, batchSize = 100)
public class RecyclableArrayListBenchmark extends AbstractMicrobenchmark {
@Param({ "00000", "00256", "01024", "04096", "16384", "65536" })
public int size;
@Benchmark
public boolean recycleSameThread() {
RecyclableArrayList list = RecyclableArrayList.newInstance(size);
return list.recycle();
}
}
Source
Frequently Asked Questions
What is the RecyclableArrayListBenchmark class?
RecyclableArrayListBenchmark is a class in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/internal/RecyclableArrayListBenchmark.java.
Where is RecyclableArrayListBenchmark defined?
RecyclableArrayListBenchmark is defined in microbench/src/main/java/io/netty/microbench/internal/RecyclableArrayListBenchmark.java at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free