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



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