treeform / pg

Very simple PostgreSQL async api for nim.
MIT License
37 stars 9 forks source link

Benchmarks #6

Closed rishavs closed 2 years ago

rishavs commented 2 years ago

Hi

I was wondering if there any benchmarks for this driver against the default db_postgres driver in Nim. I have recently added a nim stdlib test for nim in techempower and the sync drivers are giving a terrible performance.

treeform commented 2 years ago

Well it uses db_postgres but wraps it with async. The lib is only 93 lines take a look.

I would assume performance would be same - what ever async overhead takes a way.