Skip to content

Commit 10d285e

Browse files
committed
Add benchmark results for when using Swift 4.1.3 compiler
1 parent 228f67a commit 10d285e

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
ByteReaderBenchmarks:
2+
testByte 0.201 2.320%
3+
testBytes 0.437 2.260%
4+
testIntFromBytes 0.279 1.994%
5+
testUint16 0.118 2.822%
6+
testUint16FromBytes 0.087 4.513%
7+
testUint32 0.063 7.008%
8+
testUint32FromBytes 0.064 5.787%
9+
testUint64 0.016 19.286%
10+
testUint64FromBytes 0.284 2.006%
11+
12+
LsbBitReaderBenchmarks:
13+
testAdvance 0.392 2.115%
14+
testBit 0.438 2.323%
15+
testBits 2.449 0.577%
16+
testByteFromBits 0.462 6.428%
17+
testIntFromBits 0.356 1.570%
18+
testUint16FromBits 0.453 2.737%
19+
testUint32FromBits 0.611 2.619%
20+
testUint64FromBits 0.430 1.103%
21+
22+
LsbBitWriterBenchmarks:
23+
testAppendByte 0.637 3.152%
24+
testWriteBit 0.667 2.684%
25+
testWriteNumberBitsCount 0.579 2.009%
26+
testWriteUnsignedNumberBitsCount 0.580 2.837%
27+
28+
MsbBitReaderBenchmarks:
29+
testAdvance 0.383 1.521%
30+
testBit 0.436 2.042%
31+
testBits 2.205 0.947%
32+
testByteFromBits 0.478 2.226%
33+
testIntFromBits 0.384 2.409%
34+
testUint16FromBits 0.466 1.501%
35+
testUint32FromBits 0.614 1.118%
36+
testUint64FromBits 0.469 1.390%
37+
38+
MsbBitWriterBenchmarks:
39+
testAppendByte 0.636 2.373%
40+
testWriteBit 0.672 2.442%
41+
testWriteNumberBitsCount 0.578 2.008%
42+
testWriteUnsignedNumberBitsCount 0.576 2.263%

0 commit comments

Comments
 (0)