From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3097 invoked by alias); 12 Dec 2015 16:33:57 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21085 Received: (qmail 9450 invoked from network); 12 Dec 2015 16:33:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== X-Received: by 10.112.205.10 with SMTP id lc10mr9875117lbc.31.1449938034884; Sat, 12 Dec 2015 08:33:54 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <566B1D81.2090106@gmail.com> <566C4623.1020205@gmail.com> From: Sebastian Gniazdowski Date: Sat, 12 Dec 2015 17:33:35 +0100 Message-ID: Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 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