HttpArena
Comparisons

Web framework comparison: any two entries, any language

cinatra is ahead of ntex on 10 of the 19 tests they both run, and behind on 9. On the HTTP/1.1 composite ntex scores 6613 and cinatra 6349.

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

ProfileConnsntexcinatraDeltantex p99cinatra p99
Requests per second
Baseline4,0963,221,8063,442,230-6%1.91ms1.70ms
Pipelined4,09621,239,61628,675,137-26%4.10ms4.12ms
Short-lived4,0962,228,9542,574,306-13%26.70ms22.40ms
Async Delay32,0002,068,0602,193,885-6%19.70ms16.70ms
JSON Comp4,096702,772557,786+26%141.80ms181.70ms
JSON Comp16,384699,749543,800+29%545.80ms697.90ms
JSON TLS4,0961,380,407807,959+71%54.99ms143.86ms
Echo5123,790,3623,791,6730%307us304us
Echo4,0963,903,0253,776,822+3%1.55ms1.59ms
Echo16,3843,515,1403,422,511+3%6.36ms6.35ms
Echo Pipelined51249,983,16449,282,517+1%340us366us
Echo Pipelined4,09650,935,93248,125,942+6%1.91ms1.84ms
Echo Pipelined16,38446,162,40343,483,401+6%6.87ms10.60ms
Echo Short-lived5121,915,5942,008,030-5%460us469us
Echo Short-lived4,0962,367,3622,430,997-3%1.04ms1.05ms
Fixed-rate profiles: score out of 100
Latency-10K1,02473.287.3-16%117us102us
Latency-1M1,02478.991.3-14%191us172us
Latency-500K/81,02436.043.8-18%4.60s3.19s
8Gbit51281.825.2+225%125us37.36ms

Common comparisons

ntex vs cinatra · ntex vs actix · ntex vs fiber-tuned · cinatra vs actix · cinatra vs fiber-tuned · actix vs fiber-tuned

Questions

Is ntex faster than cinatra?

cinatra is ahead of ntex on 10 of the 19 tests they both run, and behind on 9. On the HTTP/1.1 composite ntex scores 6613 and cinatra 6349. 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 21 of the 31 tests they both run, and behind on 10. On the HTTP/1.1 composite ntex scores 6613 and actix 6322. Both run on the same machine, in the same round, against the same profiles.

Is ntex faster than fiber-tuned?

ntex is ahead of fiber-tuned on 12 of the 13 tests they both run, and behind on 1. On the HTTP/1.1 composite ntex scores 6613 and fiber-tuned 5859. 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 13 of the 19 tests they both run, and behind on 6. On the HTTP/1.1 composite cinatra scores 6349 and actix 6322. Both run on the same machine, in the same round, against the same profiles.

Which framework is fastest overall?

Among the web frameworks, dusty-tuned holds the highest HTTP/1.1 composite, at 7638; among the HTTP engines, edixoi-kt holds the highest HTTP/1.1 composite, at 6729; among the experimental frameworks, viltrum holds the highest HTTP/1.1 composite, at 7858; among the reverse proxies and static-file servers, agensio holds the highest HTTP/1.1 composite, at 4507. 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