|
Ran
|
Files
36
|
Run time
8s
|
Badge
README BADGES
|
push
travis-ci
Use pointers instead of binary encoding (#965) The change improves encoding/decoding performance by **4X**. See https://gist.github.com/jarifibrahim/30237927ff3a4b200d4907c97bd93f41 for benchmark code. ``` name time/op EncodingSingle/Binary-16 4.02ns ± 1% EncodingSingle/Slice-16 0.83ns ± 0% Encodingu32Slice/Binary-16 9.52µs ± 1% Encodingu32Slice/Slice-16 0.95ns ± 0% ``` The change also improves the performance of existing benchmarks. ``` name old time/op new time/op delta Read-16 153ms ± 1% 145ms ± 1% -5.09% (p=0.008 n=5+5) ReadAndBuild-16 1.01s ± 1% 0.97s ± 3% -4.04% (p=0.008 n=5+5) ReadMerged-16 980ms ± 1% 980ms ± 1% ~ (p=1.000 n=5+5) RandomRead-16 2.73µs ± 0% 2.65µs ± 1% -2.73% (p=0.008 n=5+5) ``` Inspired by https://github.com/coocood/badger/commit/0b03ef08d
5900 of 7489 relevant lines covered (78.78%)
76842.29 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|