HttpArena

Web framework comparison: any two entries, any language

ntex is ahead of cinatra on 12 of the 21 tests they both run, and behind on 9. On the HTTP/1.1 composite cinatra scores 6508 and ntex 6209.

Pick any two of the 222 entries, in any language - the picker is grouped by language, and the two sides do not have to match. 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. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.

ProfileConnscinatrantexDeltacinatra p99ntex p99
Requests per second
Baseline4,0963,455,0043,396,907+2%1.69ms1.85ms
Pipelined4,09628,195,69323,155,552+22%5.33ms3.75ms
Short-lived4,0962,512,1102,650,693-5%6.56ms3.32ms
Async Delay32,0002,269,6222,262,5810%15.60ms18.40ms
JSON Comp4,096921,833820,143+12%13.20ms11.80ms
JSON Comp16,384887,671798,075+11%28.00ms29.10ms
JSON TLS4,0961,519,1771,702,941-11%70.08ms35.13ms
Static TLS1,024611,992845,477-28%55.79ms17.40ms
Echo5123,749,6373,932,723-5%279us310us
Echo4,0963,800,8854,055,738-6%1.57ms1.40ms
Echo16,3843,482,0803,705,983-6%6.29ms5.42ms
Echo Pipelined51249,551,28956,087,894-12%311us315us
Echo Pipelined4,09649,320,38758,501,267-16%1.87ms1.66ms
Echo Pipelined16,38445,636,50253,883,670-15%6.62ms6.57ms
Echo Short-lived5122,152,9352,259,611-5%642us557us
Echo Short-lived4,0962,415,0742,496,058-3%3.13ms2.42ms
Fixed-rate profiles: score out of 100
CON-1M1,000,00077.676.5+1%122us138us
CON-1M-TLS1,000,00072.474.4-3%138us111us
Latency-10K1,02486.374.2+16%100us118us
Latency-1M1,02490.781.7+11%168us177us
8Gbit51286.882.5+5%114us126us

Common comparisons

cinatra vs ntex · cinatra vs actix · cinatra vs vertx-graalvm · ntex vs actix · ntex vs vertx-graalvm · actix vs vertx-graalvm

Questions

Is cinatra faster than ntex?

ntex is ahead of cinatra on 12 of the 21 tests they both run, and behind on 9. On the HTTP/1.1 composite cinatra scores 6508 and ntex 6209. Both run on the same machine, in the same round, against the same profiles.

Is cinatra faster than actix?

cinatra is ahead of actix on 20 of the 21 tests they both run, and behind on 1. On the HTTP/1.1 composite cinatra scores 6508 and actix 5307. Both run on the same machine, in the same round, against the same profiles.

Is cinatra faster than vertx-graalvm?

cinatra is ahead of vertx-graalvm on 11 of the 11 tests they both run. On the HTTP/1.1 composite cinatra scores 6508 and vertx-graalvm 4363. Both run on the same machine, in the same round, against the same profiles.

Is ntex faster than actix?

ntex is ahead of actix on 28 of the 32 tests they both run, and behind on 4. On the HTTP/1.1 composite ntex scores 6209 and actix 5307. Both run on the same machine, in the same round, against the same profiles.

Which framework is fastest overall?

Among the web frameworks, cinatra holds the highest HTTP/1.1 composite, at 6508; among the HTTP engines, edixoi-kt holds the highest HTTP/1.1 composite, at 5789; among the experimental frameworks, viltrum holds the highest HTTP/1.1 composite, at 6886; among the reverse proxies and static-file servers, okena holds the highest HTTP/1.1 composite, at 5000. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. 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.

Can I compare frameworks written in different languages?

Yes - that is what this page is for. Every entry runs the same profiles on the same machine, so an F# entry and a C# one are measured the same way and the numbers line up. The per-language pages under Comparisons narrow the same table to one language when that is the choice you are making.

Results updated · One language at a time · Every entry, one page each · Open the leaderboard