Skip to content

Instantly share code, notes, and snippets.

@electrum
Created September 2, 2011 18:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save electrum/1189414 to your computer and use it in GitHub Desktop.
Save electrum/1189414 to your computer and use it in GitHub Desktop.
snappy-1.0.3 benchmarks
Running microbenchmarks.
WARNING: Compiled with assertions enabled, will be slow.
Benchmark Time(ns) CPU(ns) Iterations
---------------------------------------------------
BM_UFlat/0 66408 66404 2856 1.4GB/s html
BM_UFlat/1 715414 715374 270 936.0MB/s urls
BM_UFlat/2 6901 6901 28368 17.1GB/s jpg
BM_UFlat/3 23015 23014 8071 3.8GB/s pdf
BM_UFlat/4 270188 270209 710 1.4GB/s html4
BM_UFlat/5 25094 25089 7388 935.2MB/s cp
BM_UFlat/6 11147 11148 18214 953.8MB/s c
BM_UFlat/7 3515 3515 54794 1009.5MB/s lsp
BM_UFlat/8 1246811 1246704 159 787.7MB/s xls
BM_UFlat/9 229246 229266 851 632.6MB/s txt1
BM_UFlat/10 199210 199230 1030 599.2MB/s txt2
BM_UFlat/11 607598 607562 334 669.9MB/s txt3
BM_UFlat/12 839448 839485 241 547.4MB/s txt4
BM_UFlat/13 341699 341678 576 1.4GB/s bin
BM_UFlat/14 45464 45461 4316 802.2MB/s sum
BM_UFlat/15 4803 4803 40000 839.3MB/s man
BM_UFlat/16 67526 67521 2867 1.6GB/s pb
BM_UFlat/17 234147 234167 836 750.7MB/s gaviota
BM_UValidate/0 45444 45441 4308 2.1GB/s html
BM_UValidate/1 532369 532329 376 1.2GB/s urls
BM_UValidate/2 267 267 740740 442.5GB/s jpg
BM_UValidate/3 15738 15737 12461 5.6GB/s pdf
BM_UValidate/4 183606 183595 1078 2.1GB/s html4
BM_ZFlat/0 252567 252550 786 386.7MB/s html (23.57 %)
BM_ZFlat/1 2988780 2988550 100 224.0MB/s urls (50.89 %)
BM_ZFlat/2 39968 39965 4869 3.0GB/s jpg (99.88 %)
BM_ZFlat/3 112487 112496 1771 799.7MB/s pdf (82.13 %)
BM_ZFlat/4 1012808 1012792 198 385.7MB/s html4 (23.55 %)
BM_ZFlat/5 108971 108939 1846 215.4MB/s cp (48.12 %)
BM_ZFlat/6 46391 46388 4021 229.2MB/s c (42.40 %)
BM_ZFlat/7 11006 11006 15772 322.4MB/s lsp (48.37 %)
BM_ZFlat/8 2716050 2715840 100 361.6MB/s xls (41.34 %)
BM_ZFlat/9 986251 986187 203 147.1MB/s txt1 (59.81 %)
BM_ZFlat/10 842143 842097 237 141.8MB/s txt2 (64.07 %)
BM_ZFlat/11 2597430 2597560 100 156.7MB/s txt3 (57.11 %)
BM_ZFlat/12 3344940 3344750 100 137.4MB/s txt4 (68.35 %)
BM_ZFlat/13 924163 924107 214 529.6MB/s bin (18.21 %)
BM_ZFlat/14 172374 172392 1164 211.5MB/s sum (51.88 %)
BM_ZFlat/15 15591 15591 11235 258.6MB/s man (59.36 %)
BM_ZFlat/16 242800 242785 842 465.8MB/s pb (23.15 %)
BM_ZFlat/17 802308 802256 250 219.1MB/s gaviota (38.27 %)
Running microbenchmarks.
Benchmark Time(ns) CPU(ns) Iterations
---------------------------------------------------
BM_UFlat/0 65567 65506 2901 1.5GB/s html
BM_UFlat/1 731895 731817 268 914.9MB/s urls
BM_UFlat/2 6859 6859 29411 17.2GB/s jpg
BM_UFlat/3 22526 22525 8665 3.9GB/s pdf
BM_UFlat/4 273584 273567 714 1.4GB/s html4
BM_UFlat/5 24345 24344 7668 963.8MB/s cp
BM_UFlat/6 11272 11272 16963 943.4MB/s c
BM_UFlat/7 3544 3543 52631 1001.3MB/s lsp
BM_UFlat/8 1298629 1298538 154 756.3MB/s xls
BM_UFlat/9 234859 234845 853 617.6MB/s txt1
BM_UFlat/10 206071 206059 954 579.3MB/s txt2
BM_UFlat/11 630825 630780 315 645.2MB/s txt3
BM_UFlat/12 858974 859060 231 534.9MB/s txt4
BM_UFlat/13 346940 346919 570 1.4GB/s bin
BM_UFlat/14 45332 45329 4405 804.5MB/s sum
BM_UFlat/15 4716 4717 40000 854.6MB/s man
BM_UFlat/16 64373 64369 2980 1.7GB/s pb
BM_UFlat/17 239372 239396 848 734.3MB/s gaviota
BM_UValidate/0 44617 44622 4345 2.1GB/s html
BM_UValidate/1 518882 518851 391 1.3GB/s urls
BM_UValidate/2 264 264 714285 446.8GB/s jpg
BM_UValidate/3 15496 15496 13037 5.7GB/s pdf
BM_UValidate/4 180451 180442 1135 2.1GB/s html4
BM_ZFlat/0 143768 143760 1320 679.3MB/s html (23.57 %)
BM_ZFlat/1 1869962 1869830 106 358.1MB/s urls (50.89 %)
BM_ZFlat/2 28914 28912 7069 4.1GB/s jpg (99.88 %)
BM_ZFlat/3 63706 63703 2965 1.4GB/s pdf (82.13 %)
BM_ZFlat/4 596805 596862 334 654.5MB/s html4 (23.55 %)
BM_ZFlat/5 60495 60492 3124 387.9MB/s cp (48.12 %)
BM_ZFlat/6 21820 21817 8016 487.4MB/s c (42.40 %)
BM_ZFlat/7 7253 7252 26350 489.3MB/s lsp (48.37 %)
BM_ZFlat/8 1790954 1791118 110 548.3MB/s xls (41.34 %)
BM_ZFlat/9 576149 576114 348 251.8MB/s txt1 (59.81 %)
BM_ZFlat/10 500901 500954 397 238.3MB/s txt2 (64.07 %)
BM_ZFlat/11 1537850 1537700 127 264.7MB/s txt3 (57.11 %)
BM_ZFlat/12 2109620 2109230 100 217.9MB/s txt4 (68.35 %)
BM_ZFlat/13 555314 555364 359 881.3MB/s bin (18.21 %)
BM_ZFlat/14 104657 104647 1899 348.5MB/s sum (51.88 %)
BM_ZFlat/15 9747 9746 19267 413.6MB/s man (59.36 %)
BM_ZFlat/16 143199 143189 1340 789.8MB/s pb (23.15 %)
BM_ZFlat/17 459360 459334 427 382.7MB/s gaviota (38.27 %)
Running microbenchmarks.
Benchmark Time(ns) CPU(ns) Iterations
---------------------------------------------------
BM_UFlat/0 62683 62678 3087 1.5GB/s html
BM_UFlat/1 718978 718884 277 931.4MB/s urls
BM_UFlat/2 6956 6956 28776 17.0GB/s jpg
BM_UFlat/3 21639 21637 8714 4.1GB/s pdf
BM_UFlat/4 268273 268300 756 1.4GB/s html4
BM_UFlat/5 23758 23757 7861 987.6MB/s cp
BM_UFlat/6 11173 11173 17167 951.7MB/s c
BM_UFlat/7 3535 3534 54794 1003.9MB/s lsp
BM_UFlat/8 1268320 1268217 156 774.3MB/s xls
BM_UFlat/9 230939 230921 849 628.1MB/s txt1
BM_UFlat/10 202932 202917 975 588.3MB/s txt2
BM_UFlat/11 616106 616062 320 660.6MB/s txt3
BM_UFlat/12 847625 847541 240 542.2MB/s txt4
BM_UFlat/13 339042 339017 585 1.4GB/s bin
BM_UFlat/14 43904 43901 4411 830.7MB/s sum
BM_UFlat/15 4791 4792 39840 841.2MB/s man
BM_UFlat/16 61741 61737 3170 1.8GB/s pb
BM_UFlat/17 234393 234413 861 749.9MB/s gaviota
BM_UValidate/0 44549 44547 4349 2.1GB/s html
BM_UValidate/1 516955 516924 385 1.3GB/s urls
BM_UValidate/2 262 262 666666 451.0GB/s jpg
BM_UValidate/3 15757 15758 13253 5.6GB/s pdf
BM_UValidate/4 181768 181755 1105 2.1GB/s html4
BM_ZFlat/0 148064 148079 1328 659.5MB/s html (23.57 %)
BM_ZFlat/1 1906428 1906266 105 351.2MB/s urls (50.89 %)
BM_ZFlat/2 29343 29346 6752 4.0GB/s jpg (99.88 %)
BM_ZFlat/3 64294 64290 2987 1.4GB/s pdf (82.13 %)
BM_ZFlat/4 611950 611910 324 638.4MB/s html4 (23.55 %)
BM_ZFlat/5 61101 61097 3077 384.0MB/s cp (48.12 %)
BM_ZFlat/6 22421 22420 8230 474.3MB/s c (42.40 %)
BM_ZFlat/7 7190 7190 25740 493.5MB/s lsp (48.37 %)
BM_ZFlat/8 1822072 1821954 110 539.0MB/s xls (41.34 %)
BM_ZFlat/9 587820 587787 339 246.8MB/s txt1 (59.81 %)
BM_ZFlat/10 511818 511875 386 233.2MB/s txt2 (64.07 %)
BM_ZFlat/11 1568511 1568409 127 259.5MB/s txt3 (57.11 %)
BM_ZFlat/12 2117430 2117300 100 217.0MB/s txt4 (68.35 %)
BM_ZFlat/13 565058 565022 359 866.2MB/s bin (18.21 %)
BM_ZFlat/14 104602 104594 1832 348.7MB/s sum (51.88 %)
BM_ZFlat/15 9840 9840 17730 409.7MB/s man (59.36 %)
BM_ZFlat/16 142796 142785 1349 792.1MB/s pb (23.15 %)
BM_ZFlat/17 461476 461451 430 380.9MB/s gaviota (38.27 %)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment