fish-shell/benchmarks/benchmarks/glob.fish
2021-10-25 18:42:18 +02:00

8 lines
287 B
Fish

# Glob fish's source directory.
# This timing is bound to change if the repo does,
# 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 100)
echo $dir/../../**
end