Comparing Golang SQLite to C SQLite

1 fside 5 6/20/2025, 8:40:01 AM notes.billmill.org ↗

Comments (5)

pancsta · 2d ago
I would love to see startup times measured as well.
smidgeon · 2d ago
C's still the boss.
0xjnml · 2d ago
It seems you're using some old Go package versions for your benchmarks.

See https://pkg.go.dev/modernc.org/sqlite-bench#readme-tl-dr-sco... for the numbers using the more recent versions.

llimllib · 2d ago
(I'm the original author but not the OP)

It was done in september of '24 with go 1.23.1 and the most recent (at the time) versions of sqlite libraries, as stated.

The page you linked compares golang bindings against each other, not C against golang like my test did

0xjnml · 1d ago
> The page you linked compares golang bindings against each other, not C against golang like my test did

No one disputed that. But it follows that your benchmarks are comparing C to [some very] outdated versions of Go packages. Which is what I tried to point out.