From: Kyle Partridge <partkyle@gmail.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: Slow ZSH
Date: Tue, 3 Apr 2012 11:28:30 -0700 [thread overview]
Message-ID: <CALtajeVXAsdK-dLanWW5msX5WfnKLm+5EMakEE-B2JfT6Qn2hQ@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3SxWFy=cCuLgaXL9NA1b1Q0bRrHRMvdXnsnfCS4B9f0rA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 976 bytes --]
This is on OS X Lion, so the version bundled is 4.3.15. I'm on OS X, so I
had to install a newer version using brew (4.3.17).
That seems to be helping for now. I will try this out for a while to see if
it helps.
--
Thanks,
Kyle
On Tue, Apr 3, 2012 at 10:50 AM, Mikael Magnusson <mikachu@gmail.com> wrote:
> On 3 April 2012 18:56, Kyle Partridge <partkyle@gmail.com> wrote:
> > I have a slow loading zsh, where it sometimes takes longer than 10
> seconds
> > to get to a prompt.
> >
> > I think the problem is compinit - I've run "zsh -v" multiple times to try
> > and find a slow down, and that seems to be the part that it hangs on.
> >
> > Is there any way to make this run faster? Is there a better way to debug
> > this problem?
>
> Are you using 4.3.11-4.3.15? They have a feature enabled that causes
> the path hash to be populated a bit slower. <.10 didn't have the
> feature and .16+ lets you disable it and has it disabled by default.
>
> --
> Mikael Magnusson
>
next prev parent reply other threads:[~2012-04-03 18:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 16:56 Kyle Partridge
2012-04-03 17:50 ` Mikael Magnusson
2012-04-03 18:28 ` Kyle Partridge [this message]
2012-04-03 18:30 ` Mikael Magnusson
2012-04-09 13:37 ` Daniel Serodio (lists)
2012-04-09 13:49 ` TJ Luoma
2012-04-10 0:25 ` Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALtajeVXAsdK-dLanWW5msX5WfnKLm+5EMakEE-B2JfT6Qn2hQ@mail.gmail.com \
--to=partkyle@gmail.com \
--cc=mikachu@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).