Skip to content

Instantly share code, notes, and snippets.

@steveyen
Created January 12, 2015 19:54
Show Gist options
  • Save steveyen/a67d747caae3de7ac9ab to your computer and use it in GitHub Desktop.
Save steveyen/a67d747caae3de7ac9ab to your computer and use it in GitHub Desktop.
Steves-MacBook-Pro:upside_down steveyen$ go test -bench=. -tags 'forestdb leveldb' -test.cpu=1,2,4
PASS
BenchmarkBoltDBIndexing1Workers 2000 1706871 ns/op
BenchmarkBoltDBIndexing1Workers-2 2000 1655773 ns/op
BenchmarkBoltDBIndexing1Workers-4 2000 1585455 ns/op
BenchmarkBoltDBIndexing2Workers 2000 1838335 ns/op
BenchmarkBoltDBIndexing2Workers-2 2000 1973725 ns/op
BenchmarkBoltDBIndexing2Workers-4 2000 1736743 ns/op
BenchmarkBoltDBIndexing4Workers 2000 1938127 ns/op
BenchmarkBoltDBIndexing4Workers-2 2000 1823462 ns/op
BenchmarkBoltDBIndexing4Workers-4 2000 1981701 ns/op
BenchmarkBoltDBIndexing1Workers10Batch 2 889245674 ns/op
BenchmarkBoltDBIndexing1Workers10Batch-2 2 819401932 ns/op
BenchmarkBoltDBIndexing1Workers10Batch-4 2 728944568 ns/op
BenchmarkBoltDBIndexing2Workers10Batch 2 855316950 ns/op
BenchmarkBoltDBIndexing2Workers10Batch-2 2 740716435 ns/op
BenchmarkBoltDBIndexing2Workers10Batch-4 2 666402014 ns/op
BenchmarkBoltDBIndexing4Workers10Batch 2 877863106 ns/op
BenchmarkBoltDBIndexing4Workers10Batch-2 2 735869652 ns/op
BenchmarkBoltDBIndexing4Workers10Batch-4 2 635978730 ns/op
BenchmarkBoltDBIndexing1Workers100Batch 5 335640599 ns/op
BenchmarkBoltDBIndexing1Workers100Batch-2 5 286060191 ns/op
BenchmarkBoltDBIndexing1Workers100Batch-4 5 270002942 ns/op
BenchmarkBoltDBIndexing2Workers100Batch 5 332098815 ns/op
BenchmarkBoltDBIndexing2Workers100Batch-2 5 237959714 ns/op
BenchmarkBoltDBIndexing2Workers100Batch-4 5 221036970 ns/op
BenchmarkBoltDBIndexing4Workers100Batch 5 326920055 ns/op
BenchmarkBoltDBIndexing4Workers100Batch-2 5 240343779 ns/op
BenchmarkBoltDBIndexing4Workers100Batch-4 10 207265500 ns/op
BenchmarkForestDBIndexing1Workers 3000 659551 ns/op
BenchmarkForestDBIndexing1Workers-2 3000 616848 ns/op
BenchmarkForestDBIndexing1Workers-4 3000 570399 ns/op
BenchmarkForestDBIndexing2Workers 3000 654969 ns/op
BenchmarkForestDBIndexing2Workers-2 3000 618159 ns/op
BenchmarkForestDBIndexing2Workers-4 3000 581861 ns/op
BenchmarkForestDBIndexing4Workers 3000 705596 ns/op
BenchmarkForestDBIndexing4Workers-2 3000 605420 ns/op
BenchmarkForestDBIndexing4Workers-4 3000 578779 ns/op
BenchmarkForestDBIndexing1Workers10Batch 2 607557982 ns/op
BenchmarkForestDBIndexing1Workers10Batch-2 2 535587745 ns/op
BenchmarkForestDBIndexing1Workers10Batch-4 3 515458189 ns/op
BenchmarkForestDBIndexing2Workers10Batch 2 576581912 ns/op
BenchmarkForestDBIndexing2Workers10Batch-2 3 496205916 ns/op
BenchmarkForestDBIndexing2Workers10Batch-4 3 463093597 ns/op
BenchmarkForestDBIndexing4Workers10Batch 2 579408644 ns/op
BenchmarkForestDBIndexing4Workers10Batch-2 3 501174596 ns/op
BenchmarkForestDBIndexing4Workers10Batch-4 3 453709695 ns/op
BenchmarkForestDBIndexing1Workers100Batch 3 474038176 ns/op
BenchmarkForestDBIndexing1Workers100Batch-2 3 438418391 ns/op
BenchmarkForestDBIndexing1Workers100Batch-4 3 421494444 ns/op
BenchmarkForestDBIndexing2Workers100Batch 3 466688273 ns/op
BenchmarkForestDBIndexing2Workers100Batch-2 3 394036800 ns/op
BenchmarkForestDBIndexing2Workers100Batch-4 3 370930673 ns/op
BenchmarkForestDBIndexing4Workers100Batch 3 474354109 ns/op
BenchmarkForestDBIndexing4Workers100Batch-2 3 390994920 ns/op
BenchmarkForestDBIndexing4Workers100Batch-4 3 356570261 ns/op
BenchmarkGTreapIndexing1Workers 3000 660535 ns/op
BenchmarkGTreapIndexing1Workers-2 5000 712650 ns/op
BenchmarkGTreapIndexing1Workers-4 5000 466214 ns/op
BenchmarkGTreapIndexing2Workers 3000 793926 ns/op
BenchmarkGTreapIndexing2Workers-2 5000 622164 ns/op
BenchmarkGTreapIndexing2Workers-4 5000 481434 ns/op
BenchmarkGTreapIndexing4Workers 3000 749742 ns/op
BenchmarkGTreapIndexing4Workers-2 5000 593847 ns/op
BenchmarkGTreapIndexing4Workers-4 5000 545489 ns/op
BenchmarkGTreapIndexing1Workers10Batch 3 405513686 ns/op
BenchmarkGTreapIndexing1Workers10Batch-2 5 320567154 ns/op
BenchmarkGTreapIndexing1Workers10Batch-4 3 402346701 ns/op
BenchmarkGTreapIndexing2Workers10Batch 2 510336215 ns/op
BenchmarkGTreapIndexing2Workers10Batch-2 5 292800448 ns/op
BenchmarkGTreapIndexing2Workers10Batch-4 5 276334542 ns/op
BenchmarkGTreapIndexing4Workers10Batch 3 437263899 ns/op
BenchmarkGTreapIndexing4Workers10Batch-2 5 305751616 ns/op
BenchmarkGTreapIndexing4Workers10Batch-4 5 278093298 ns/op
BenchmarkGTreapIndexing1Workers100Batch 3 400755504 ns/op
BenchmarkGTreapIndexing1Workers100Batch-2 3 346857116 ns/op
BenchmarkGTreapIndexing1Workers100Batch-4 5 295317882 ns/op
BenchmarkGTreapIndexing2Workers100Batch 3 358624621 ns/op
BenchmarkGTreapIndexing2Workers100Batch-2 5 260196567 ns/op
BenchmarkGTreapIndexing2Workers100Batch-4 5 233208645 ns/op
BenchmarkGTreapIndexing4Workers100Batch 3 379694353 ns/op
BenchmarkGTreapIndexing4Workers100Batch-2 5 244567152 ns/op
BenchmarkGTreapIndexing4Workers100Batch-4 10 200500306 ns/op
BenchmarkInMemIndexing1Workers 5000 292271 ns/op
BenchmarkInMemIndexing1Workers-2 5000 262283 ns/op
BenchmarkInMemIndexing1Workers-4 5000 250630 ns/op
BenchmarkInMemIndexing2Workers 5000 299613 ns/op
BenchmarkInMemIndexing2Workers-2 5000 256708 ns/op
BenchmarkInMemIndexing2Workers-4 5000 239461 ns/op
BenchmarkInMemIndexing4Workers 5000 312138 ns/op
BenchmarkInMemIndexing4Workers-2 5000 250633 ns/op
BenchmarkInMemIndexing4Workers-4 5000 245027 ns/op
BenchmarkInMemIndexing1Workers10Batch 3 356057660 ns/op
BenchmarkInMemIndexing1Workers10Batch-2 5 364082140 ns/op
BenchmarkInMemIndexing1Workers10Batch-4 3 349118525 ns/op
BenchmarkInMemIndexing2Workers10Batch 3 397460444 ns/op
BenchmarkInMemIndexing2Workers10Batch-2 5 306967383 ns/op
BenchmarkInMemIndexing2Workers10Batch-4 5 254736699 ns/op
BenchmarkInMemIndexing4Workers10Batch 3 362833201 ns/op
BenchmarkInMemIndexing4Workers10Batch-2 5 284968858 ns/op
BenchmarkInMemIndexing4Workers10Batch-4 5 229673303 ns/op
BenchmarkInMemIndexing1Workers100Batch 5 297317949 ns/op
BenchmarkInMemIndexing1Workers100Batch-2 5 242358459 ns/op
BenchmarkInMemIndexing1Workers100Batch-4 5 225233792 ns/op
BenchmarkInMemIndexing2Workers100Batch 5 291408768 ns/op
BenchmarkInMemIndexing2Workers100Batch-2 10 213415706 ns/op
BenchmarkInMemIndexing2Workers100Batch-4 10 185578396 ns/op
BenchmarkInMemIndexing4Workers100Batch 5 316035242 ns/op
BenchmarkInMemIndexing4Workers100Batch-2 5 283114661 ns/op
BenchmarkInMemIndexing4Workers100Batch-4 10 169370407 ns/op
BenchmarkLevelDBIndexing1Workers 2000 635310 ns/op
BenchmarkLevelDBIndexing1Workers-2 3000 550995 ns/op
BenchmarkLevelDBIndexing1Workers-4 3000 479617 ns/op
BenchmarkLevelDBIndexing2Workers 3000 653455 ns/op
BenchmarkLevelDBIndexing2Workers-2 3000 545987 ns/op
BenchmarkLevelDBIndexing2Workers-4 3000 495412 ns/op
BenchmarkLevelDBIndexing4Workers 3000 641480 ns/op
BenchmarkLevelDBIndexing4Workers-2 3000 530834 ns/op
BenchmarkLevelDBIndexing4Workers-4 3000 478551 ns/op
BenchmarkLevelDBIndexing1Workers10Batch 2 611155362 ns/op
BenchmarkLevelDBIndexing1Workers10Batch-2 3 450088814 ns/op
BenchmarkLevelDBIndexing1Workers10Batch-4 3 376065767 ns/op
BenchmarkLevelDBIndexing2Workers10Batch 2 587211251 ns/op
BenchmarkLevelDBIndexing2Workers10Batch-2 3 411782319 ns/op
BenchmarkLevelDBIndexing2Workers10Batch-4 3 343577440 ns/op
BenchmarkLevelDBIndexing4Workers10Batch 2 579232621 ns/op
BenchmarkLevelDBIndexing4Workers10Batch-2 3 397336400 ns/op
BenchmarkLevelDBIndexing4Workers10Batch-4 5 318146695 ns/op
BenchmarkLevelDBIndexing1Workers100Batch 3 379574030 ns/op
BenchmarkLevelDBIndexing1Workers100Batch-2 5 300238078 ns/op
BenchmarkLevelDBIndexing1Workers100Batch-4 5 267429962 ns/op
BenchmarkLevelDBIndexing2Workers100Batch 3 392009306 ns/op
BenchmarkLevelDBIndexing2Workers100Batch-2 5 253302159 ns/op
BenchmarkLevelDBIndexing2Workers100Batch-4 5 210367228 ns/op
BenchmarkLevelDBIndexing4Workers100Batch 3 373501939 ns/op
BenchmarkLevelDBIndexing4Workers100Batch-2 5 260555890 ns/op
BenchmarkLevelDBIndexing4Workers100Batch-4 5 204966168 ns/op
BenchmarkNullIndexing1Workers 5000 259352 ns/op
BenchmarkNullIndexing1Workers-2 10000 214353 ns/op
BenchmarkNullIndexing1Workers-4 10000 176567 ns/op
BenchmarkNullIndexing2Workers 5000 252798 ns/op
BenchmarkNullIndexing2Workers-2 10000 201990 ns/op
BenchmarkNullIndexing2Workers-4 10000 177570 ns/op
BenchmarkNullIndexing4Workers 5000 253486 ns/op
BenchmarkNullIndexing4Workers-2 10000 203934 ns/op
BenchmarkNullIndexing4Workers-4 10000 172580 ns/op
BenchmarkNullIndexing1Workers10Batch 3 352930175 ns/op
BenchmarkNullIndexing1Workers10Batch-2 5 237366811 ns/op
BenchmarkNullIndexing1Workers10Batch-4 5 201333381 ns/op
BenchmarkNullIndexing2Workers10Batch 3 353673475 ns/op
BenchmarkNullIndexing2Workers10Batch-2 5 213131688 ns/op
BenchmarkNullIndexing2Workers10Batch-4 10 164045959 ns/op
BenchmarkNullIndexing4Workers10Batch 3 362522260 ns/op
BenchmarkNullIndexing4Workers10Batch-2 5 213688874 ns/op
BenchmarkNullIndexing4Workers10Batch-4 10 152042345 ns/op
BenchmarkNullIndexing1Workers100Batch 5 285697300 ns/op
BenchmarkNullIndexing1Workers100Batch-2 5 219065799 ns/op
BenchmarkNullIndexing1Workers100Batch-4 10 190827759 ns/op
BenchmarkNullIndexing2Workers100Batch 5 284728847 ns/op
BenchmarkNullIndexing2Workers100Batch-2 10 167477893 ns/op
BenchmarkNullIndexing2Workers100Batch-4 10 150936676 ns/op
BenchmarkNullIndexing4Workers100Batch 5 281975104 ns/op
BenchmarkNullIndexing4Workers100Batch-2 10 181935110 ns/op
BenchmarkNullIndexing4Workers100Batch-4 10 119216851 ns/op
ok github.com/blevesearch/bleve/index/upside_down 365.632s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment