yutkat / dotfiles

The best and strongest dotfiles. Editor: Neovim; Shell: zsh(zinit, powerlevel10k); Terminal: WezTerm; Desktop: Hyprland, ulauncher, dunst; OS: ArchLinux (Ubuntu/Fedora/CentOS)
https://yutkat.github.io/dotfiles
MIT License
749 stars 49 forks source link

Zsh benchmark is meaningless #3376

Closed z0rc closed 4 months ago

z0rc commented 1 year ago

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.

yutkat commented 1 year ago

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

yutkat commented 4 months ago

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