File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Generated by the [ benchmark workflow] ( .github/workflows/bench.yml ) .
44
5- Results are refreshed weekly or on-demand via ` workflow_dispatch ` . Latest numbers
6- are committed automatically to this file.
5+ # Benchmark results
76
8- Methodology: ` hyperfine --warmup N --runs M ` runs each tool's full pipeline
9- (discover + generate for Rust; 2x invocation for Python, since the tool requires
10- two passes to emit templates then the spec). RSS measured via ` /usr/bin/time -f %M ` .
7+ _ Run: 2026-04-22 22:31 UTC, commit ` 22ef2faa ` , runner: Linux 6.17.0-1011-azure_
118
12- Fixture:
13- - ** Synthetic** (~ 80 MB, 40k requests): generated via ` httpbin + mitmdump + hey `
14- during the workflow run — 8 endpoint shapes, 5k requests each. Represents a
15- realistic mid-sized capture; small fixtures are dominated by Python's interpreter
16- boot cost and don't reflect real-world processing performance.
9+ Fixture: 89 MB, 40k requests across 8 endpoint shapes (` bench-fixtures-v1 ` ).
1710
18- Run the benchmark manually: [ Actions → Benchmark → Run workflow ] ( ../../actions/workflows/bench.yml ) .
11+ ## Timing
1912
20- ---
13+ | Command | Mean [ s] | Min [ s] | Max [ s] | Relative |
14+ | :---| ---:| ---:| ---:| ---:|
15+ | ` Python mitmproxy2swagger ` | 44.757 ± 0.219 | 44.384 | 44.965 | 16.80 ± 0.26 |
16+ | ` Rust mitm2openapi ` | 2.663 ± 0.039 | 2.618 | 2.712 | 1.00 |
2117
22- _ (Seeded file — actual numbers appear after the first scheduled / manual run.)_
18+ ## Peak RSS
19+ | Tool | RSS |
20+ | ------| ----:|
21+ | Python mitmproxy2swagger | 46104 KB |
22+ | Rust mitm2openapi | 6168 KB |
You can’t perform that action at this time.
0 commit comments