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 21085
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
- Date: Sat, 12 Dec 2015 17:33:35 +0100
- 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 :content-type; bh=kpG5H6Qo7MxLPkrVg+L6FzPLDfzjqnn/408+hsXd+fA=; b=a0TKO5eklYJFeXM6y0JRQ5HnyTZExY//eQ1HR+euFbnqwvPl/UwRzTLpiqmEa7ediz 1bf7ccIVi1RlDSIBMvzaqLddcV/4JCQZ9ogBmsQ1PJOeljwV3s7LQzFHf6V2sAHXeQOR 6UiqClwBWRt+vP4KvNzAoS7LvUokIp4egCv2nzzCbdMzz4ap1LnI87lMxOUcJ5v6moNG uGw67btIHHoCMFyq3a9VDS2scUPc8tm6Z0514iR7xP0AcNdPV7q8Z/eZ0iE1jBugbm8U 9WWSBd9Zup5Dqt/W1ErVzA2lXLtS7IwiC4eerFe2Djmz4MwEVoPOAbHcrhzYHCczBn7b ac2Q==
- In-reply-to: <CAKc7PVDKGkNqt=Q=rpLUS76wE8vsZmAWCSyQtvXVnPuFtOe5DA@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> <566C4623.1020205@gmail.com> <CAKc7PVDKGkNqt=Q=rpLUS76wE8vsZmAWCSyQtvXVnPuFtOe5DA@mail.gmail.com>
PS. I wonder if operating system didn't cache the work that zsh has
done. In other words, in such situation, every following run of */*/*
will be fast. That's why I couldn't test this on my machine (which is
OS X) and I asked you to test.
If you are somehow able to overcome operating system optimizations
(i.e. e.g. every run of */*/* on 5.1.1 is 20 seconds long) then the
values you gave are reliable and usable. Otherwise, bash my benefit
from zsh run.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author