Class ByteStringOutputStreamBenchmark.NewVsCopy

java.lang.Object
org.apache.beam.sdk.jmh.util.ByteStringOutputStreamBenchmark.NewVsCopy
Enclosing class:
ByteStringOutputStreamBenchmark

public static class ByteStringOutputStreamBenchmark.NewVsCopy extends Object
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.