A fairly simple benchmarking application to test type conversions and language speed inside of Postgres language extensions.
Currently there are only two supported language extensions:
- PLV8
- PLJS
Additional languages and tests are welcome contributions.
Benchmarks require a Linux, or Unix based environment (BSD, MacOS) in order to run:
./run_benchmarks -p pljs -p plv8This will execute benchmarks for both pljs and plv8 and the output of the benchmarks will be sent to the output directory.
Note that this will create and then drop a database named benchmarks.
To process the benchmark results, node.js should be installed:
./process_results -p pljs -p plv8 -o output.csvThis will analyze the output from the benchmarks and create a csv file named output.csv containing the processed results.