• Kirill Smelkov's avatar
    X noturbo deco timings after speeding up zlib decompression · 0ed7b1fc
    Kirill Smelkov authored
    benchstat -alpha 0.07 20180220-deco-linux4.15.4-noturbo.txt 20180221-deco-noturbo.txt
    
    name                                            old pystone/s    new pystone/s    delta
    deco/pystone                                          219k ± 2%        220k ± 1%     ~     (p=0.310 n=5+5)
    
    name                                            old time/op      new time/op      delta
    deco/sha1/py/1K                                     1.62µs ± 0%      1.83µs ± 1%  +13.15%  (p=0.008 n=5+5)
    deco/sha1/go/1K                                     1.53µs ± 0%      1.53µs ± 0%     ~     (p=0.635 n=5+4)
    deco/sha1/py/4K                                     5.78µs ± 0%      6.68µs ± 1%  +15.56%  (p=0.008 n=5+5)
    deco/sha1/go/4K                                     5.59µs ± 1%      5.59µs ± 0%     ~     (p=1.000 n=5+5)
    deco/sha1/py/2M                                     2.82ms ± 0%      3.19ms ± 0%  +13.05%  (p=0.008 n=5+5)
    deco/sha1/go/2M                                     2.77ms ± 0%      2.78ms ± 0%   +0.20%  (p=0.008 n=5+5)
    deco/disk/randread/direct/4K-min                     104µs ± 2%       104µs ± 0%     ~     (p=0.651 n=5+5)
    deco/disk/randread/direct/4K-avg                     143µs ± 0%       143µs ± 1%     ~     (p=0.317 n=5+5)
    deco/disk/randread/direct/2M-min                    5.30ms ± 4%      5.38ms ± 0%     ~     (p=0.175 n=5+4)
    deco/disk/randread/direct/2M-avg                    6.18ms ± 1%      6.19ms ± 2%     ~     (p=0.651 n=5+5)
    deco/disk/randread/pagecache/4K-min                  584ns ± 0%       576ns ± 1%   -1.37%  (p=0.016 n=5+5)
    deco/disk/randread/pagecache/4K-avg                  981ns ± 0%       974ns ± 1%     ~     (p=0.071 n=5+5)
    deco/disk/randread/pagecache/2M-min                  193µs ± 5%       196µs ± 4%     ~     (p=0.690 n=5+5)
    deco/disk/randread/pagecache/2M-avg                  211µs ± 0%       212µs ± 0%     ~     (p=0.119 n=5+5)
    
    name                                            old time/object  new time/object  delta
    deco/fs1/zhash.py                                   17.9µs ±13%      17.9µs ±14%     ~     (p=0.983 n=8+10)
    deco/fs1/zhash.py-P16                                132µs ±19%       139µs ±18%   +5.39%  (p=0.054 n=32+32)
    deco/fs1/zhash.go                                   3.00µs ± 7%      2.95µs ± 8%     ~     (p=0.307 n=10+10)
    deco/fs1/zhash.go+prefetch128                       3.54µs ±16%      3.92µs ±25%     ~     (p=0.071 n=10+10)
    deco/fs1/zhash.go-P16                               12.7µs ±64%      13.9µs ±51%     ~     (p=0.254 n=31+32)
    deco/zeo/zhash.py                                    369µs ±11%       382µs ± 1%   +3.53%  (p=0.045 n=10+6)
    deco/zeo/zhash.py-P16                               3.01ms ±12%      3.10ms ± 9%   +2.83%  (p=0.024 n=31+32)
    deco/neo/py/sqlite/zhash.py                          378µs ±13%       368µs ± 9%     ~     (p=0.436 n=10+10)
    deco/neo/py/sqlite/zhash.py-P16                     3.21ms ± 3%      3.20ms ± 3%   -0.41%  (p=0.032 n=32+32)
    deco/neo/py/sqlite/zhash.go                          235µs ±24%       177µs ± 7%  -24.82%  (p=0.063 n=10+10)
    deco/neo/py/sqlite/zhash.go+prefetch128              139µs ± 8%       129µs ± 5%   -7.03%  (p=0.003 n=10+10)
    deco/neo/py/sqlite/zhash.go-P16                     2.37ms ± 7%      2.18ms ± 6%   -8.16%  (p=0.001 n=32+32)
    deco/neo/py(!log)/sqlite/zhash.py                    355µs ±14%       349µs ± 9%     ~     (p=0.579 n=10+10)
    deco/neo/py(!log)/sqlite/zhash.py-P16               3.01ms ± 4%      3.01ms ± 4%     ~     (p=0.989 n=32+32)
    deco/neo/py(!log)/sqlite/zhash.go                    213µs ±23%       161µs ± 7%  -24.49%  (p=0.060 n=10+10)
    deco/neo/py(!log)/sqlite/zhash.go+prefetch128        123µs ± 9%       113µs ± 1%   -8.23%  (p=0.000 n=10+10)
    deco/neo/py(!log)/sqlite/zhash.go-P16               2.12ms ± 8%      1.96ms ± 3%   -7.32%  (p=0.001 n=32+32)
    deco/neo/py/sql/zhash.py                             429µs ± 8%       417µs ±11%     ~     (p=0.442 n=8+8)
    deco/neo/py/sql/zhash.py-P16                        4.57ms ± 3%      4.55ms ± 4%     ~     (p=0.257 n=32+32)
    deco/neo/py/sql/zhash.go                             281µs ±19%       227µs ± 9%  -18.94%  (p=0.063 n=10+10)
    deco/neo/py/sql/zhash.go+prefetch128                 201µs ± 7%       184µs ± 5%   -8.40%  (p=0.002 n=10+10)
    deco/neo/py/sql/zhash.go-P16                        3.34ms ± 5%      3.10ms ± 2%   -7.36%  (p=0.000 n=32+32)
    deco/neo/py(!log)/sql/zhash.py                       404µs ±14%       404µs ±10%     ~     (p=0.959 n=8+8)
    deco/neo/py(!log)/sql/zhash.py-P16                  4.34ms ± 2%      4.35ms ± 3%     ~     (p=0.763 n=32+32)
    deco/neo/py(!log)/sql/zhash.go                       261µs ±19%       209µs ±10%  -20.01%  (p=0.061 n=10+10)
    deco/neo/py(!log)/sql/zhash.go+prefetch128           180µs ± 7%       161µs ± 5%  -10.49%  (p=0.000 n=10+10)
    deco/neo/py(!log)/sql/zhash.go-P16                  3.00ms ± 6%      2.76ms ± 3%   -7.93%  (p=0.000 n=32+32)
    deco/neo/go/fs1/zhash.py                             220µs ± 2%       222µs ± 2%     ~     (p=0.219 n=9+10)
    deco/neo/go/fs1/zhash.py-P16                        2.00ms ± 7%      1.98ms ± 8%     ~     (p=0.112 n=32+32)
    deco/neo/go/fs1/zhash.go                            50.3µs ±13%      50.3µs ±13%     ~     (p=0.747 n=10+10)
    deco/neo/go/fs1/zhash.go+prefetch128                20.6µs ±23%      21.2µs ±24%     ~     (p=0.423 n=10+10)
    deco/neo/go/fs1/zhash.go-P16                         325µs ±12%       334µs ±12%     ~     (p=0.120 n=30+32)
    deco/neo/go/fs1(!sha1)/zhash.go                     39.2µs ± 3%      38.5µs ± 3%     ~     (p=0.137 n=10+10)
    deco/neo/go/fs1(!sha1)/zhash.go+prefetch128         15.3µs ±16%      15.7µs ±12%     ~     (p=0.196 n=10+10)
    deco/neo/go/fs1(!sha1)/zhash.go-P16                  270µs ±31%       262µs ±22%     ~     (p=0.245 n=32+30)
    deco/neo/go/sqlite/zhash.py                          292µs ±11%       282µs ±10%     ~     (p=0.165 n=10+10)
    deco/neo/go/sqlite/zhash.py-P16                     2.46ms ± 7%      2.45ms ± 7%     ~     (p=0.546 n=32+32)
    deco/neo/go/sqlite/zhash.go                          159µs ±28%       111µs ±15%  -30.02%  (p=0.060 n=10+10)
    deco/neo/go/sqlite/zhash.go+prefetch128             80.4µs ±34%      44.6µs ±25%  -44.51%  (p=0.001 n=10+10)
    deco/neo/go/sqlite/zhash.go-P16                     1.13ms ±41%      0.79ms ± 9%  -30.00%  (p=0.000 n=32+32)
    deco/neo/go/sqlite(!sha1)/zhash.go                   155µs ±28%       109µs ±15%  -29.98%  (p=0.061 n=10+10)
    deco/neo/go/sqlite(!sha1)/zhash.go+prefetch128      78.9µs ±36%      41.5µs ±21%  -47.34%  (p=0.000 n=10+10)
    deco/neo/go/sqlite(!sha1)/zhash.go-P16              1.14ms ±25%      0.73ms ±11%  -35.37%  (p=0.000 n=32+32)
    0ed7b1fc
20180221-deco-noturbo.txt 166 KB