Skip to content

Instantly share code, notes, and snippets.

@benbjohnson
Created July 3, 2014 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benbjohnson/91b05a83f6668e3baeab to your computer and use it in GitHub Desktop.
Save benbjohnson/91b05a83f6668e3baeab to your computer and use it in GitHub Desktop.
bolt bench
# Sequentially insert 1M key/value pairs (in 1000 record batches).
$ bolt bench --count 1000000 --batch-size 1000
# Write 3.939999671s (3.939us/op) (253871 op/sec)
# Read 1.003326413s (40ns/op) (25000000 op/sec)
---------
# Randomly insert 1M key/value pairs (in 1000 record batches).
$ bolt bench --count 1000000 --batch-size 1000 --write-mode rnd
# Write 56.84787703s (56.847us/op) (17591 op/sec)
# Read 1.010560605s (42ns/op) (23809523 op/sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment