libtool
[Top][All Lists]
Advanced

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

Some astonishing timings!


From: Bruce Korb
Subject: Some astonishing timings!
Date: Sun, 13 May 2001 08:52:21 -0700

$ time ksh -c 'ct=0;while [ $ct -lt 20 ] ; do ct=`expr $ct + 1`
> ./ltmain gcc -I/usr/local/include -g -c -o ltmain.o ltmain.c > /dev/null 2>&1
> done'
   29.00s real    20.56s user     6.48s system

$ time ksh -c 'ct=0;while [ $ct -lt 20 ] ; do ct=`expr $ct + 1`
> ../=build/libtool gcc -I/usr/local/include -g -c -o \
> ltmain.o ltmain.c > /dev/null 2>&1 ; done'
   29.91s real    22.36s user     5.94s system

That's a 3% savings in real time and twice that in CPU cycles!!



reply via email to

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