From c444ee2e6aaa2096ac5af33f7eabbd8127c3a3f1 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 25 Oct 2021 18:42:18 +0200 Subject: [PATCH] benchmarks: Add globbing --- benchmarks/benchmarks/glob.fish | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 benchmarks/benchmarks/glob.fish diff --git a/benchmarks/benchmarks/glob.fish b/benchmarks/benchmarks/glob.fish new file mode 100644 index 000000000..959b7aaa3 --- /dev/null +++ b/benchmarks/benchmarks/glob.fish @@ -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