Performance benchmarks for the scikit-bio library.
This repository contains performance benchmarks for scikit-bio using ASV (airspeed velocity). The benchmarks track performance across different releases to identify regressions and improvements over time.
🔗 View Live Results: https://scikit.bio/scikit-bio-benchmarks
- Benchmarking of scikit-bio releases
- Performance tracking across versions
- Interactive web interface for exploring results
- GitHub Actions integration for automated deployment
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Add your benchmarks following existing patterns
- Test locally
- Submit a pull request
For benchmark ideas, see the scikit-bio documentation or check existing GitHub issues.
Clone the repository:
# or clone your own fork of the repository git clone https://github.com/scikit-bio/scikit-bio-benchmarks.git cd scikit-bio-benchmarks
Install dependencies:
pip install asv pip install scikit-bio
Run benchmarks:
# Quick benchmarks for current version asv run --quick # Benchmark specific version asv run 0.6.3^!
Generate and view results:
asv publish asv preview
This repository uses GitHub Actions to benchmark new scikit-bio releases. To add one:
- Open a PR: Add the new release version (e.g.,
0.7.3) toversions.txt. - Test run: Opening the PR triggers a benchmark run to verify everything works. No results are deployed.
- Merge: Merging the PR runs the full benchmarks and deploys the HTML reports to GitHub Pages.
Key configuration files:
asv.conf.json: ASV configuration and build settingsversions.txt: List of scikit-bio versions to benchmark.github/workflows/benchmark.yml: Automated benchmarking workflow
scikit-bio-benchmarks is available under the new BSD license. See LICENSE.txt for scikit-bio-benchmarks's license.