Skip to content

Commit

Permalink
Make bench_shells can take optional arguments to delegrate hyperfine
Browse files Browse the repository at this point in the history
Such as `bench_shell --export-markdown -`
  • Loading branch information
kachick committed Feb 5, 2025
1 parent 860ec33 commit 3961a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/bench_shells/bench_shells.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# zsh should be first, because it often makes much slower with the completion
hyperfine --warmup 1 --runs 3 --shell none \
hyperfine --warmup 1 --runs 3 --shell none "$@" \
'zsh --interactive -c exit' \
'zsh --no-rcs --interactive -c exit' \
'bash -i -c exit' \
Expand Down

0 comments on commit 3961a2b

Please sign in to comment.