Package org.apache.beam.sdk.jmh.util
@DefaultAnnotation(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.apache.beam.sdk.jmh.util
Benchmarks for core SDK utility classes.
-
ClassesClassDescriptionBenchmarks for
ByteStringOutputStream
.These benchmarks below provide good details as to the cost of creating a new buffer vs copying a subset of the existing one and re-using the larger one.Benchmarks forVarInt
and variants.Output toBlackhole
.Input from randomly generated bytes.Output toByteStringOutputStream
.Input from randomly generated longs.