Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: slow startup of zsh (1x slower than bash)



On Thu, Sep 5, 2019 at 10:30 PM Peng Yu <pengyu.ut@xxxxxxxxx> wrote:
>
> > You need to pass -d to zsh to make benchmarks fair.
>
> Where is -d defined in the man page of zsh? I don't find it.

From `zsh --help`:

  -d    equivalent to --no-globalrcs

> Here is my runtime result. There is still about 50% startup time
> overhead of zsh compared to bash. This is quite significant.

What are you trying to optimize? If you care about the startup time of
your interactive shell, 12 ms vs 6.7 ms doesn't make a difference.

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author