Roman Perepelitsa

Results 648 comments of Roman Perepelitsa

Cool. Do send a PR. In the meantime I sent them a PR: https://github.com/rossmacarthur/zsh-plugin-manager-benchmark/pull/13. Edit: It appears that zsh4humans beats all plugin managers on "load" and "install" benchmarks, even though...

What's the motivation for the PR?

We aren't doing science here. The purpose of zsh-bench is to optimize code. Neither mean nor stddev help with this.

The noise comes from all sort of sources that are unrelated to the code we care about: from other applications, from CPU frequency scaling, etc. We don't want noise, so...

@strager The answer to your first question is "it depends". The second is an easy "no": stddev is irrelevant when looking at the min. You should see it if you...

> If I run the zsh-bench in `master` rn twice without changing any configs and set the iterations to 32, I'll still get slightly different results. Therefore, how can I...

zsh-bench is a tool that I use to optimize my code. This code's performance variance comes solely from the outside. Hence min gets rid of unwanted noise.

I might be wrong. Can you show the part of my code that has intrinsic performance variance?

Have you tried disabling all plugins except for powerlevel10k?

See https://github.com/romkatv/powerlevel10k#how-do-i-add-username-andor-hostname-to-prompt. And https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#weird-things-happen-after-typing-source-zshrc