Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh slow and hogs cpu when using */*/*.ext on large file tree



Hello,

I've come a cross issue with zsh where using the */*/*.ebuild on Gentoo's portage tree take about 20 secounds and hogs 100% of single CPU core before it builds the list of files to act on.

Something like `grep foo */*/*.ebuild` does not even start the grep for 20 seconds.

Running `find . -maxdepth 3 -name \*.ebuild` or running `grep foo */*/*.ebuild` under bash does not seems to suffer from the same issue.

The system is rather powerful and the storage is on ssd thus I believe the issue is within zsh and not the hardware.

-- Piotr.



Messages sorted by: Reverse Date, Date, Thread, Author