Skip to content

Add 'ts-postgres' to benchmarks #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

malthe
Copy link

@malthe malthe commented Mar 28, 2024

This adds ts-postgres to the benchmark suite.

Local results:

client select select_arg select_args select_where
postgres 0.061s (7.9x) 0.065s (9.4x) 0.126s (5.5x) 0.106s (7.5x)
pg-promise 0.190s (2.5x) 0.197s (3.1x) 0.279s (2.5x) 0.296s (2.7x)
pg-promise-native 0.181s (2.6x) 0.200s (3.1x) 0.277s (2.5x) 0.305s (2.6x)
pg 0.161s (3.0x) 0.282s (2.2x) 0.346s (2.0x) 0.386s (2.1x)
pg-native 0.155s (3.1x) 0.160s (3.8x) 0.243s (2.8x) 0.278s (2.9x)
slonik 0.480s (1.0x) 0.609s (1.0x) 0.691s (1.0x) 0.798s (1.0x)
ts-postgres 0.283s (1.7x) 0.434s (1.4x) 0.517s (1.3x) 0.558s (1.4x)

This is based on #10 which updates the suite to the latest drivers.

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

Successfully merging this pull request may close these issues.

1 participant