This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation performance comparsion of c++ in gcc2.95.3 and gcc3.0.3
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Karel Gardas <kgardas at iol dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 16 Dec 2001 20:43:10 +0000
- Subject: Re: Compilation performance comparsion of c++ in gcc2.95.3 and gcc3.0.3
- References: <Pine.LNX.4.43.0112162002500.2946-100000@thinkpad.cgc.org>
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.