public class ByteStringOutputStreamBenchmark
extends java.lang.Object
ByteStringOutputStream
.Modifier and Type | Class and Description |
---|---|
static class |
ByteStringOutputStreamBenchmark.NewVsCopy
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.
|
static class |
ByteStringOutputStreamBenchmark.ProtobufByteStringOutputStream |
static class |
ByteStringOutputStreamBenchmark.SdkCoreByteStringOutputStream |
Constructor and Description |
---|
ByteStringOutputStreamBenchmark() |
public void testSdkCoreByteStringOutputStreamManyMixedWritesWithoutReuse() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamFewMixedWritesWithoutReuse() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamManyMixedWritesWithoutReuse() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamFewMixedWritesWithoutReuse() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamManyTinyWrites() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamManySmallWrites() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamManyLargeWrites() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamFewTinyWrites() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamFewSmallWrites() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamFewLargeWrites() throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamManyMixedWritesWithReuse(ByteStringOutputStreamBenchmark.ProtobufByteStringOutputStream state) throws java.lang.Exception
java.lang.Exception
public void testProtobufByteStringOutputStreamFewMixedWritesWithReuse(ByteStringOutputStreamBenchmark.ProtobufByteStringOutputStream state) throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamManyTinyWrites() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamManySmallWrites() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamManyLargeWrites() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamFewTinyWrites() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamFewSmallWrites() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamFewLargeWrites() throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamManyMixedWritesWithReuse(ByteStringOutputStreamBenchmark.SdkCoreByteStringOutputStream state) throws java.lang.Exception
java.lang.Exception
public void testSdkCoreByteStringOutputStreamFewMixedWritesWithReuse(ByteStringOutputStreamBenchmark.SdkCoreByteStringOutputStream state) throws java.lang.Exception
java.lang.Exception