public class VarIntBenchmark
extends java.lang.Object
VarInt and variants.| Modifier and Type | Class and Description |
|---|---|
static class |
VarIntBenchmark.BlackholeOutput
Output to
Blackhole. |
static class |
VarIntBenchmark.Bytes
Input from randomly generated bytes.
|
static class |
VarIntBenchmark.ByteStringOutput
Output to
ByteStringOutputStream. |
static class |
VarIntBenchmark.Longs
Input from randomly generated longs.
|
| Constructor and Description |
|---|
VarIntBenchmark() |
public void encodeDoLoopBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeDoLoopByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeDoLoopTwiddleBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeDoLoopTwiddleByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeLoopBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeLoopByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeUnrolledBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOExceptionpublic void encodeUnrolledByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void singleByteEncodeDoLoopByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void singleByteEncodeDoLoopTwiddleByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void singleByteEncodeLoopByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOExceptionpublic void singleByteEncodeUnrolledByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException