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 21084
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: KARBOWSKI Piotr <piotr.karbowski@xxxxxxxxx>
- Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
- Date: Sat, 12 Dec 2015 17:24:08 +0100
- Cc: zsh-users@xxxxxxx
- 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=XanOTfWNOd4y13XBoECUE2/FGH73YpjNoHLllz4zKqk=; b=hOXD/rAi8v8yRsEYkV4v4zjI3FKLQmE3bsFBbG7LcCicLCAvQSfN+9tRU2Fqcv0Gc4 cy4Pjo2kjRwnbTsZ5n3xvPMzk6OhStSEoOMobTg6Aep/kVr/RNlqhEbN4iReBm1Toh30 f6CJ5k04fvHpUAzVeohe/MsiTh961EzKgFL+xUIzodppZBx0drnHrPUqB67qTMe6wR1N 4bMDQ3jhNx+iwrRn7G6rw6tMfdLOE2GKT2m9p3+z7oArcpiZ34SD8SVarpc07YAuFNd2 GFcfSW9/VewiGxgstATbsYkfC6bOzRL/7Z+pGvS16UqIHPsC3Oj39+YjaVyPngLraivy mBvA==
- In-reply-to: <566C4623.1020205@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> <566C4623.1020205@gmail.com>
On 12 December 2015 at 17:06, KARBOWSKI Piotr <piotr.karbowski@xxxxxxxxx> wrote:
> 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
So it's step from ~20s to 2.493? Very nice, not that I'm neglecting
your opinion about how this compares to Bash
Best Regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author