@Setup(Level.Invocation)
        public void setUpInvocationBuffer() {
            testBuffer = ByteBuffer.allocate(10);
        }
This benchmark calculates the empirical evidence of different implementation for encoding/decoding a protobuf
<a href="https://protobuf.dev/programming-guides/encoding/#varints">VarInt</a> and VarLong.

The benchmark uses JMH and calculates results for different sizes of variable length integer. We expect most of the
usage in Kafka code base to be 1 or 2 byte integers.
jmh-benchmarks/src/main/java/org/apache/kafka/jmh/util/ByteUtilsBenchmark.java