Skip to content

mitar/node-pg-json-benchmark

Repository files navigation

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

About

Benchmark of JSON queries for PostgreSQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published