https://github.com/thomasthiebaud/slonik-perf-issue
https://github.com/thomasthiebaud/slonik-perf-issue
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasthiebaud/slonik-perf-issue
- Owner: thomasthiebaud
- Created: 2021-01-25T07:53:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-22T07:18:00.000Z (about 4 years ago)
- Last Synced: 2024-10-19T11:30:59.583Z (7 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Slonik](https://github.com/gajus/slonik) is 10x solwer when used with ncc
Here are the performances compared to pg with and without ncc
```
// Without nccpg - query: 7.775ms
pg - end: 0.986ms
slonik - query: 12.771ms
slonik - end: 0.629ms// With ncc
ncc-pg - query: 10.152ms
ncc-pg - end: 1.357ms
ncc-slonik - query: 546.402ms
ncc-slonik - end: 0.948ms
```If you have docker setup on your machine, you can reproduce the benchmark by running
```
npm install
npm test
```