Compilation performance comparsion of c++ in gcc2.95.3 and gcc3.0.3

Neil Booth neil@daikokuya.demon.co.uk
Sun Dec 16 13:13:00 GMT 2001


Karel Gardas wrote:-

> I'm working on MICO project (http://www.mico.org) which is CORBA
> implementation in C++ and I was curious how much time spent compilation
> with different compilers from subject.
> 
> I've made simple benchmark and values are below.
> 
> gcc2.95.2 - compilation takes 23 minutes
> gcc3.0.3 - compilation takes 43 minutes
> 
> - these values are real time printed by time command under Debian
> GNU/Linux 3.0

The standard C++ libraries are completely different, so times are not
directly comparable.  The far more compliant implementation in 3.0
does take a lot longer to compile.

More interesting are comparisons using C, or 3.1 v. 3.0.

Neil.



More information about the Gcc mailing list