Open billywhizz opened 11 months ago
Hey @billywhizz Is this ready for review? Sorry for the late reply, I might have missed this in the notifcations
Hey @billywhizz Is this ready for review? Sorry for the late reply, I might have missed this in the notifcations
i'll have a look again. has been a while since i looked at it! :+1:
I did some benchmarking on lo against this and, after understanding what the code here is doing, these changes should result in a ~20% improvement in throughput for this simple bench. i tested on 0.4.0 of duckdb shared library and using this command to run:
i see 60k rps for these changes, ~51k rps for HEAD.
Bun with @evan/duckdb is 49k rps for the same bench on my setup. Bun is also ~50 MB more memory usage.
there is further work to do be done to apply this to the other methods and i need to check to see if this doesn't break something existing, so just submitting as a draft for discussion for now.