dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Zsh benchmark is meaningless

Open z0rc opened this issue 1 year ago • 1 comments

Describe the bug Timing zsh -lic "exit" (as in https://github.com/yutkat/dotfiles/blob/main/.github/scripts/benchmark.sh#L5) is not a benchmark, as its results are not what you expect. For details why it is so, read https://github.com/romkatv/zsh-bench#how-not-to-benchmark

Additional context dotfiles.github.io says about this repo as "Using CI to test and measure startup speed.", but this statement isn't true.

z0rc avatar Jun 15 '23 16:06 z0rc

Thanks for the info, I knew I could measure correctly if I used zsh-bench. I'll try switching next time.

yutkat avatar Jun 16 '23 00:06 yutkat

Fixed https://github.com/yutkat/dotfiles/pull/3540/files

yutkat avatar May 04 '24 08:05 yutkat