Re: Drastic jump in the time required for the test suite
- From
- Eric Wong <e@80x24.org>
- Date
- Oct 27, 2016, 20:41 UTC
- Message-ID
- <20161027204129.GA21619@starla>
- In-Reply-To
- <alpine.DEB.2.20.1610191049040.3847@virtualbox>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> I know you are a fan of testing things thoroughly in the test suite, but I > have to say that it is getting out of hand, in particular due to our > over-use of shell script idioms (which really only run fast on Linux, not > a good idea for a portable software).
How much effort would it take to optimize a /bin/sh?
Would replacing uses of fork+execve posix_spawn be fast and portable enough?
Even on Linux, performance sucks for me. I've been hoping dash can use posix_spawn (or using vfork directly) to see if that can help things.
That won't help with subshells, though...
(I'm back to using a Centrino laptop from 2005)