-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pg module #1
Comments
Hi and welcome. I did indeed implement a wrapper around libpg here: https://github.com/just-js/modules/tree/master/pg but i could not get perf with it to be as good as i thought it should be. believe it or not the js version runs faster, especially for the multi query and multi update benchmarks. i think this is something to do with blocking reads or writes in libpg but i need to revisit it. This should also come with a big caveat that it is alpha level code and likely has lots of bugs and cases it is not handling correctly. The goal for the moment for me is to establish a performance baseline and add features and functionality from there. I am hoping to write up a a few articles on this over coming weeks. You can keep an eye on the main repo here: https://github.com/just-js and my currently empty blog here: https://billywhizz.io/. |
Yes, I think so too! |
you can see how well it does on the multi/pipeline tests here: https://www.techempower.com/benchmarks/#section=test&runid=3e069eac-3b1d-4f77-bb06-2bceb4172dea&hw=ph&test=query&a=2 and here https://www.techempower.com/benchmarks/#section=test&runid=3e069eac-3b1d-4f77-bb06-2bceb4172dea&hw=ph&test=update&a=2 |
Why not use pg module in TFB?
The text was updated successfully, but these errors were encountered: