m1a2st commented on code in PR #17409: URL: https://github.com/apache/kafka/pull/17409#discussion_r1803241474
########## jmh-benchmarks/src/main/java/org/apache/kafka/jmh/util/ByteUtilsBenchmark.java: ########## @@ -41,17 +41,17 @@ import java.security.SecureRandom; import java.util.concurrent.TimeUnit; -@OutputTimeUnit(TimeUnit.SECONDS) -@Fork(3) -@Warmup(iterations = 3, time = 1) -@Measurement(iterations = 5, time = 1) /** * 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. */ +@OutputTimeUnit(TimeUnit.SECONDS) +@Fork(3) +@Warmup(iterations = 3, time = 1) +@Measurement(iterations = 5, time = 1) Review Comment: This change is used to resolve the `[dangling-doc-comments] documentation comment is not attached to any declaration` error -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
