Home / Function/ readByteBatch() — netty Function Reference

readByteBatch() — netty Function Reference

Architecture documentation for the readByteBatch() function in ByteBufAccessBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  32a140b8_c440_069c_4220_104a4957a91c["readByteBatch()"]
  bbe8e86b_057f_5aa0_71ed_6d8276f6f6f8["ByteBufAccessBenchmark"]
  32a140b8_c440_069c_4220_104a4957a91c -->|defined in| bbe8e86b_057f_5aa0_71ed_6d8276f6f6f8
  61df950d_7e92_6b20_f940_a350a421c201["readByte()"]
  32a140b8_c440_069c_4220_104a4957a91c -->|calls| 61df950d_7e92_6b20_f940_a350a421c201
  style 32a140b8_c440_069c_4220_104a4957a91c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/buffer/ByteBufAccessBenchmark.java lines 227–234

    @Benchmark
    public void readByteBatch(Blackhole bh) {
        ByteBuf buffer = this.buffer;
        buffer.readerIndex(0);
        for (int i = 0, size = batchSize; i < size; i++) {
            bh.consume(buffer.readByte());
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does readByteBatch() do?
readByteBatch() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/buffer/ByteBufAccessBenchmark.java.
Where is readByteBatch() defined?
readByteBatch() is defined in microbench/src/main/java/io/netty/buffer/ByteBufAccessBenchmark.java at line 227.
What does readByteBatch() call?
readByteBatch() calls 1 function(s): readByte.

Analyze Your Own Codebase

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

Try Supermodel Free