nifra
Emerging · TS · engine: node:http · standard configuration · completeness 4/4
Nifra's typed router and middleware on the official Node HTTP adapter, with one cluster worker per available core.
- Official repository
- Official website
- Benchmark implementation
- All TS entries, compared
- Open the leaderboard
Composite rank
Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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.
Every result
Alpha Round, 13 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 | 736,706 | 5.56ms | 14.00ms | 6515.9% | 10.5GiB |
| Connection | Pipelined | 4,096 | 2,340,131 | 28.01ms | 31.30ms | 6606.4% | 5.5GiB |
| Connection | Short-lived | 4,096 | 297,069 | 2.83ms | 18.80ms | 3176.3% | 10.0GiB |
| Concurrency | Async Delay | 32,000 | 1,196,836 | 20.72ms | 23.70ms | 5690.8% | 7.0GiB |
| Efficiency | Latency-10K | 1,024 | 9,958 | 134.9us | 219.0us | 110.0% | 4.2GiB |
| Efficiency | Latency-1M | 1,024 | 995,557 | 333.5us | 1090.0us | 5700.3% | 5.0GiB |
| Workload | JSON Comp | 4,096 | 136,495 | 30.05ms | 181.30ms | 6448.0% | 11.7GiB |
| Workload | JSON Comp | 16,384 | 140,742 | 105.48ms | 1.93s | 6486.2% | 12.1GiB |
| Workload | JSON TLS | 4,096 | 556,643 | 7.14ms | 52.15ms | 6467.6% | 7.4GiB |
| Workload | 8Gbit | 512 | 49,354 | 295.4us | 730.0us | 1708.1% | 7.8GiB |
| Workload | Static TLS | 1,024 | 104,622 | 9.91ms | 65.58ms | 6456.7% | 7.5GiB |
| Database | Async DB | 1,024 | 122,021 | 8.39ms | 28.50ms | 3270.8% | 3.8GiB |
| Database | Fortunes | 1,024 | 45,916 | 22.35ms | 31.00ms | 3220.1% | 3.9GiB |
Compared with
The TS web frameworks around nifra on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs nifra | |
|---|---|---|---|
| barejs | 4789 | +154% | head to head |
| elysia | 2649 | +40% | head to head |
| hono-bun | 2279 | +21% | head to head |
| hono-node | 1162 | -38% | head to head |
Compare nifra with any TS entry · Compare nifra with any entry, in any language · Every TS entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry