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 1,000 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 | 42 of 85 | 2632 |
Every result
Alpha Round, 14 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 | 672,146 | 4.99ms | 22.40ms | 6398.8% | 11.2GiB |
| Connection | Pipelined | 4,096 | 2,327,280 | 22.25ms | 30.00ms | 6527.8% | 5.7GiB |
| Connection | Short-lived | 4,096 | 289,060 | 2.40ms | 19.10ms | 3555.0% | 10.8GiB |
| Concurrency | Async Delay | 32,000 | 1,018,072 | 22.68ms | 26.30ms | 5417.0% | 7.3GiB |
| Efficiency | Latency-10K | 1,024 | 9,969 | 140.0us | 219.0us | 108.5% | 4.8GiB |
| Efficiency | Latency-1M | 1,024 | 996,200 | 351.6us | 984.0us | 5811.4% | 5.3GiB |
| Efficiency | Latency-500K/8 | 1,024 | 172,384 | 6513311.5us | 13258752.0us | 774.9% | 769MiB |
| Workload | JSON Comp | 4,096 | 137,824 | 19.78ms | 108.10ms | 6397.8% | 12.0GiB |
| Workload | JSON Comp | 16,384 | 133,580 | 34.92ms | 646.90ms | 6217.1% | 12.2GiB |
| Workload | JSON TLS | 4,096 | 570,364 | 6.80ms | 31.78ms | 6475.7% | 7.5GiB |
| Workload | 8Gbit | 512 | 49,324 | 299.4us | 766.0us | 1738.4% | 7.3GiB |
| Workload | Static TLS | 1,024 | 105,231 | 9.82ms | 58.00ms | 6457.2% | 7.5GiB |
| Database | Async DB | 1,024 | 182,652 | 5.03ms | 34.90ms | 5737.8% | 7.4GiB |
| Database | Fortunes | 1,024 | 71,567 | 12.67ms | 21.60ms | 6456.0% | 6.7GiB |
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 | |
|---|---|---|---|
| bun | 5373 | +104% | head to head |
| elysia | 3755 | +43% | head to head |
| hono-bun | 2976 | +13% | head to head |
| hono-node | 1665 | -37% | 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