Skip to content

Instantly share code, notes, and snippets.

@pjvds
Last active August 29, 2015 14:14
Show Gist options
  • Save pjvds/0f3d219d3a43fe680cb8 to your computer and use it in GitHub Desktop.
Save pjvds/0f3d219d3a43fe680cb8 to your computer and use it in GitHub Desktop.
for i in $(seq 1 5); do echo "$i: " ; go run main.go -duration 1m ; echo "\n" ; sleep 15; done
1:
54526336 messages written in 1m0.743716405s, 897646msg/s, 175.321mb/s
/tmp/seqcask_bench_838230236/db.data: 28610mb
2:
54309248 messages written in 1m0.051493969s, 904378msg/s, 176.636mb/s
/tmp/seqcask_bench_065558123/db.data: 28610mb
3:
54526272 messages written in 1m3.201022953s, 862744msg/s, 168.505mb/s
/tmp/seqcask_bench_162824509/db.data: 28610mb
4:
54526272 messages written in 1m4.788154083s, 841609msg/s, 164.377mb/s
/tmp/seqcask_bench_997955188/db.data: 28610mb
# dd benchmark
dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 5.19215 s, 207 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment