hyperf
Flagship · PHP · engine: swoole · standard configuration
A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
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 | 49 of 71 | 158 |
| WebSocket | 20 of 20 | 10 |
Every result
Alpha Round, 21 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 | 365,205 | 1.40ms | 1.91ms | 3550.4% | 1.9GiB |
| Connection | Baseline | 4,096 | 387,711 | 8.41ms | 12.90ms | 3407.8% | 1.9GiB |
| Connection | Pipelined | 512 | 478,071 | 17.14ms | 20.50ms | 3454.9% | 1.8GiB |
| Connection | Pipelined | 4,096 | 466,686 | 117.55ms | 300.30ms | 3578.6% | 1.9GiB |
| Connection | Short-lived | 512 | 279,032 | 1.83ms | 3.05ms | 3306.0% | 1.8GiB |
| Connection | Short-lived | 4,096 | 294,276 | 10.41ms | 17.80ms | 3202.2% | 1.9GiB |
| Workload | JSON | 4,096 | 253,641 | 12.90ms | 20.60ms | 3621.7% | 1.9GiB |
| Workload | JSON Comp | 512 | 226,181 | 2.26ms | 3.53ms | 5231.8% | 1.9GiB |
| Workload | JSON Comp | 4,096 | 242,307 | 13.16ms | 22.80ms | 4964.9% | 1.9GiB |
| Workload | JSON Comp | 16,384 | 241,986 | 27.59ms | 47.10ms | 4760.3% | 1.9GiB |
| Workload | Upload | 32 | 128 | 238.95ms | 1.04s | 989.2% | 2.3GiB |
| Workload | Upload | 256 | 161 | 949.70ms | 4.58s | 923.6% | 3.9GiB |
| Workload | Static | 1,024 | 82,965 | 12.20ms | - | 886.7% | 1.8GiB |
| Workload | Static | 4,096 | 82,391 | 45.37ms | - | 886.5% | 1.9GiB |
| Workload | Static | 6,800 | 81,263 | 74.38ms | - | 873.9% | 1.9GiB |
| Database | Async DB | 1,024 | 63,281 | 15.62ms | 34.90ms | 6369.7% | 2.0GiB |
| Multi-endpoint | API-4 | 256 | 12,256 | 20.65ms | 52.80ms | 403.4% | 1.9GiB |
| Multi-endpoint | API-16 | 1,024 | 36,806 | 26.32ms | 69.40ms | 1906.9% | 2.0GiB |
| WebSocket | Echo | 512 | 431,538 | 1.19ms | 1.64ms | 1658.0% | 1.8GiB |
| WebSocket | Echo | 4,096 | 429,659 | 8.23ms | 10.50ms | 1564.7% | 1.9GiB |
| WebSocket | Echo | 16,384 | 414,613 | 10.30ms | 13.90ms | 1480.3% | 2.0GiB |
How the benchmark is run · The machine · Add or fix an entry