Skip to content

Instantly share code, notes, and snippets.

@bmatsuo
Last active August 29, 2015 14:10
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 bmatsuo/c99947e90b0513564f7b to your computer and use it in GitHub Desktop.
Save bmatsuo/c99947e90b0513564f7b to your computer and use it in GitHub Desktop.
Reader benchmarks from the master branch (9438ff5)
PASS
BenchmarkReaderManpage 1000000 20223 ns/op 126.09 MB/s
BenchmarkReaderManpage_buffered 1000000 20176 ns/op 126.39 MB/s
BenchmarkReaderManpageNoCopy 1000000 20179 ns/op 126.36 MB/s
BenchmarkReaderJSON 50000 320459 ns/op 76.23 MB/s
BenchmarkReaderJSON_buffered 50000 332016 ns/op 68.00 MB/s
BenchmarkReaderJSONNoCopy 50000 334736 ns/op 67.45 MB/s
BenchmarkReaderRandom 10000 1859415 ns/op 5640.66 MB/s
BenchmarkReaderRandom_buffered 10000 1837270 ns/op 5707.95 MB/s
BenchmarkReaderRandomNoCopy 10000 2782352 ns/op 3769.13 MB/s
BenchmarkReaderConstant 1000 16053094 ns/op 30.88 MB/s
BenchmarkReaderConstant_buffered 1000 16138921 ns/op 30.59 MB/s
BenchmarkReaderConstantNoCopy 1000 16921298 ns/op 29.17 MB/s
ok github.com/mreiferson/go-snappystream 246.718s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment