Skip to content

Commit 656da17

Browse files
committed
Note on Conda package cache.
1 parent 451586c commit 656da17

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

benchmarks/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ The benchmark runner ([bm_runner.py](./bm_runner.py)) provides conveniences for
1919
common benchmark setup and run tasks, including replicating the automated
2020
overnight run locally. See `python bm_runner.py --help` for detail.
2121

22+
A significant portion of benchmark run time is environment management. Run-time
23+
can be reduced by placing the benchmark environment on the same file system as
24+
your
25+
[Conda package cache](https://conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html#specify-pkg-directories).
26+
The benchmark environment location is controlled via `delegated_env_commands`
27+
and `delegated_env_parent` in [asv.conf.json](asv.conf.json); either
28+
temporarily reconfigure these, or move your whole repo to the desired file
29+
system.
30+
2231
### Environment variables
2332

2433
* `OVERRIDE_TEST_DATA_REPOSITORY` - required - some benchmarks use

0 commit comments

Comments
 (0)