bottle
Flagship · Python · engine: gunicorn · tuned configuration · completeness 4/4
Fast, simple and lightweight WSGI micro web-framework for Python
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 | 91 of 93 | 289 |
Every result
Alpha Round, 11 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 | 107,925 | 20.94ms | 120.40ms | 3397.0% | 2.5GiB |
| Connection | Pipelined | 4,096 | 124,318 | 18.26ms | 22.10ms | 2945.7% | 2.5GiB |
| Connection | Short-lived | 4,096 | 119,299 | 15.14ms | 21.30ms | 4520.8% | 2.5GiB |
| Concurrency | Async Delay | 32,000 | 5,403 | 402.26ms | 913.00ms | 253.6% | 2.5GiB |
| Efficiency | Latency-10K | 1,024 | 9,979 | 451.7us | 6746.0us | 252.4% | 2.5GiB |
| Efficiency | Latency-1M | 1,024 | 108,003 | 8772038.5us | 17620992.0us | 4073.6% | 2.5GiB |
| Efficiency | Latency-500K/8 | 1,024 | 28,799 | 9403109.3us | 18620416.0us | 761.7% | 396MiB |
| Workload | JSON TLS | 4,096 | 7,150 | 6.65ms | 6.65ms | 1873.0% | 2.5GiB |
| Workload | 8Gbit | 512 | 17,958 | 1564616.2us | 3095552.0us | 4913.3% | 2.6GiB |
| Workload | Static TLS | 1,024 | 9,110 | 9.60ms | 60.10ms | 2775.9% | 2.6GiB |
| Database | Async DB | 1,024 | 54,308 | 18.74ms | 20.10ms | 5090.0% | 2.6GiB |
Compared with
The Python entries around bottle on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs bottle | |
|---|---|---|---|
| fastpysgi-wsgi | 3148 | +989% | head to head |
| slimeweb | 865 | +199% | head to head |
| flask | 343 | +19% | head to head |
| django | 227 | -21% | head to head |
Compare bottle with any Python entry · Compare bottle with any entry, in any language · Every Python entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry