[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Slow build times on Mac OS X
On Thu, Apr 23, 2009 at 06:31:38PM +0200, Hubert Feyrer wrote:
> On Thu, 23 Apr 2009, Matthias Scheler wrote:
> >Shell First build time Second build time
> >/bin/sh (bash) 19mins 25secs 19mins 34secs
> >/bin/zsh 16mins 44secs 16mins 30secs
> >/usr/pkg/bin/pdksh 13mins 56secs 13mins 55secs
> >So it seems to be worthwile to use "pdksh" under Mac OS X.
> What do you get with /bin/ksh?
Good idea. It is actually the fastest. I've also tested bash 4.0.0
from "pkgsrc" which is even slower than the bundled bash 3.2.17.
Shell First build time Second build time
/bin/sh (bash) 19mins 25secs 19mins 34secs
/bin/zsh 16mins 44secs 16mins 30secs
/usr/pkg/bin/pdksh 13mins 56secs 13mins 55secs
/bin/ksh 13mins 16secs 13mins 05secs
/usr/pkg/bin/bash 19mins 48secs 19mins 45secs
Unless there are any objection I'll switch Mac OS X (Leopard to
start with) to "/bin/ksh" after a reasonable amount of testing.
P.S.: These number also demonstrate that it would be very worthwhile
to provide C replacements for the buildlink wrappers.
Matthias Scheler http://zhadum.org.uk/
Main Index |
Thread Index |