C web framework comparison: any two, head to head
httparena-io_uring is quicker than mongoose on 8 of the 9 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 7356 and 5844.
Pick any two of the 9 C entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. What each profile measures.
| Profile | Conns | httparena-io_uring req/sec | mongoose req/sec | Delta | httparena-io_uring p99 | mongoose p99 |
|---|---|---|---|---|---|---|
| Baseline | 4,096 | 4,212,470 | 3,707,598 | +14% | 1.32ms | 1.91ms |
| Short-lived | 4,096 | 2,734,486 | 2,701,933 | +1% | 1.89ms | 11.70ms |
| Async Delay | 32,000 | 2,760,127 | 2,668,972 | +3% | 12.90ms | 13.90ms |
| Latency-10K | 1,024 | 9,982 | 9,981 | +0% | 92.0us | 123.0us |
| Latency-1M | 1,024 | 997,661 | 997,592 | +0% | 157.0us | 167.0us |
| Latency-500K/8 | 1,024 | 482,965 | 474,223 | +2% | 2976768.0us | 2722816.0us |
| JSON TLS | 4,096 | 1,739,610 | 1,102,964 | +58% | 139.80ms | 44.64ms |
| 8Gbit | 512 | 49,222 | 49,363 | -0% | 245.0us | 126.0us |
| Static TLS | 1,024 | 1,091,993 | 611,058 | +79% | 25.44ms | 30.58ms |
Common comparisons
httparena-io_uring vs mongoose · httparena-io_uring vs cweb · httparena-io_uring vs libreactorng · mongoose vs cweb · mongoose vs libreactorng · cweb vs libreactorng
Questions
Is httparena-io_uring faster than mongoose?
httparena-io_uring is quicker than mongoose on 8 of the 9 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 7356 and 5844. Both run on the same machine, in the same round, against the same profiles.
Is httparena-io_uring faster than cweb?
httparena-io_uring is quicker than cweb on 5 of the 7 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 7356 and 4381. Both run on the same machine, in the same round, against the same profiles.
Is httparena-io_uring faster than libreactorng?
libreactorng is quicker than httparena-io_uring on 3 of the 5 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 7356 and 3778. Both run on the same machine, in the same round, against the same profiles.
Is mongoose faster than cweb?
cweb is quicker than mongoose on 10 of the 13 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 5844 and 4381. Both run on the same machine, in the same round, against the same profiles.
Which C framework is fastest overall?
httparena-io_uring holds the highest HTTP/1.1 composite of the C entries, at 7356. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.
Every C entry
Results updated · C composite ranking · Compare across languages · Other languages · Open the leaderboard