HttpArena
Comparisons

C web framework comparison: any two, head to head

nginx is quicker than h2o on 11 of the 18 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 678 and 550.

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
Baseline5123,065,3813,260,609-6%2.22ms1.77ms
Baseline4,0963,346,6983,641,609-8%6.77ms6.67ms
Pipelined5124,111,7154,669,801-12%8.32ms8.94ms
Pipelined4,0964,073,6734,938,603-18%35.40ms34.70ms
Short-lived5122,279,3162,185,016+4%1.37ms1.83ms
Short-lived4,0962,635,7622,651,569-1%6.73ms8.38ms
JSON4,0961,810,0411,491,320+21%8.73ms11.50ms
JSON TLS4,0961,430,1251,229,462+16%53.50ms290.08ms
Static1,0241,144,503452,811+153%31.18ms7.11ms
Static4,0961,141,713435,430+162%29.67ms50.49ms
Static6,8001,155,130421,018+174%32.24ms82.39ms
Static TLS1,024749,207374,332+100%41.38ms45.35ms
Static TLS4,096729,083315,314+131%86.98ms213.28ms
Static TLS6,800696,555295,941+135%165.70ms447.65ms
Baseline2563,509,92916,106,978-78%46.41ms15.81ms
Baseline1,0243,422,28415,633,023-78%149.24ms87.91ms
Static256820,230363,898+125%57.92ms504.73ms
Static1,024812,796341,251+138%188.44ms1.55s

Common comparisons

nginx vs h2o · nginx vs libreactorng · nginx vs ringzero · h2o vs libreactorng · h2o vs ringzero · libreactorng vs ringzero

Questions

Is nginx faster than h2o?

nginx is quicker than h2o on 11 of the 18 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 678 and 550. 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 6 of the 6 profiles they both run. On the HTTP/1.1 composite they score 678 and 191. Both run on the same machine, in the same round, against the same profiles.

Is nginx faster than ringzero?

ringzero is quicker than nginx on 4 of the 6 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 678 and 153. 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 6 of the 6 profiles they both run. On the HTTP/1.1 composite they score 550 and 191. 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 678. 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 · Other languages · Open the leaderboard