On 12/08/2011 09:29 AM, Charles Wilson wrote:
Has anybody done a comparison between:
cygwin + libtool + dash/posh (e.g. small, fast shell -- without XSI)
cygwin + libtool + bash (e.g. big bloated slow shell -- with XSI)
to see which is better?
Because I installed mingw32 yesterday on my rarely used windows vista
home basic VM, I thought I'd do my compile an empty file 100 times test
on it.
With todays git, bash:
time (for x in {1..100}; do lt_HAVE_XSI_OPS=yes lt_HAVE_PLUSEQ_OP=yes
lt_HAVE_ARITH_OP=yes ./libtool --mode=compile --tag=CC gcc -c -o a.lo
a.c; done)
real 0m58.766s
user 0m5.315s
sys 0m31.981s
real 0m54.413s
user 0m5.380s
sys 0m31.143s
With dash
time (for x in {1..100}; do lt_HAVE_XSI_OPS=yes lt_HAVE_PLUSEQ_OP=no
lt_HAVE_ARITH_OP=yes dash ./libtool --mode=compile --tag=CC gcc -c -o
a.lo a.c; done)
real 0m32.089s
user 0m1.657s
sys 0m9.330s
real 0m29.905s
user 0m1.637s
sys 0m9.125s
I think dash might be the winner.
Peter