Skip to content

Commit 662e375

Browse files
committed
Add results of benchmarking on my computer (Macbook Pro, Late 2011) for reference purposes
1 parent 4821090 commit 662e375

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

BenchmarksResults/base.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
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%
11+
12+
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%
20+
21+
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%
26+
27+
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%
35+
36+
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%

0 commit comments

Comments
 (0)