Re:Show HN: I benchmarked six Go SQLite drivers (found you d...
by cvilsmeier on Wednesday December 13, 2023 @10:48AM
(#38629095)
For sqinn it's because of its design: Shuffling that much data over process boundaries takes time. For zombie, more pprof would be needed to explain the behaviour.
[ Parent
| on HN ]
Re:Show HN: I benchmarked six Go SQLite drivers (found you d...
by ncruces on Wednesday December 13, 2023 @03:51PM
(#38633963)
I would suspect some unnecessary copying. Nothing else explains a “lower level” binding (zombie) performing worse than modernc.
My (WASM) binding also has a lower level API. But I worked hard to make database/sql work first class, so I wouldn't expect much improvement.