swift
8b3b1f69 - [benchmark] Option: delta encoded quantiles format

Commit
7 years ago
[benchmark] Option: delta encoded quantiles format Added `--delta` argument to print the quantiles in delta encoded format, that ommits 0s. This results in machine and human readable output that highlights modes and is easily digestible, giving you the feel for the underlying probability distribution of the samples in the reported results: ```` $ ./Benchmark_O --num-iters=1 --num-samples=20 --quantile=20 --delta 170 171 184 185 198 199 418 419 432 433 619 620 #,TEST,SAMPLES,MIN(μs),𝚫V1,𝚫V2,𝚫V3,𝚫V4,𝚫V5,𝚫V6,𝚫V7,𝚫V8,𝚫V9,𝚫VA,𝚫VB,𝚫VC,𝚫VD,𝚫VE,𝚫VF,𝚫VG,𝚫VH,𝚫VI,𝚫VJ,𝚫MAX 170,DropFirstArray,20,171,,,,,,,,,,,,,,,,,,,2,29 171,DropFirstArrayLazy,20,168,,,,,,,,,,,,,,,,,,,,8 184,DropLastArray,20,55,,,,,,,,,,,,,,,,,,,,26 185,DropLastArrayLazy,20,65,,,,,,,,,,,,,,,,,,,1,90 198,DropWhileArray,20,214,1,,,,,,,,,,,,,,,,,1,27,2 199,DropWhileArrayLazy,20,464,,,,1,,,,,,,,1,1,1,4,9,1,9,113,2903 418,PrefixArray,20,132,,,,,,,,,,,,,,,,,1,1,32,394 419,PrefixArrayLazy,20,168,,,,,,,,,,,,1,,2,9,1,15,8,88,3338 432,PrefixWhileArray,20,252,1,,,,1,,,,,,,,,,,1,,,,30 433,PrefixWhileArrayLazy,20,168,,,,,,,,,,,,,1,,6,6,14,43,28,10200 619,SuffixArray,20,68,,,,,,,,,,,,,1,,,,22,1,1,4 620,SuffixArrayLazy,20,65,,,,,,,,,,,,,,,,,,1,9,340 ````
Author
Committer
Parents
Loading