mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
benchmarks: Add globbing
This commit is contained in:
parent
18bb5f1f7e
commit
c444ee2e6a
1 changed files with 8 additions and 0 deletions
8
benchmarks/benchmarks/glob.fish
Normal file
8
benchmarks/benchmarks/glob.fish
Normal file
|
@ -0,0 +1,8 @@
|
|||
# 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
|
Loading…
Reference in a new issue