Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it. Parent comment
The commits implementing the new function cache are these two: https://github.com/ncruces/go-sqlite3/compare/0b093b7c...986...
Creating good, representative, benchmarks is hard. I use speedtest1 [1] but this tests WASM/SQLite and my VFSes, not the Go driver that wraps it.
I already forked this benchmark and will run it regularly, but I may also adapt it into a Go benchmark (easier to run, benchstat compatible, etc).
[1] https://sqlite.org/src/file/test/speedtest1.c
There are no comments on this comment yet.
The commits implementing the new function cache are these two: https://github.com/ncruces/go-sqlite3/compare/0b093b7c...986...
Creating good, representative, benchmarks is hard. I use speedtest1 [1] but this tests WASM/SQLite and my VFSes, not the Go driver that wraps it.
I already forked this benchmark and will run it regularly, but I may also adapt it into a Go benchmark (easier to run, benchstat compatible, etc).
[1] https://sqlite.org/src/file/test/speedtest1.c