This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc3.4.0/gcc3.3.2/icc8.0 compile-time performance comparison on MICOSL3's sources.
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 20 Apr 2004 12:23:29 +0200 (CEST)
- Subject: gcc3.4.0/gcc3.3.2/icc8.0 compile-time performance comparison on MICOSL3's sources.
Hello,
I have just tested speed of compilation with three compilers from subject
on our internal MICO SL3 project sources -- basically MICO 2.3.11 with 26
C++ files added in orb/security directory. I have tested only compilation
of orb directory and its subdirectories, since IMHO this is quite
representative for whole MICO. The meassurement was done for our typical
developer build with SL3 and debug enabled. Options used were:
gcc: -I../include -g -Wall -DPIC -fPIC -c
icc: -no-gcc -I../include -g -O0 -tpp5 -DPIC -fPIC -c
And the results are:
GCC 3.3.2
compiling orb directory with SL3 and debug:
real 29m8.449s
user 26m33.422s
sys 0m41.415s
linking libmico2.3.11.so:
real 2m13.495s
user 1m12.101s
sys 0m2.885s
libmico2.3.11.so's size:
$ ls -l libmico2.3.11.so
-r-xr-xr-x 1 karel karel 59923611 Apr 20 11:20 libmico2.3.11.so
$
GCC 3.4.0 20040415 (prerelease)
compiling orb directory with SL3 and debug:
real 21m45.883s
user 19m56.869s
sys 0m54.734s
linking libmico2.3.11.so:
real 0m19.476s
user 0m14.642s
sys 0m1.323s
libmico2.3.11.so's size:
$ ls -l libmico2.3.11.so
-r-xr-xr-x 1 karel karel 48265577 Apr 19 15:43 libmico2.3.11.so
$
ICC 8.0
compiling orb directory with SL3 and debug:
real 13m28.008s
user 11m36.436s
sys 1m16.516s
linking libmico2.3.11.so:
real 0m19.558s
user 0m17.637s
sys 0m1.224s
libmico2.3.11.so's size:
$ ls -l libmico2.3.11.so
-r-xr-xr-x 1 karel karel 41607491 Apr 19 16:00 libmico2.3.11.so
$
As you can see, GCC 3.4.0 is much faster than GCC 3.3.2 and so please
allow me to thank to all gcc's developers/testers who were working hard to
make 3.4.0 faster than previous release. IMHO this is really great
progress! Also I'm very pleased to see that not only 3.4.0 is faster but
also generates *.o files which are faster to link and assuming all debug
information is ok generated by 3.4.0 also resulting debug library is much
smaller.
Thanks you all!
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com