MagicStack / pgbench

PostgreSQL Client Driver Performance Benchmarking Toolbench

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • git
  • NodeJS
  • Go 1.6
  • Python 3

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.

About

PostgreSQL Client Driver Performance Benchmarking Toolbench

License:MIT License


Languages

Language:Python 42.3%Language:HTML 20.2%Language:JavaScript 18.3%Language:Go 17.5%Language:Shell 1.1%Language:Makefile 0.6%