Thursday, 14 December 2023

Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it https://bit.ly/3Tn0Adp

Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it https://bit.ly/40POAD6 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://bit.ly/3RoukEb doesn't need CGO. [1]: https://bit.ly/3RmTsep https://bit.ly/47YeTJV December 15, 2023 at 03:44AM

No comments:

Post a Comment