HttpArena
Comparisons

C web framework comparison: any two, head to head

mongoose is quicker than nginx on 2 of the 4 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 5902 and 4077.

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

ProfileConnsmongoose req/secnginx req/secDeltamongoose p99nginx p99
Baseline4,0963,707,5983,284,513+13%1.91ms6.79ms
Short-lived4,0962,701,9332,626,297+3%11.70ms7.65ms
JSON TLS4,0961,102,9641,313,755-16%44.64ms52.31ms
Static TLS1,024611,058720,869-15%30.58ms29.93ms

Common comparisons

mongoose vs nginx · mongoose vs libreactorng · mongoose vs libioma · nginx vs libreactorng · nginx vs libioma · libreactorng vs libioma

Questions

Is mongoose faster than nginx?

mongoose is quicker than nginx on 2 of the 4 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 5902 and 4077. Both run on the same machine, in the same round, against the same profiles.

Is mongoose faster than libreactorng?

libreactorng is quicker than mongoose on 4 of the 5 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 5902 and 3779. Both run on the same machine, in the same round, against the same profiles.

Is mongoose faster than libioma?

libioma is quicker than mongoose on 5 of the 5 profiles they both run. On the HTTP/1.1 composite they score 5902 and 3773. 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 4077 and 3779. Both run on the same machine, in the same round, against the same profiles.

Which C framework is fastest overall?

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