zsh-users
 help / color / mirror / code / Atom feed
From: KARBOWSKI Piotr <piotr.karbowski@gmail.com>
To: zsh-users@zsh.org
Subject: zsh slow and hogs cpu when using */*/*.ext on large file tree
Date: Fri, 11 Dec 2015 20:01:21 +0100	[thread overview]
Message-ID: <566B1D81.2090106@gmail.com> (raw)

Hello,

I've come a cross issue with zsh where using the */*/*.ebuild on 
Gentoo's portage tree take about 20 secounds and hogs 100% of single CPU 
core before it builds the list of files to act on.

Something like `grep foo */*/*.ebuild` does not even start the grep for 
20 seconds.

Running `find . -maxdepth 3 -name \*.ebuild` or running `grep foo 
*/*/*.ebuild` under bash does not seems to suffer from the same issue.

The system is rather powerful and the storage is on ssd thus I believe 
the issue is within zsh and not the hardware.

-- Piotr.


             reply	other threads:[~2015-12-11 19:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 19:01 KARBOWSKI Piotr [this message]
2015-12-11 21:46 ` Sebastian Gniazdowski
2015-12-12 16:06   ` KARBOWSKI Piotr
2015-12-12 16:24     ` Sebastian Gniazdowski
2015-12-12 16:33       ` Sebastian Gniazdowski
2015-12-12 16:43         ` Piotr Karbowski
2015-12-12 17:03           ` Sebastian Gniazdowski
2015-12-12 17:18             ` Sebastian Gniazdowski
2015-12-12 17:42           ` 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=566B1D81.2090106@gmail.com \
    --to=piotr.karbowski@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).