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.IOException
public void encodeDoLoopByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void encodeDoLoopTwiddleBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOException
public void encodeDoLoopTwiddleByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void encodeLoopBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOException
public void encodeLoopByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void encodeUnrolledBlackhole(VarIntBenchmark.Longs input, VarIntBenchmark.BlackholeOutput output) throws java.io.IOException
java.io.IOException
public void encodeUnrolledByteString(VarIntBenchmark.Longs input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void singleByteEncodeDoLoopByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void singleByteEncodeDoLoopTwiddleByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void singleByteEncodeLoopByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException
public void singleByteEncodeUnrolledByteString(VarIntBenchmark.Bytes input, VarIntBenchmark.ByteStringOutput output) throws java.io.IOException
java.io.IOException