Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
- X-seq: zsh-users 21083
- From: KARBOWSKI Piotr <piotr.karbowski@xxxxxxxxx>
- To: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
- Date: Sat, 12 Dec 2015 17:06:59 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=5o6FH7Gju9NgljMZHN9WkAY/G2nog7XpLIylT4CkjH4=; b=oqwjyCCfMUGScAquXrJbw55LscHnhRxgBaCiVb73dRFocHHfLIfshYUbnbc5nW9KN+ TpZNT7/EEzEs8mDSNwocryclUI9IwVCifdYbHeLEAd7gxWvs5iFxAJMe4gxawkRKozqv Z881Z7aHW7k1sStJCOx6Oay0ASq2tdSTUMzXR6uUSAE0GiMYacZgcBGLGACtad4NHC2S Azg72h15CB7VOqZ9BkX/CrLh/yI51k7XRjc8SPRtCq3BI8ZCLV4vj79boI9FPAo0LUBE HlhKXlPu8nZT6Wld0d9VU4IdDYluIRXHEkZ0bGgpHdizwnmRM+Pcq8PNKTIcgaCPQ6Xm xRvA==
- In-reply-to: <CAKc7PVCWwtjgrT3UC1X7a7DkD7KXS02SdDwbA7Zu66fw_SDrKw@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>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <566B1D81.2090106@gmail.com> <CAKc7PVCWwtjgrT3UC1X7a7DkD7KXS02SdDwbA7Zu66fw_SDrKw@mail.gmail.com>
Hello,
On 12/11/2015 10:46 PM, Sebastian Gniazdowski wrote:
What version of Zsh? 5.2 has optimizations that could help. Could you
compare speeds?
That was 5.1.1, update to 5.2 and it seems to be faster, but still many
times slower than bash.
# time zsh -c 'cd /usr/portage && ls */*/*.ebuild >/dev/null'
zsh -c 'cd /usr/portage && ls */*/*.ebuild >/dev/null' 2.36s user 0.13s
system 99% cpu 2.493 total
# time bash -c 'cd /usr/portage && ls */*/*.ebuild >/dev/null'
bash -c 'cd /usr/portage && ls */*/*.ebuild >/dev/null' 0.12s user
0.11s system 98% cpu 0.236 total
-- Piotr.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author