Skip to content

Instantly share code, notes, and snippets.

@davecheney
Created November 17, 2012 12:45
Show Gist options
  • Select an option

  • Save davecheney/4095687 to your computer and use it in GitHub Desktop.

Select an option

Save davecheney/4095687 to your computer and use it in GitHub Desktop.
dfc@qnap:~/go/test/bench/go1$ ~/go/misc/benchcmp {old,new}.txt
benchmark old ns/op new ns/op delta
BenchmarkBinaryTree17 2147483647 2147483647 -0.90%
BenchmarkFannkuch11 2147483647 2147483647 -0.09%
BenchmarkGobDecode 181214200 179469200 -0.96%
BenchmarkGobEncode 73388200 72136100 -1.71%
BenchmarkGzip 2147483647 2147483647 +0.97%
BenchmarkGunzip 914986600 914847400 -0.02%
BenchmarkJSONEncode 878786200 870880200 -0.90%
BenchmarkJSONDecode 1999041000 2001263000 +0.11%
BenchmarkMandelbrot200 2147483647 2147483647 -0.99%
BenchmarkParse 73012000 69251760 -5.15%
BenchmarkRevcomp 93304650 93114600 -0.20%
BenchmarkTemplate 2003111000 2000464000 -0.13%
benchmark old MB/s new MB/s speedup
BenchmarkGobDecode 4.24 4.28 1.01x
BenchmarkGobEncode 10.46 10.64 1.02x
BenchmarkGzip 3.88 3.84 0.99x
BenchmarkGunzip 21.21 21.21 1.00x
BenchmarkJSONEncode 2.21 2.23 1.01x
BenchmarkJSONDecode 0.97 0.97 1.00x
BenchmarkParse 0.79 0.84 1.06x
BenchmarkRevcomp 27.24 27.30 1.00x
BenchmarkTemplate 0.97 0.97 1.00x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment