Comparing Golang SQLite to C SQLite

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

Comments (5)

smidgeon · 15d ago
C's still the boss.
pancsta · 14d ago
I would love to see startup times measured as well.
0xjnml · 14d 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 · 14d 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 · 13d 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.