This script benchmarks the latency of pgbouncer and asyncpg connection pool for Postgres database hosted on google sql instance.
immohsin/connection_pool_benchmark
Calculates latency for pgbouncer and asyncpg connection pool
Python
Calculates latency for pgbouncer and asyncpg connection pool
Python