fastify
Flagship · JS · engine: nodehttp · standard configuration · completeness 4/4
Fastify 5 on node:http with the cluster module for multi-core scaling.
Achievements
🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥉 Bronze | Within its language | JS · HTTP/1.1 | 3 of 5 |
Composite rank
Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 30 of 71 | 2444 |
Every result
Alpha Round, 12 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 737,611 | 4.65ms | 6.32ms | 6515.5% | 3.0GiB |
| Connection | Pipelined | 4,096 | 1,671,518 | 28.79ms | 49.80ms | 6608.7% | 4.3GiB |
| Connection | Short-lived | 4,096 | 291,264 | 2.19ms | 18.80ms | 2951.1% | 5.7GiB |
| Concurrency | Async Delay | 32,000 | 862,256 | 28.81ms | 35.20ms | 5249.4% | 6.5GiB |
| Efficiency | Latency-10K | 1,024 | 9,877 | 136.1us | 225.0us | 112.7% | 2.4GiB |
| Efficiency | Latency-1M | 1,024 | 927,151 | 587484.6us | 4274176.0us | 6599.7% | 3.3GiB |
| Efficiency | Latency-500K/8 | 1,024 | 137,608 | 7210931.9us | 14536704.0us | 768.3% | 621MiB |
| Workload | JSON Comp | 4,096 | 49,030 | 65.98ms | 200.40ms | 6466.2% | 11.1GiB |
| Workload | JSON Comp | 16,384 | 49,716 | 99.87ms | 1.14s | 6483.2% | 11.5GiB |
| Workload | JSON TLS | 4,096 | 571,431 | 6.40ms | 31.69ms | 6431.0% | 6.5GiB |
| Workload | 8Gbit | 512 | 49,313 | 210.8us | 461.0us | 1108.5% | 3.9GiB |
| Database | Async DB | 1,024 | 179,169 | 5.07ms | 16.10ms | 6489.5% | 4.6GiB |
Compared with
The JS entries around fastify on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs fastify | |
|---|---|---|---|
| fulmine.js | 6248 | +156% | head to head |
| ultimate-express | 4584 | +88% | head to head |
| node-h3 | 2903 | +19% | head to head |
| node | 2056 | -16% | head to head |
| koa | 2008 | -18% | head to head |
Compare fastify with any JS entry · Compare fastify with any entry, in any language · Every JS entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry