From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: zsh-users@zsh.org
Subject: Re: zsh spinning for ages when I hit tab on directory
Date: Tue, 8 Nov 2011 14:58:09 +0100 [thread overview]
Message-ID: <20111108135809.GB1621@x4.trippels.de> (raw)
In-Reply-To: <20111108131022.GA1621@x4.trippels.de>
On 2011.11.08 at 14:10 +0100, Markus Trippelsdorf wrote:
> Zsh is busy spinning for minutes when I hit tab at the end of an
> directory. For example consider:
> ~ % /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0/man/man1/
> man1 % l
> total 1748
> drwxr-xr-x 2 root 72 Nov 8 13:37 .
> drwxr-xr-x 4 root 28 May 27 15:33 ..
> -rw-r--r-- 1 root 42888 Nov 8 13:37 cpp.1
> -rw-r--r-- 1 root 824844 Nov 8 13:37 g++.1
> -rw-r--r-- 1 root 824844 Nov 8 13:37 gcc.1
> -rw-r--r-- 1 root 24554 Nov 8 13:37 gcov.1
>
> When position the cursor after the man1/ of
> ~ % /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0/man/man1/
> and hit tab, zsh starts spinning:
>
> 96.79% libzsh-4.3.12.so [.] 0x7185f
> 0.12% [kernel] [k] handle_irq_event_percpu
> 0.07% libFLAC.so.8.2.0 [.] FLAC__bitreader_read_rice_signed_block
When I zoom into zsh with "perf top" I see:
69.44% zsh [.] patmatch
14.15% zsh [.] charrefinc
9.44% zsh [.] charnext
6.66% zsh [.] charref
...
--
Markus
next prev parent reply other threads:[~2011-11-08 13:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 13:10 Markus Trippelsdorf
2011-11-08 13:58 ` Markus Trippelsdorf [this message]
2011-11-08 14:21 ` Markus Trippelsdorf
2011-11-08 15:13 ` Bart Schaefer
2011-11-08 15:55 ` Mikael Magnusson
[not found] ` <111108071341.ZM3017__46451.674323953$1320765436$gmane$org@torch.brasslantern.com>
2011-11-08 15:35 ` Markus Trippelsdorf
2011-11-08 15:54 ` Bart Schaefer
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=20111108135809.GB1621@x4.trippels.de \
--to=markus@trippelsdorf.de \
--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).