GitHub - MagicStack/pgbench: PostgreSQL Client Driver Performance Benchmarking Toolbench (original) (raw)

PostgreSQL Client Driver Performance Benchmarking Toolbench

This is a collection of scripts intended to benchmark the efficiency of various implementations of PostgreSQL client drivers.

Installation and Use

Install the following:

Run

$ python3 -m venv pgbench-venv $ source pgbench-venv/bin/activate (pgbench-venv) $ pip install -r requirements.txt (pgbench-venv) $ make

The benchmarks can then be ran with ./pgbench. Use./pgbench --help for various options, including selective benchmark running.