HttpArena
Frameworks

ntex

Flagship · Rust · standard configuration · completeness 4/4

ntex 2 on its own tokio-backed runtime, default configuration. Routing and extractors through ntex::web, JSON through serde_json, gzip negotiated in the handler at level 1, json-tls on 8081 through rustls.

Achievements

🥇 4 Gold · 🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldFamily compositeComposite · HTTP/1.11 of 69
🥇 GoldWithin its languageRust · HTTP/1.11 of 7
🥇 GoldTest profileEfficiency · Latency-1M1 of 69
🥇 GoldTest profileWorkload · JSON TLS1 of 65
🥉 BronzeTest profileConnection · Baseline3 of 69

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.11 of 693716

Every result

Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline5122,107,752242us377us6706.9%60MiB
ConnectionBaseline4,0962,168,7121.89ms2.35ms6440.9%148MiB
ConnectionShort-lived5121,391,050357us2.84ms6339.0%82MiB
ConnectionShort-lived4,0961,449,1762.81ms29.00ms6007.2%142MiB
EfficiencyLatency-1M1,024998,354134.8us266.0us3823.9%59MiB
WorkloadJSON Comp512583,007865us6.21ms6526.9%90MiB
WorkloadJSON Comp4,096589,9346.93ms50.90ms6296.0%174MiB
WorkloadJSON Comp16,384569,32723.97ms75.10ms6242.2%373MiB
WorkloadJSON TLS4,0961,254,7633.24ms65.93ms6425.7%159MiB
WorkloadUpload3216204.81ms842.50ms1148.8%342MiB
WorkloadUpload256681.17s4.80s6233.2%975MiB

Compared with

The Rust entries around ntex on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs ntex
actix3357-10%head to head
tokio2858-23%head to head

Compare ntex with any Rust entry · Compare ntex with any entry, in any language · Every Rust entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry