velocity
Experimental · JS · engine: nodehttp · standard configuration · completeness 4/4
Velocity, a lightweight Express.js alternative on node:http with the cluster module for multi-core scaling.
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 | 15 of 19 | 2973 |
Every result
Alpha Round, 11 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 | 1,110,619 | 3.04ms | 4.26ms | 6522.7% | 2.2GiB |
| Connection | Pipelined | 4,096 | 2,674,890 | 17.00ms | 25.90ms | 6466.1% | 2.9GiB |
| Connection | Short-lived | 4,096 | 303,860 | 2.07ms | 18.00ms | 2338.4% | 4.2GiB |
| Concurrency | Async Delay | 32,000 | 1,136,013 | 22.73ms | 26.00ms | 5408.4% | 5.8GiB |
| Efficiency | Latency-10K | 1,024 | 9,967 | 115.6us | 190.0us | 96.0% | 1.7GiB |
| Efficiency | Latency-1M | 1,024 | 997,048 | 227.8us | 578.0us | 5372.6% | 2.2GiB |
| Efficiency | Latency-500K/8 | 1,024 | 193,040 | 6076696.7us | 12259328.0us | 773.4% | 386MiB |
| Workload | JSON Comp | 4,096 | 212,470 | 14.42ms | 363.10ms | 6373.0% | 7.3GiB |
| Workload | JSON Comp | 16,384 | 206,735 | 21.04ms | 585.70ms | 6030.1% | 7.2GiB |
| Workload | JSON TLS | 4,096 | 560,849 | 7.17ms | 40.06ms | 6497.7% | 5.5GiB |
| Workload | 8Gbit | 512 | 49,268 | 149.2us | 243.0us | 600.8% | 2.3GiB |
Compared with
The JS entries around velocity on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs velocity | |
|---|---|---|---|
| spliffy | 6752 | +127% | head to head |
| hyper-express | 4489 | +51% | head to head |
| ultimate-express | 4288 | +44% | head to head |
| node-h3 | 2714 | -9% | head to head |
| fastify | 2305 | -22% | head to head |
Compare velocity with any JS entry · Compare velocity with any entry, in any language · Every JS entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry