3 ms·
The nitty gritty is in another answer. The commits implementing the new function cache are these two: https://github.com/ncruces/go-sqlite3/compare/0b093b7c...
by ncruces 3y ago
The nitty gritty is in another answer.
The commits implementing the new function cache are these two:
https://github.com/ncruces/go-sqlite3/compare/0b093b7c...98660677 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 https://sqlite.org/src/file/test/speedtest1.c