Skip to content

Instantly share code, notes, and snippets.

@mattn
Created October 3, 2019 01:33
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 mattn/cd23afa948078a692b89b901284f39c0 to your computer and use it in GitHub Desktop.
Save mattn/cd23afa948078a692b89b901284f39c0 to your computer and use it in GitHub Desktop.
name old req/s new req/s delta
Exec 329k ± 0% 324k ± 0% ~ (p=1.000 n=1+1)
Query 120k ± 0% 122k ± 0% ~ (p=1.000 n=1+1)
Params 109k ± 0% 109k ± 0% ~ (p=1.000 n=1+1)
Stmt 171k ± 0% 165k ± 0% ~ (p=1.000 n=1+1)
Rows 0.00 0.00 ~ (all equal)
StmtRows 3.09k ± 0% 2.99k ± 0% ~ (p=1.000 n=1+1)
name old time/op new time/op delta
CustomFunctions-4 8.60µs ± 0% 8.00µs ± 0% ~ (p=1.000 n=1+1)
BenchmarkExec 384282 324270 req/s
BenchmarkQuery 144568 122301 req/s
BenchmarkParams 131859 109058 req/s
BenchmarkStmt 193537 165266 req/s
BenchmarkRows 1 0 req/s
BenchmarkStmtRows 3574 2993 req/s
BenchmarkCustomFunctions-4 150450 8003 ns/op
PASS
ok github.com/mattn/go-sqlite3 75.353s
BenchmarkExec 404307 329221 req/s
BenchmarkQuery 149990 120081 req/s
BenchmarkParams 129024 108691 req/s
BenchmarkStmt 206883 170827 req/s
BenchmarkRows 1 0 req/s
BenchmarkStmtRows 3663 3088 req/s
BenchmarkCustomFunctions-4 141216 8597 ns/op
PASS
ok github.com/mattn/go-sqlite3 93.804s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment