mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 20:33:44 +08:00
benchmarks: Run glob only once
We assume that you use something like hyperfine to run warmups, like our driver script does. This allows the script to be run e.g. in valgrind without being too much of a pain in the gluteus.
This commit is contained in:
parent
8d2fa4ae95
commit
ae24d98356
|
@ -3,6 +3,5 @@
|
|||
# so it's best to build two fishes, check out one version of the repo,
|
||||
# and then run this script with both.
|
||||
set -l dir (dirname (status current-filename))
|
||||
for i in (seq 1 10)
|
||||
echo $dir/../../**
|
||||
end
|
||||
# No repetitions, this is plenty slow enough.
|
||||
echo $dir/../../**
|
||||
|
|
Loading…
Reference in New Issue
Block a user