Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,7 @@ tmp__NOBACKUP__
.DS_Store

# vscode stuff
.vscode
.vscode

# airspeed velocity
.asv
4 changes: 4 additions & 0 deletions asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
// on the local branch as well as the upstream using asv publish
"branches": ["HEAD", "upstream/main"],

"build_command": [
"python -m pip wheel --no-deps --no-build-isolation -w {build_cache_dir} {build_dir}"
],

// We include stdpopsim in the requirements matrix here because we use
// in the benchmarking scripts to get recombination maps.
"matrix": {
Expand Down
5 changes: 3 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,10 @@ on how to write and run these tests.

Benchmarks to measure performance are in the `benchmarks` folder and are run using
[airspeed velocity](https://asv.readthedocs.io/en/stable/index.html).
A system that runs the benchmarks on each push to the main branch.
A system runs the benchmarks on each push to the main branch.
These benchmarks can also be run locally to compare your branch with the main branch.
Your changes must be in a commit to be measured. To run the benchmarks:
Your changes must be in a commit to be measured. Install asv using `uv tool install asv`,
and then run the benchmarks:

```
asv run HEAD...main~1
Expand Down
Loading