Skip to content
Benchmark of JSON queries for PostgreSQL
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
benchmark.js
package-lock.json
package.json
populate.js
results-js.log
results-native.log
results.csv

README.md

Benchmark of JSON queries for PostgreSQL

$ docker run -d --name postgres -e POSTGRES_PASSWORD=pass -p 5432:5432 postgres:11.1
$ npm install
$ node populate.js
$ node benchmark.js
$ node benchmark.js native

Results

Evaluated using node v11.6.0 on Linux and PostgreSQL 11.1 Docker image, postgres:11.1, with default configuration.

See results-js.log for JS driver and results-native.log for native driver. See results.csv for structured results.

Blog post with analysis: https://mitar.tnode.com/post/181893159351/in-nodejs-always-query-in-json-from-postgresql

You can’t perform that action at this time.