Skip to content

Instantly share code, notes, and snippets.

@Frando
Last active July 12, 2019 10:15
Show Gist options
  • Save Frando/dcb6cde7512d8c911e8e30129b19689f to your computer and use it in GitHub Desktop.
Save Frando/dcb6cde7512d8c911e8e30129b19689f to your computer and use it in GitHub Desktop.
NANOBENCH version 2
> /usr/bin/node bench.js
# write fs 5000 * 4K sequentially
ok ~262 ms (0 s + 261710236 ns)
# write hyperdrive 5000 * 4K sequentially
ok ~3.65 s (3 s + 653388561 ns)
# write client 5000 * 4K sequentially
ok ~17 s (16 s + 794988825 ns)
# write fuse 5000 * 4K sequentially
ok ~10 s (10 s + 368266064 ns)
# write fs 100 * 4K in parallel
ok ~62 ms (0 s + 62275880 ns)
# write hyperdrive 100 * 4K in parallel
ok ~65 ms (0 s + 64558644 ns)
# write client 100 * 4K in parallel
ok ~161 ms (0 s + 161051725 ns)
# write fuse 100 * 4K in parallel
(does not finish, seems to break the daemon?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment