python_benchmark
Run performance benchmarks with pytest-benchmark, analyze execution times statistically, and compare results against baselines to identify regressions.
Instructions
Run performance benchmarks using pytest-benchmark with statistical analysis
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| json | No | Output results as JSON | |
| save | No | Save results to baseline | |
| warmup | No | Number of warmup iterations | |
| compare | No | Compare against saved baseline | |
| timeout | No | Command timeout in milliseconds | |
| directory | No | Working directory | |
| benchmarks | No | Benchmark pattern to run (e.g., test_benchmark_) |