HttpArena
Comparisons

C web framework comparison: any two, head to head

h2o is quicker than nginx on 5 of the 8 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 4710 and 3936.

Pick any two of the 6 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.

ProfileConnsnginx req/sech2o req/secDeltanginx p99h2o p99
Baseline4,0963,284,5133,641,609-10%6.79ms6.67ms
Pipelined4,0964,037,3454,938,603-18%35.90ms34.70ms
Short-lived4,0962,626,2972,651,569-1%7.65ms8.38ms
JSON TLS4,0961,313,7551,229,462+7%52.31ms290.08ms
Baseline2563,414,75016,106,978-79%46.53ms15.81ms
Baseline1,0243,320,28515,633,023-79%151.79ms87.91ms
Static256802,090363,898+120%76.31ms504.73ms
Static1,024796,607341,251+133%279.54ms1.55s

Common comparisons

nginx vs h2o · nginx vs libreactorng · nginx vs libioma · h2o vs libreactorng · h2o vs libioma · libreactorng vs libioma

Questions

Is nginx faster than h2o?

h2o is quicker than nginx on 5 of the 8 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 4710 and 3936. Both run on the same machine, in the same round, against the same profiles.

Is nginx faster than libreactorng?

libreactorng is quicker than nginx on 3 of the 3 profiles they both run. On the HTTP/1.1 composite they score 4710 and 3828. Both run on the same machine, in the same round, against the same profiles.

Is nginx faster than libioma?

libioma is quicker than nginx on 2 of the 2 profiles they both run. On the HTTP/1.1 composite they score 4710 and 3819. Both run on the same machine, in the same round, against the same profiles.

Is h2o faster than libreactorng?

libreactorng is quicker than h2o on 3 of the 3 profiles they both run. On the HTTP/1.1 composite they score 3936 and 3828. Both run on the same machine, in the same round, against the same profiles.

Which C framework is fastest overall?

nginx holds the highest HTTP/1.1 composite of the C entries, at 4710. 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