Benchmarking.. #65
Replies: 3 comments
-
@JMarkin Hello! Thanks for testing the library. I'm going to look into it. As far as I know, MagicStack benchmark is a little strange cuz it shows that psycopg 5! times slower than asyncpg, I haven't seen such outperformance in any test I've made. |
Beta Was this translation helpful? Give feedback.
-
@JMarkin Last but not least, you can check this repo https://github.com/ymezencev/db_perf, it uses the old version of psqlpy, but it beats the asyncpg. |
Beta Was this translation helpful? Give feedback.
-
Moved to discussions |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for great job.
I added your driver to pgbeanch from MagicStack team. And result super different then your.
Full report https://public.jmarkin.ru/pgbeanch.html
Example result
![image](https://private-user-images.githubusercontent.com/15740814/332019348-7cdfcd29-e840-404c-9da1-b34aab98927f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU3MTYsIm5iZiI6MTczOTAzNTQxNiwicGF0aCI6Ii8xNTc0MDgxNC8zMzIwMTkzNDgtN2NkZmNkMjktZTg0MC00MDRjLTlkYTEtYjM0YWFiOTg5MjdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MjMzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmZTI4OGJhMDE2ZWU5OWUxMjk0OGRiODQzZDM5N2ZmZWFmYWJkNTc3YWMxZmEyNWE2NGFhMDNmNGI4YmI5M2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pLqrVK88I6TaTmik9uYoCxxriN7VQnvctvTh8qvT2uQ)
psqlpy slower than all of other driver: aiopg, psycopg, asyncpg, etc.
Can you help me understand why your beanchmark give better results?
Beta Was this translation helpful? Give feedback.
All reactions