I can't find Nim's db_postgres benchmarks on Techempower. Do you have a link?
It uses the libpq nearly directly it should be roughly same speed as C. Is there a pure C libpq benchmark? Is there a faster library than libpq that nim could use? Postgres itself is not that great with async. In my library I have an async pool of 10 connections: <https://github.com/treeform/pg> \- the async does not really improve performance but does provide comfort when using from other async code. Nim-Postgres layer speed is never been my bottleneck its always just internal postgres query time.