From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: zsh-users@zsh.org
Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
Date: Sat, 12 Dec 2015 18:03:38 +0100 [thread overview]
Message-ID: <CAKc7PVBsUBY=d5etUHy_CjNFS4oWeaPkksF5AN0pdHNB2M-g-A@mail.gmail.com> (raw)
In-Reply-To: <566C4EA6.5050704@gmail.com>
On 12 December 2015 at 17:43, Piotr Karbowski <jabberuser@gmail.com> wrote:
> ...
> Actually it does not seems that 5.1.1 is much slower than 5.2. My report was
> wrong as the grep did not showed up for 20s as with first X files it wasn't
> finding anyting, here I've tested with ls.
>
> But anyways, if I drop the VFS caches with `echo 3 >
> /proc/sys/vm/drop_caches` before every test, the zsh 5.2 takes 5.546s and
> bash 4.3.42 takes 3.295 thus we can presume that the VFS layer on ext4
> filesystem I run here takes about 3.0s, rest is within the userspace.
I understand what you mean. With VSF optimizations Zsh was 5.546 - 3 =
~2.5, bash was 3.295 - 3 = 0.295.
Could you provide such result for 5.1.1? With VFS warmed up and
dropped, fresh? It's important for me as I worked on Zsh optimizations
recently, with Bart who did all of the code.
Best regards,
Sebastian Gniazdowski
next prev parent reply other threads:[~2015-12-12 17:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 19:01 KARBOWSKI Piotr
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 [this message]
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='CAKc7PVBsUBY=d5etUHy_CjNFS4oWeaPkksF5AN0pdHNB2M-g-A@mail.gmail.com' \
--to=sgniazdowski@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).