A test to demonstrates performance tracking over time using ASV
pip install asvFor performance improvement, edit benchmarks/benchmarks.py:
- Reduce loop iterations
- Reduce data sizes
- Simplify calculations
For performance regression:
- Increase loop iterations
- Add more complex calculations
- Increase data processing
# Make your changes to benchmarks/benchmarks.py
git add -A
git commit -m "v2.6.0: Your performance change description" # Use your version number
git tag v2.6.0 # Use your own version number (v2.6.0, v2.7.0, etc.)asv run v2.6.0^! # Replace with your version numberasv publish
asv previewOpen http://localhost:8080 to see the new data point on the graphs.
- v2.1.0: Initial test benchmarks
- v2.2.0: Performance optimizations
- v2.3.0: Feature expansion (regression)
- v2.4.0: Partial recovery
- v2.5.0: Major optimization breakthrough
Each shows different performance patterns in the ASV graphs