summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Goswami <rog32@hi.is>2022-12-26 03:38:44 +0530
committerRohit Goswami <rog32@hi.is>2022-12-26 03:38:44 +0530
commit3e1090e7cb2ec78ae1a7a8ef89e897697cc6fb17 (patch)
treeae330bb466615970304aa79cc8690d9de6fe307d
parent1adc626354456d9c4604351dd40af5865068878a (diff)
downloadnumpy-3e1090e7cb2ec78ae1a7a8ef89e897697cc6fb17.tar.gz
DOC: Cleanup and simplify with ASV
-rw-r--r--benchmarks/README.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/benchmarks/README.rst b/benchmarks/README.rst
index 59f503e35..b6dd7af2e 100644
--- a/benchmarks/README.rst
+++ b/benchmarks/README.rst
@@ -78,12 +78,11 @@ To benchmark or visualize only releases on different machines locally, the tags
# Get commits for tags
# delete tag_commits.txt before re-runs
for gtag in $(git tag --list --sort taggerdate | grep "^v"); do
- git log $gtag --oneline -n1 --decorate=no | awk -v gtg="$gtag" '{print $1, gtg;}' >> tag_commits.txt
- done
- # Take last 20
- for commitLine in $(tail --lines=20 tag_commits.txt); do
- asv run $(echo $commitLine | awk '{print $1}')^!
+ git log $gtag --oneline -n1 --decorate=no | awk '{print $1;}' >> tag_commits.txt
done
+ # Use the last 20
+ tail --lines=20 tag_commits.txt > 20_vers.txt
+ asv run HASHFILE:20_vers.txt
# Publish and view
asv publish
asv preview