Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: slow startup of zsh (1x slower than bash)
- X-seq: zsh-users 24209
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Peng Yu <pengyu.ut@xxxxxxxxx>
- Subject: Re: slow startup of zsh (1x slower than bash)
- Date: Thu, 5 Sep 2019 22:37:22 +0200
- Cc: julien.nicoulaud@xxxxxxxxx, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>, zsh-users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u9X15xqodqfx4XNld5jh2CGjCPW1bY6syUpDI4NnMyE=; b=NLsPwsf8UzDIGVKpPcqj3heYaTTK7Nj4lZ4KNXHgZOmXQQvSmvdMzDFLqTtESA8hGv vlp9Sl1OI61SditTuLBjpLjX4PCaipD+C6lWSgHnuOjAPs0cyra2D71MBy90PJNOo/D9 Kr4xuRquFX6uSkCsMSAiuLPtGOK6Sq2iG4K+Jw2hBEpMlfcTeeJAsj18QcpXPCd68YHG hrwMaGNavM4485tqvN/svfI3NcLtlTy6BKxEF0k14SuiYkH5G3j4FREN4a7L4+LkNNai tnR+bMn3huLM0EdODjBlsmAWj/Bbyd8s7Hh0Zq+lv09y9bJWLnkA98gGgh+r/IDS7eib zTRg==
- In-reply-to: <CABrM6wkvrMSpT=R22XYyA27hbqG75AyEuiamro9=Qs5kx2Skhg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABrM6wk-psFFZcZW+M7OwD0ZwrMbNk4MN7e9aaJF9kBOFsVK4w@mail.gmail.com> <CAKc7PVDGmfMxkUzjmyFxJY7fNhHV16Z3xhQpNXnjEwAMf6G9hQ@mail.gmail.com> <CABrM6w=B8BP6Pk4HsW+XGDv0bpC9fYtNdr80SS6BtqegXJNcUA@mail.gmail.com> <CA+mcLN5dpscPNhpsKoA0j8tvcUh2-A7KOX7wNQYFQ7q3sdg+SA@mail.gmail.com> <CABrM6wkGd4=ikqoZOreovU95MpPe1fparZ+5qse-8fZ4M=3-OQ@mail.gmail.com> <CABrM6wk+PG2jopGJ8OqpUz-yaXqKet6aZJk2Oc7jZbjS3kWa9A@mail.gmail.com> <CAN=4vMrczC24GEH45UBaOtQY7rthiyWupmhPdJA+VgKuBnzobg@mail.gmail.com> <CABrM6wkvrMSpT=R22XYyA27hbqG75AyEuiamro9=Qs5kx2Skhg@mail.gmail.com>
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