workerman
Flagship · PHP · standard configuration
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
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 | 7 of 71 | 576 |
Every result
Alpha Round, 16 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,844,479 | 179us | 488us | 6423.3% | 193MiB |
| Connection | Baseline | 4,096 | 2,848,413 | 1.43ms | 3.05ms | 6310.7% | 220MiB |
| Connection | Pipelined | 512 | 3,637,410 | 2.25ms | 4.04ms | 6590.3% | 185MiB |
| Connection | Pipelined | 4,096 | 3,936,670 | 16.56ms | 21.20ms | 6320.1% | 221MiB |
| Connection | Short-lived | 512 | 1,967,016 | 246us | 1.97ms | 5577.4% | 193MiB |
| Connection | Short-lived | 4,096 | 2,215,363 | 1.81ms | 21.40ms | 6454.9% | 206MiB |
| Workload | JSON | 4,096 | 1,039,295 | 3.58ms | 70.40ms | 6684.7% | 211MiB |
| Workload | JSON TLS | 4,096 | 734,683 | 5.54ms | 5.54ms | 6308.3% | 419MiB |
| Workload | Upload | 32 | 596 | 53.45ms | 306.60ms | 2071.9% | 792MiB |
| Workload | Upload | 256 | 470 | 475.90ms | 2.13s | 5819.0% | 2.5GiB |
| Workload | Static | 1,024 | 292,011 | 3.52ms | 3.52ms | 6548.4% | 246MiB |
| Workload | Static | 4,096 | 287,254 | 16.02ms | 16.02ms | 6327.2% | 279MiB |
| Workload | Static | 6,800 | 285,448 | 46.60ms | 46.60ms | 6220.7% | 301MiB |
| Database | Async DB | 1,024 | 200,350 | 4.59ms | 24.00ms | 2694.3% | 203MiB |
| Multi-endpoint | API-4 | 256 | 39,709 | 5.00ms | 80.00ms | 249.4% | 41MiB |
| Multi-endpoint | API-16 | 1,024 | 123,488 | 6.47ms | 105.50ms | 1054.2% | 77MiB |
How the benchmark is run · The machine · Add or fix an entry