Home / Function/ propagateVariety() — netty Function Reference

propagateVariety() — netty Function Reference

Architecture documentation for the propagateVariety() function in DefaultChannelPipelineBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  27034ad1_b163_cfcd_bb57_b192f2503757["propagateVariety()"]
  6afe5926_1391_e903_2338_a5e7f541f1f3["DefaultChannelPipelineBenchmark"]
  27034ad1_b163_cfcd_bb57_b192f2503757 -->|defined in| 6afe5926_1391_e903_2338_a5e7f541f1f3
  style 27034ad1_b163_cfcd_bb57_b192f2503757 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/channel/DefaultChannelPipelineBenchmark.java lines 351–369

    @OperationsPerInvocation(12)
    @CompilerControl(CompilerControl.Mode.DONT_INLINE)
    @Benchmark()
    public void propagateVariety(Blackhole hole) {
        int index = pipelineCounter++ & pipelineArrayMask;
        ChannelPipeline pipeline = pipelines[index];
        hole.consume(pipeline.fireChannelActive());             // 1
        hole.consume(pipeline.fireChannelRead(MESSAGE));        // 2
        hole.consume(pipeline.fireChannelRead(MESSAGE));        // 3
        hole.consume(pipeline.write(MESSAGE, promises[index])); // 4
        hole.consume(pipeline.fireChannelRead(MESSAGE));        // 5
        hole.consume(pipeline.fireChannelRead(MESSAGE));        // 6
        hole.consume(pipeline.write(MESSAGE, promises[index])); // 7
        hole.consume(pipeline.fireChannelReadComplete());       // 8
        hole.consume(pipeline.fireUserEventTriggered(MESSAGE)); // 9
        hole.consume(pipeline.fireChannelWritabilityChanged()); // 10
        hole.consume(pipeline.flush());                         // 11
        hole.consume(pipeline.fireChannelInactive());           // 12
    }

Domain

Subdomains

Frequently Asked Questions

What does propagateVariety() do?
propagateVariety() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/channel/DefaultChannelPipelineBenchmark.java.
Where is propagateVariety() defined?
propagateVariety() is defined in microbench/src/main/java/io/netty/microbench/channel/DefaultChannelPipelineBenchmark.java at line 351.

Analyze Your Own Codebase

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

Try Supermodel Free