Skip to content

Benchmark ts-postgres VS popular postgres Library #117

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
cesco69 opened this issue Mar 28, 2024 · 2 comments
Closed

Benchmark ts-postgres VS popular postgres Library #117

cesco69 opened this issue Mar 28, 2024 · 2 comments

Comments

@cesco69
Copy link

cesco69 commented Mar 28, 2024

Add yuor library into
https://github.com/porsager/postgres-benchmarks

@malthe
Copy link
Owner

malthe commented Mar 28, 2024

I have contributed porsager/postgres-benchmarks#9 which adds ts-postgres to the benchmark suite.

There are some preliminary results included in the description there.

That said, I'll restate Rasmus Porsager's note here:

NB. In daily usage it is very likely that this difference doesn't matter as much since the time spent by the client library is negligable compared to the query time itself.

The merits of the various libraries come down to your requirements.

@malthe malthe closed this as completed Mar 28, 2024
@cesco69
Copy link
Author

cesco69 commented Mar 28, 2024

@malthe Thanks! I'm evaluating different libs. Just a suggestion, take a look at "pg-native"

https://github.com/brianc/node-pg-native/blob/master/index.js

I think with your pipeline support and native driver from "pg-native", you can reach the best performance

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants