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 23802
- From: dana <dana@xxxxxxx>
- To: Peng Yu <pengyu.ut@xxxxxxxxx>
- Subject: Re: slow startup of zsh (1x slower than bash)
- Date: Fri, 7 Dec 2018 12:06:12 -0600
- Cc: julien.nicoulaud@xxxxxxxxx, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>, zsh-users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xS3QLwkd1ya/9K5nJW4oGXzFYErTDvPVDTfCNOpf8sw=; b=JmOXaLAxT5ZG6bKY+s5K1YpHlOSyI4kVSH3nDmZULX3mOTT+XITpRvOBnc2Lz24A+u XbVXiouugzjI9FrPi24wE1nG6RdeRVf9BPnRLf8AF8ooaJz09tGUFYoZ9C6KQk6tr7VH I/aGdYXl4FpogITrG7/gncSLPS0lDcZ3HGv7FnDPbyNZYmQ13BH+nBX6icgfQUB3R2R4 8HvpiFe9uyEDMrEqc7rOa2cCArvTAV8PCtbdFcz6TSIT4KcfsQ4BvcMdEuef4hQVmo96 IRl2kPzMuadjo2l4ZPQfEto2tmGyll7lC68h/wj/Tf/TFzKdnk440lhB7M30f0CW4UXE pCyw==
- In-reply-to: <CABrM6wkGd4=ikqoZOreovU95MpPe1fparZ+5qse-8fZ4M=3-OQ@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>
Some of the people on #zsh have seen different results, but `zsh -f`'s start-up
over-head has always been higher for me on every platform i've tested
(specifically Linux@ARM, Linux@x64, and macOS@x64). It's especially noticeable
on the Mac — but all process over-heads are exaggerated on the Mac, so.
I don't worry about it too much, because you make up for it as soon as you're
able to do something that would have required a fork() in another shell, like
sorting an array or resolving a symlink or matching files by attributes.
I suppose it might be annoying to use it for an httpd or Make shell though
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author