toxi
Experimental · Rust · engine: hyper · standard configuration · completeness 4/4
Modular Rust web framework with typed request extractors.
Achievements
🥉 3 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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥉 Bronze | Test profile | Workload · 8Gbit | 3 of 5 |
| 🥉 Bronze | Test profile | Workload · JSON Comp | 3 of 5 |
| 🥉 Bronze | Test profile | Workload · JSON TLS | 3 of 5 |
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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 5 of 6 | 2028 |
Every result
Alpha Round, 8 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 293,837 | 12.41ms | 43.80ms | 1699.3% | 258MiB |
| Connection | Pipelined | 4,096 | 2,723,159 | 21.23ms | 91.30ms | 6441.0% | 226MiB |
| Connection | Short-lived | 4,096 | 252,880 | 14.16ms | 55.60ms | 1600.2% | 275MiB |
| Concurrency | Async Delay | 32,000 | 151,542 | 171.29ms | 313.90ms | 1230.8% | 1.4GiB |
| Workload | JSON Comp | 4,096 | 194,761 | 18.40ms | 61.90ms | 6274.9% | 717MiB |
| Workload | JSON Comp | 16,384 | 194,897 | 65.35ms | 207.10ms | 6173.2% | 1.1GiB |
| Workload | JSON TLS | 4,096 | 497,756 | 5.90ms | 66.08ms | 6274.5% | 346MiB |
| Workload | 8Gbit | 512 | 49,081 | 105.6us | 142.0us | 236.5% | 272MiB |
Compared with
The Rust entries around toxi on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs toxi | |
|---|---|---|---|
| actix | 6799 | +235% | head to head |
| rocket | 3072 | +51% | head to head |
| salvo | 2443 | +20% | head to head |
Compare toxi with any Rust entry · Compare toxi with any entry, in any language · Every Rust entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry