summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2023-01-02 14:55:25 +0200
committerGitHub <noreply@github.com>2023-01-02 14:55:25 +0200
commit6efe7f0e1652c9ca5a316fb1cc16264733ff69b7 (patch)
tree39dff3fd31412afc6afb64c030d1333bebb99458
parent922c477213244f668af27b4b1f833e02bd914c9c (diff)
downloadnumpy-6efe7f0e1652c9ca5a316fb1cc16264733ff69b7.tar.gz
DOC: describe the quick command
-rw-r--r--benchmarks/README.rst5
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::