Comments (5)
Perhaps it would be preferable to see if there's still a performance gap after fastify/fastify#192 has been merged
from benchmarks.
It is all written in the docs :)
from benchmarks.
It is all written in the docs :)
Yes you're right, but not so easy to find for a newcomer 😉
People often only read tl;dr or article on Medium, and don't go further.
from benchmarks.
Is issue has any purpose or advice, how we can improve this situation?
from benchmarks.
I just have run my simple benchmark with fastify last release 0.27 (https://github.com/abenhamdine/frameworks-benchmark) and there's still a significant performance difference (roughly 15%) with or without schema validation :
$ npm run test-perf-fastify
> [email protected] test-perf-fastify C:\node-projects\frameworks-benchmark
> autocannon -c 100 -d 5 localhost:3000/big && autocannon -c 100 -d 5 localhost:3000/bigschema
Running 5s test @ http://localhost:3000/big
100 connections
Stat Avg Stdev Max
Latency (ms) 194.49 13.32 238
Req/Sec 507.8 26.2 533
Bytes/Sec 86 MB 4.59 MB 92.3 MB
3k requests in 5s, 434 MB read
Running 5s test @ http://localhost:3000/bigschema
100 connections
Stat Avg Stdev Max
Latency (ms) 171.4 10.6 215
Req/Sec 580.21 39.6 600
Bytes/Sec 70.7 MB 5.45 MB 75.5 MB
3k requests in 5s, 345 MB read
So I still think it would be mentioned somewhere or someone could be disappointed with performance on big responses without enabling schema validation.
from benchmarks.
Related Issues (20)
- Enable dependabot
- Failing cron job HOT 1
- Get script error when running benchmark compare HOT 1
- please add units to the table HOT 1
- Chalk v5 requiers ESM
- Add support to ESM HOT 4
- Reported throughput very low HOT 12
- Add benchmarks for native NodeJS (LTS) server? HOT 7
- feat: add benchmark for istanbuljs HOT 7
- feat: change package name istanbuljs to galatajs
- Add Express 5 (Beta) benchmark HOT 1
- inquirer update broke everything HOT 2
- Add support to hyper-express HOT 3
- Update external Fastify benchmarks HOT 4
- Clean benchmarks list HOT 5
- Add tinyhttp benchmark
- Consistent Benchmark Result HOT 3
- Sveltekit Performance Benchmark Comparison HOT 4
- @tinyhttp/app Missing from dependencies causes benchmark to fail
- Fails to run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchmarks.