Skip to content

Instantly share code, notes, and snippets.

@mackee
Last active October 11, 2015 05:38
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 mackee/27bafe70909506f149ec to your computer and use it in GitHub Desktop.
Save mackee/27bafe70909506f149ec to your computer and use it in GitHub Desktop.
go-sqlla's micro tunings
[- o -] $ go test -bench=.
PASS
BenchmarkSelect__Squirrel-4 100000 12914 ns/op
BenchmarkSelect__Sqlla-4 1000000 1455 ns/op
ok github.com/mackee/go-sqlla/_benchmark 2.946s
[- o -] $ go test -bench=.
PASS
BenchmarkSelect__Squirrel-4 100000 12613 ns/op
BenchmarkSelect__Sqlla-4 1000000 1371 ns/op
ok github.com/mackee/go-sqlla/_benchmark 2.838s
[- o -] $ go test -bench=.
PASS
BenchmarkSelect__Squirrel-4 100000 12903 ns/op
BenchmarkSelect__Sqlla-4 1000000 1452 ns/op
ok github.com/mackee/go-sqlla/_benchmark 2.954s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment