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 automatically benchmark new scikit-bio releases:
- Manual Trigger: Go to Actions → "Benchmark Specific Releases" → "Run workflow"
- Add New Version: Enter the new release version (e.g.,
0.6.4
) - Deploy: Results are automatically published to GitHub Pages
The workflow will:
- Add the new version to
versions.txt
- Run benchmarks for the specified version
- Generate HTML reports
- Deploy to GitHub Pages
- Commit the updated version list
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.