Skip to content

Commit ba574b5

Browse files
committed
Update base benchmarks results to include Lsb/MsbBitReader.advance(by:)
1 parent c24ad85 commit ba574b5

1 file changed

Lines changed: 34 additions & 31 deletions

File tree

BenchmarksResults/base.txt

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,43 @@
11
ByteReaderBenchmarks:
2-
testByte 0.457 2.094%
3-
testBytes 0.397 2.203%
4-
testIntFromBytes 0.417 3.351%
5-
testUint16 0.239 3.205%
6-
testUint16FromBytes 0.206 9.280%
7-
testUint32 0.122 4.881%
8-
testUint32FromBytes 0.103 3.399%
9-
testUint64 0.029 11.959%
10-
testUint64FromBytes 0.416 1.480%
2+
testByte 0.455 2.416%
3+
testBytes 0.447 6.885%
4+
testIntFromBytes 0.417 2.067%
5+
testUint16 0.238 4.152%
6+
testUint16FromBytes 0.194 2.660%
7+
testUint32 0.124 4.177%
8+
testUint32FromBytes 0.106 3.789%
9+
testUint64 0.028 7.570%
10+
testUint64FromBytes 0.418 1.418%
1111

1212
LsbBitReaderBenchmarks:
13-
testBit 2.192 10.594%
14-
testBits 3.956 0.858%
15-
testByteFromBits 0.917 1.045%
16-
testIntFromBits 0.679 1.361%
17-
testUint16FromBits 0.821 1.885%
18-
testUint32FromBits 0.993 2.142%
19-
testUint64FromBits 0.709 1.185%
13+
testAdvance 0.571 1.137%
14+
testBit 2.075 1.810%
15+
testBits 4.233 2.555%
16+
testByteFromBits 0.929 1.331%
17+
testIntFromBits 0.697 2.453%
18+
testUint16FromBits 0.822 1.041%
19+
testUint32FromBits 1.075 9.265%
20+
testUint64FromBits 0.696 1.724%
2021

2122
LsbBitWriterBenchmarks:
22-
testAppendByte 1.114 4.319%
23-
testWriteBit 1.243 1.516%
24-
testWriteNumberBitsCount 1.071 1.721%
25-
testWriteUnsignedNumberBitsCount 1.052 1.330%
23+
testAppendByte 1.091 1.353%
24+
testWriteBit 1.154 1.190%
25+
testWriteNumberBitsCount 1.119 3.194%
26+
testWriteUnsignedNumberBitsCount 1.113 2.867%
2627

2728
MsbBitReaderBenchmarks:
28-
testBit 2.088 2.183%
29-
testBits 3.952 0.516%
30-
testByteFromBits 0.944 1.012%
31-
testIntFromBits 0.689 1.355%
32-
testUint16FromBits 0.835 1.000%
33-
testUint32FromBits 1.011 0.947%
34-
testUint64FromBits 0.722 2.311%
29+
testAdvance 0.576 8.878%
30+
testBit 2.202 3.069%
31+
testBits 4.187 0.826%
32+
testByteFromBits 0.938 1.439%
33+
testIntFromBits 0.700 7.516%
34+
testUint16FromBits 0.835 1.054%
35+
testUint32FromBits 1.020 1.437%
36+
testUint64FromBits 0.733 4.752%
3537

3638
MsbBitWriterBenchmarks:
37-
testAppendByte 1.364 11.587%
38-
testWriteBit 1.301 1.769%
39-
testWriteNumberBitsCount 1.050 3.337%
40-
testWriteUnsignedNumberBitsCount 1.108 1.304%
39+
testAppendByte 1.141 1.387%
40+
testWriteBit 1.180 3.333%
41+
testWriteNumberBitsCount 1.028 1.278%
42+
testWriteUnsignedNumberBitsCount 0.949 2.014%
43+

0 commit comments

Comments
 (0)