Skip to content

Instantly share code, notes, and snippets.

@meiersi
Created November 10, 2010 20:49
Show Gist options
  • Save meiersi/671490 to your computer and use it in GitHub Desktop.
Save meiersi/671490 to your computer and use it in GitHub Desktop.
running benchmarks for 1 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 24.22919 s
collecting 100 samples, 1 iterations each, in estimated 4.534197 s
collecting 100 samples, 1 iterations each, in estimated 5.621886 s
ranking for 1 chunk size in bytes
1. compaction only: mean 3.469537 ms (2p 3.352643 ms, 98p 4.173089 ms, out 10)
2. with compaction: mean 6.508811 ms (2p 6.260396 ms, 98p 7.141438 ms, out 4)
3. direct: mean 138.4184 ms (2p 128.6385 ms, 98p 154.6016 ms, out 0)
running benchmarks for 2 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 10.06811 s
collecting 100 samples, 1 iterations each, in estimated 3.900313 s
collecting 100 samples, 1 iterations each, in estimated 3.675890 s
ranking for 2 chunk size in bytes
1. compaction only: mean 1.736237 ms (2p 1.663433 ms, 98p 1.953302 ms, out 4)
2. with compaction: mean 4.660479 ms (2p 4.447561 ms, 98p 5.361343 ms, out 6)
3. direct: mean 68.89662 ms (2p 62.29718 ms, 98p 81.30669 ms, out 0)
running benchmarks for 4 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 4.861498 s
collecting 100 samples, 1 iterations each, in estimated 2.845407 s
collecting 100 samples, 1 iterations each, in estimated 1.741409 s
ranking for 4 chunk size in bytes
1. compaction only: mean 789.6623 us (2p 746.7470 us, 98p 967.9947 us, out 7)
2. with compaction: mean 3.647519 ms (2p 3.479677 ms, 98p 3.971215 ms, out 2)
3. direct: mean 33.47351 ms (2p 30.41402 ms, 98p 43.44833 ms, out 14)
running benchmarks for 8 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 3.937602 s
collecting 100 samples, 6 iterations each, in estimated 1.930958 s
collecting 100 samples, 44 iterations each, in estimated 1.686023 s
ranking for 8 chunk size in bytes
1. compaction only: mean 384.2287 us (2p 382.4452 us, 98p 394.7367 us, out 9)
2. with compaction: mean 3.209704 ms (2p 3.074421 ms, 98p 3.449367 ms, out 3)
3. direct: mean 18.09177 ms (2p 16.60651 ms, 98p 26.28750 ms, out 9)
running benchmarks for 16 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 2.171803 s
collecting 100 samples, 6 iterations each, in estimated 1.807290 s
collecting 100 samples, 77 iterations each, in estimated 1.689072 s
ranking for 16 chunk size in bytes
1. compaction only: mean 219.2272 us (2p 218.3974 us, 98p 224.0554 us, out 6)
2. with compaction: mean 3.070231 ms (2p 2.978753 ms, 98p 3.334487 ms, out 9)
3. direct: mean 10.48067 ms (2p 9.651180 ms, 98p 17.71457 ms, out 8)
running benchmarks for 32 chunk size in bytes
collecting 100 samples, 2 iterations each, in estimated 2.015901 s
collecting 100 samples, 6 iterations each, in estimated 1.753879 s
collecting 100 samples, 128 iterations each, in estimated 1.685214 s
ranking for 32 chunk size in bytes
1. compaction only: mean 132.2497 us (2p 131.6853 us, 98p 136.9725 us, out 11)
2. with compaction: mean 3.005103 ms (2p 2.920555 ms, 98p 3.270343 ms, out 10)
3. direct: mean 6.701644 ms (2p 6.379159 ms, 98p 9.992507 ms, out 9)
running benchmarks for 64 chunk size in bytes
collecting 100 samples, 4 iterations each, in estimated 1.843500 s
collecting 100 samples, 6 iterations each, in estimated 1.738411 s
collecting 100 samples, 236 iterations each, in estimated 1.678552 s
ranking for 64 chunk size in bytes
1. compaction only: mean 71.69424 us (2p 71.00625 us, 98p 73.11007 us, out 24)
2. with compaction: mean 2.978530 ms (2p 2.887591 ms, 98p 3.227312 ms, out 10)
3. direct: mean 4.770833 ms (2p 4.572903 ms, 98p 6.357824 ms, out 12)
running benchmarks for 128 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 1.942611 s
collecting 100 samples, 6 iterations each, in estimated 1.770759 s
collecting 100 samples, 359 iterations each, in estimated 1.675937 s
ranking for 128 chunk size in bytes
1. compaction only: mean 46.94231 us (2p 46.65307 us, 98p 48.80495 us, out 11)
2. with compaction: mean 2.985641 ms (2p 2.874020 ms, 98p 3.118940 ms, out 15)
3. direct: mean 3.795970 ms (2p 3.617507 ms, 98p 4.008976 ms, out 1)
running benchmarks for 256 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 1.919985 s
collecting 100 samples, 6 iterations each, in estimated 1.789051 s
collecting 100 samples, 472 iterations each, in estimated 1.676882 s
ranking for 256 chunk size in bytes
1. compaction only: mean 35.29918 us (2p 35.17075 us, 98p 35.89321 us, out 5)
2. with compaction: mean 2.986243 ms (2p 2.961596 ms, 98p 3.025671 ms, out 2)
3. direct: mean 3.396843 ms (2p 3.343469 ms, 98p 3.497644 ms, out 5)
running benchmarks for 512 chunk size in bytes
collecting 100 samples, 6 iterations each, in estimated 1.902688 s
collecting 100 samples, 6 iterations each, in estimated 1.799083 s
collecting 100 samples, 553 iterations each, in estimated 1.674450 s
ranking for 512 chunk size in bytes
1. compaction only: mean 30.40746 us (2p 30.25039 us, 98p 31.40822 us, out 10)
2. with compaction: mean 2.988885 ms (2p 2.963736 ms, 98p 3.077213 ms, out 5)
3. direct: mean 3.179913 ms (2p 3.153106 ms, 98p 3.232493 ms, out 4)
running benchmarks for 1024 chunk size in bytes
collecting 100 samples, 6 iterations each, in estimated 1.838547 s
collecting 100 samples, 6 iterations each, in estimated 1.796329 s
collecting 100 samples, 614 iterations each, in estimated 1.674767 s
ranking for 1024 chunk size in bytes
1. compaction only: mean 27.16054 us (2p 27.00269 us, 98p 28.11425 us, out 7)
2. with compaction: mean 2.988809 ms (2p 2.963106 ms, 98p 3.035884 ms, out 6)
3. direct: mean 3.055310 ms (2p 3.029204 ms, 98p 3.086890 ms, out 2)
running benchmarks for 2048 chunk size in bytes
collecting 100 samples, 6 iterations each, in estimated 1.794362 s
collecting 100 samples, 6 iterations each, in estimated 1.799476 s
collecting 100 samples, 633 iterations each, in estimated 1.674169 s
ranking for 2048 chunk size in bytes
1. compaction only: mean 26.42569 us (2p 26.24754 us, 98p 27.47268 us, out 6)
2. with compaction: mean 2.981189 ms (2p 2.952930 ms, 98p 3.102629 ms, out 4)
3. direct: mean 2.998324 ms (2p 2.973077 ms, 98p 3.060380 ms, out 5)
running benchmarks for 4096 chunk size in bytes
collecting 100 samples, 6 iterations each, in estimated 1.779592 s
collecting 100 samples, 6 iterations each, in estimated 1.782453 s
collecting 100 samples, 1 iterations each, in estimated 1.726818 s
ranking for 4096 chunk size in bytes
1. compaction only: mean 32.13022 us (2p 24.58188 us, 98p 100.9569 us, out 4)
2. direct: mean 2.971028 ms (2p 2.942918 ms, 98p 3.028239 ms, out 5)
3. with compaction: mean 2.981144 ms (2p 2.953752 ms, 98p 3.034256 ms, out 3)
running benchmarks for 8192 chunk size in bytes
collecting 100 samples, 6 iterations each, in estimated 1.759726 s
collecting 100 samples, 6 iterations each, in estimated 1.775390 s
collecting 100 samples, 8735 iterations each, in estimated 1.673963 s
ranking for 8192 chunk size in bytes
1. compaction only: mean 1.891223 us (2p 1.882484 us, 98p 1.920384 us, out 5)
2. direct: mean 2.950404 ms (2p 2.924391 ms, 98p 3.017395 ms, out 4)
3. with compaction: mean 2.953845 ms (2p 2.927576 ms, 98p 3.024095 ms, out 4)
running benchmarks for 16384 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 2.570510 s
collecting 100 samples, 1 iterations each, in estimated 1.908779 s
collecting 100 samples, 1 iterations each, in estimated 2.502894 s
ranking for 16384 chunk size in bytes
1. compaction only: mean 6.667113 us (2p 2.647376 us, 98p 15.81762 us, out 182)
2. with compaction: mean 2.956315 ms (2p 2.896553 ms, 98p 3.091322 ms, out 7)
3. direct: mean 2.959248 ms (2p 2.897526 ms, 98p 3.075744 ms, out 7)
running benchmarks for 32768 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 2.510881 s
collecting 100 samples, 1 iterations each, in estimated 1.857209 s
collecting 100 samples, 1 iterations each, in estimated 2.426314 s
ranking for 32768 chunk size in bytes
1. compaction only: mean 6.102061 us (2p 2.408957 us, 98p 12.68003 us, out 7)
2. direct: mean 2.953492 ms (2p 2.892734 ms, 98p 3.067699 ms, out 3)
3. with compaction: mean 2.960664 ms (2p 2.907358 ms, 98p 3.097678 ms, out 7)
running benchmarks for 65536 chunk size in bytes
collecting 100 samples, 1 iterations each, in estimated 2.635884 s
collecting 100 samples, 1 iterations each, in estimated 1.864100 s
collecting 100 samples, 1 iterations each, in estimated 2.368617 s
ranking for 65536 chunk size in bytes
1. compaction only: mean 6.094908 us (2p 2.408957 us, 98p 12.42731 us, out 8)
2. with compaction: mean 2.950345 ms (2p 2.906586 ms, 98p 3.035494 ms, out 6)
3. direct: mean 2.952190 ms (2p 2.899357 ms, 98p 3.060690 ms, out 7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment