https://github.com/ncruces/go-sqlite3 was doing poorly on this benchmark that was posted yesterday to HackerNews [1].
With the help of some pprof, I was able to trace it to a serious performance regression introduced two weeks ago, and come up with the fix (happy to field questions, if you're interested in the nitty gritty).
It's not the fastest driver around, but it's no longer the slowest: comfortably middle of the pack.
It's based on a WASM build of SQLite, and thanks to https://wazero.io doesn't need CGO.
[1]: https://news.ycombinator.com/item?id=38626698
One question I have is, is there a strategy to stop the performance from accidentally regressing in the future? Seems like it might not be a bad idea to include some benchmarks in the repository if you don't already.
Also, personally, I am interested in the nitty gritty of why it was slow and how you fixed it, so if you write it anywhere in this thread at least I will definitely read it through.