uWebSockets.js
Flagship · JS · engine: uWebSockets · standard configuration
uWebSockets.js, the Node binding of the uWebSockets C++ server, one cluster worker per core. Routing and body handling through the uWS App API, JSON.stringify per request, gzip through the Node zlib bindings.
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. 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 | 16 of 71 | 438 |
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 | 512 | 2,445,939 | 208us | 517us | 6655.9% | 997MiB |
| Connection | Baseline | 4,096 | 2,458,232 | 1.67ms | 3.05ms | 6701.6% | 984MiB |
| Connection | Pipelined | 512 | 16,898,716 | 484us | 1.32ms | 6741.4% | 805MiB |
| Connection | Pipelined | 4,096 | 17,098,041 | 3.83ms | 5.14ms | 6549.5% | 848MiB |
| Connection | Short-lived | 512 | 1,841,848 | 265us | 1.03ms | 6008.1% | 960MiB |
| Connection | Short-lived | 4,096 | 2,138,373 | 1.89ms | 7.13ms | 6514.7% | 1006MiB |
| Workload | JSON | 4,096 | 1,109,239 | 3.33ms | 10.30ms | 6668.2% | 1.1GiB |
| Workload | JSON Comp | 512 | 329,697 | 1.55ms | 6.94ms | 5923.6% | 7.0GiB |
| Workload | JSON Comp | 4,096 | 346,592 | 11.78ms | 33.50ms | 6345.6% | 7.5GiB |
| Workload | JSON Comp | 16,384 | 347,118 | 46.67ms | 107.60ms | 6285.3% | 7.6GiB |
| Workload | Upload | 32 | 3,070 | 10.37ms | 46.60ms | 1708.0% | 836MiB |
| Workload | Upload | 256 | 3,123 | 75.86ms | 291.70ms | 3240.3% | 883MiB |
How the benchmark is run · The machine · Add or fix an entry