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 24210
- From: Peng Yu <pengyu.ut@xxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: slow startup of zsh (1x slower than bash)
- Date: Thu, 5 Sep 2019 15:45:24 -0500
- 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:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gd56tfKJiGFG+nT7XBzsq2x6ZqFWpNtttdN91eQTTHI=; b=QeF1MvMPl60DQWqYL8HQPbl80zy2qY2pp2pH+pErqJ2+9N1r/BFtar+zopCtDxduLZ Z2OEmCoiQmc441UZWKhMJ13nkHf1gvMeUGOSbEgCuyArEeJvExs45cTYYyufPwPeNKI4 cTXULb47nvTWHwDA2UA2pgpJ+C8pmqx0mAEfOhONYWcMA25MoA7Ch/fHdJkDSvLHCfGL RbgElgmpfkmwj5OaIYF2ZrVZ8EsHOc+yDbmlV4UL8HrkmIVABrX4MIMUOfGVFU/sH5HP 19Fwr5Pr6fNC4584jmKp2zFLvltee5doGK5KDBUHEFBEAUB/p6CWRsFqyFicjOi6ajKd AqjA==
- In-reply-to: <CAN=4vMqS0o6QBOXXxPL2dCJGQLv+t61B0R+=eUSXaai3qgA4hQ@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> <CAN=4vMqS0o6QBOXXxPL2dCJGQLv+t61B0R+=eUSXaai3qgA4hQ@mail.gmail.com>
>> Where is -d defined in the man page of zsh? I don't find it.
>
> From `zsh --help`:
>
> -d equivalent to --no-globalrcs
Can this be found in the manpage? I don't see it.
>> 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.
It is not for interactive use of zsh/bash. I am making scripts using
shells. 12 vs 6.7 ms that is 1x or 50% difference depending on which
way you consider the ratio, which is a quite significant difference.
--
Regards,
Peng
Messages sorted by:
Reverse Date,
Date,
Thread,
Author