[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -exec test (use which to only find test once)

From: Bernhard Voelker
Subject: Re: -exec test (use which to only find test once)
Date: Thu, 26 Mar 2015 01:53:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/26/2015 01:40 AM, Peng Yu wrote:
> For my case, it is about 10% time difference.

This is quite much - well, a real program other than test would
probably do much more processing and therefore making the overhead
for searching the executable in PATH make smaller in percentage.
How does your $PATH look like, i.e., what directory entries are
before the one of $(which test)?  Is there a remote file system
among these entries?  What if you move the one for $(which test)
to the beginning of $PATH?

Have a nice day,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]