Performance regression with napi for high concurrency
See original GitHub issueBug description
See: https://github.com/prisma/prisma/issues/7382
No napi
{
min: '25ms',
max: '617ms',
sum: '3m 17.5s',
variance: '13.7s',
mean: '198ms',
stddev: '117ms',
count: 1000,
median: '160ms',
p75: '203ms',
p95: '518ms',
p99: '601ms',
p999: '617ms'
}
Napi
{
min: '94ms',
max: '436ms',
sum: '5m 30.1s',
variance: '1.5s',
mean: '330ms',
stddev: '40ms',
count: 1000,
median: '338ms',
p75: '343ms',
p95: '364ms',
p99: '379ms',
p999: '436ms'
}
How to reproduce
https://github.com/vjpr/benchmark-prisma
Expected behavior
No response
Prisma information
https://github.com/prisma/prisma/issues/7382
Environment & setup
- OS: macOS
- Database: PostgreSQL
- Node.js version: 14
Prisma Version
prisma : 2.25.0-dev.3
@prisma/client : 2.25.0-dev.3
Current platform : darwin
Query Engine : query-engine f3e341280d96d0abc068f97e959ddf01f321a858 (at ../../../nvm/versions/node/v14.2.0/pnpm-global/5/node_modules/.pnpm/@prisma+engines@2.24.0-30.f3e341280d96d0abc068f97e959ddf01f321a858/node_modules/@prisma/engines/query-engine-darwin)
Migration Engine : migration-engine-cli f3e341280d96d0abc068f97e959ddf01f321a858 (at ../../../nvm/versions/node/v14.2.0/pnpm-global/5/node_modules/.pnpm/@prisma+engines@2.24.0-30.f3e341280d96d0abc068f97e959ddf01f321a858/node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core f3e341280d96d0abc068f97e959ddf01f321a858 (at ../../../nvm/versions/node/v14.2.0/pnpm-global/5/node_modules/.pnpm/@prisma+engines@2.24.0-30.f3e341280d96d0abc068f97e959ddf01f321a858/node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt f3e341280d96d0abc068f97e959ddf01f321a858 (at ../../../nvm/versions/node/v14.2.0/pnpm-global/5/node_modules/.pnpm/@prisma+engines@2.24.0-30.f3e341280d96d0abc068f97e959ddf01f321a858/node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : f3e341280d96d0abc068f97e959ddf01f321a858
Studio : 0.397.0
Preview Features : nApi, filterJson
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Performance Regression Testing of Concurrent Classes
First, we present a generator of concurrent performance tests, that is, tests that run for a significant amount of time and have a...
Read more >Concurrent validity of the Neurobehavioural Assessment for ...
This study examined the concurrent validity of the NAPI against a criterion instrument, the Einstein Neonatal Neurobehavioural Assessment ...
Read more >Prisma 2.24.1 Release - GitClear
Prisma Client · In 2.24. · Performance regression with napi for high concurrency #7404 · Failed to run future: no available capacity /...
Read more >News August 2020 - Java Performance Tuning
This month I'm listing all the new performance features in the upcoming release of Java 15 (I have done this every 6 months...
Read more >Linux Performance and Tuning Guidelines - Lenovo Press
network API (NAPI). The standard implementation of the network stack in Linux focuses more on reliability and low latency than on low overhead...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This made into stable in 2.24.1