From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17463 invoked by alias); 3 Apr 2012 18:28:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16978 Received: (qmail 8757 invoked from network); 3 Apr 2012 18:28:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qzmY7URdLS87luAo7QuDXbYQIgfq2LteikTmvDEdEqQ=; b=bxyxer2EQdpvxChTt/zQWhdTF0I1YFo5esZ/aildbN+vQALNpPmjpxkyTl1XN1nXTf jzLPn6/ucZjFjnkdpwbj7sYYNtP8z1qiAzQg3AoRGoywRBZALNblcGNMCgV3ZlKXUONa 9vRuzXtBt0DhEk2TkHFEe+7ixOUetIB+HMIHnaDXqJ/zZHoK/FEy62ae8k/VLHzU3Mf8 8NV+bB2t2UYKX0vIQw3tIWZZfKaAXjZtcTq5MM6/Ktp4W6yu39LJlhwhSHgEwBiXH651 ZqtKjILJTg/ikabsQv54Kh1eL8F+qkuI3sGtQ7N/aV8/s8JGnxySMDfp192wjFln/wPK K4pg== MIME-Version: 1.0 In-Reply-To: References: From: Kyle Partridge Date: Tue, 3 Apr 2012 11:28:30 -0700 Message-ID: Subject: Re: Slow ZSH To: Mikael Magnusson Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=f46d0444814778ffd004bcca7a4b --f46d0444814778ffd004bcca7a4b Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > On 3 April 2012 18:56, Kyle Partridge 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 > --f46d0444814778ffd004bcca7a4b--