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.Exceptionpublic void testSdkCoreByteStringOutputStreamFewMixedWritesWithoutReuse()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamManyMixedWritesWithoutReuse()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamFewMixedWritesWithoutReuse()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamManyTinyWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamManySmallWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamManyLargeWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamFewTinyWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamFewSmallWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamFewLargeWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamManyMixedWritesWithReuse(ByteStringOutputStreamBenchmark.ProtobufByteStringOutputStream state) throws java.lang.Exception
java.lang.Exceptionpublic void testProtobufByteStringOutputStreamFewMixedWritesWithReuse(ByteStringOutputStreamBenchmark.ProtobufByteStringOutputStream state) throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamManyTinyWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamManySmallWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamManyLargeWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamFewTinyWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamFewSmallWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamFewLargeWrites()
throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamManyMixedWritesWithReuse(ByteStringOutputStreamBenchmark.SdkCoreByteStringOutputStream state) throws java.lang.Exception
java.lang.Exceptionpublic void testSdkCoreByteStringOutputStreamFewMixedWritesWithReuse(ByteStringOutputStreamBenchmark.SdkCoreByteStringOutputStream state) throws java.lang.Exception
java.lang.Exception