diff options
author | Matti Picus <matti.picus@gmail.com> | 2023-01-02 14:55:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 14:55:25 +0200 |
commit | 6efe7f0e1652c9ca5a316fb1cc16264733ff69b7 (patch) | |
tree | 39dff3fd31412afc6afb64c030d1333bebb99458 | |
parent | 922c477213244f668af27b4b1f833e02bd914c9c (diff) | |
download | numpy-6efe7f0e1652c9ca5a316fb1cc16264733ff69b7.tar.gz |
DOC: describe the quick command
-rw-r--r-- | benchmarks/README.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/README.rst b/benchmarks/README.rst index c02ccfb5d..bff1bf882 100644 --- a/benchmarks/README.rst +++ b/benchmarks/README.rst @@ -40,9 +40,10 @@ For **testing** benchmarks locally, it may be better to run these without replications:: cd benchmarks/ - asv run -n -e --python=same -q -b $REGEXP + export REGEXP="bench.*Ufunc" + asv run --dry-run --show-stderr --python=same --quick -b $REGEXP -Where the regular expression used to match benchmarks is stored in ``$REGEXP``. +Where the regular expression used to match benchmarks is stored in ``$REGEXP``, and `--quick` is used to avoid repititions. To run benchmarks from a particular benchmark module, such as ``bench_core.py``, simply append the filename without the extension:: |