C++ compile time (again)

Karel Gardas kgardas@objectsecurity.com
Fri Jun 13 15:52:00 GMT 2003


On Fri, 13 Jun 2003, Diego Novillo wrote:

> On Fri, 2003-06-13 at 11:31, Steven Bosscher wrote:
>
> > Yes but how?   Is anyone testing/publishing C++ compile time performance
> > on a regular basis?  There are three SPEC testers and an autocrasher,
> > but there's not enough C++ in there, as we've seen many times now...
> >
> I'm considering adding POOMA to the nightly testers if we ever get it to
> compile in less than a decade.  If anyone has a lighter-weight C++
> suite, I'd be happy to throw it in the mix.

You can use IMHO MICO well (http://www.mico.org). It's CORBA impl. in C++
and it's quite small - in comparison with for example ACE/TAO. You can use
simple:

cd mico
./configure --disable-static
time make

This way, you will compile a lot of services which involves running MICO
IDL compiler => you will also test performance of generated code.

If you would like to just compile some minimal build (12 minutes on 1GHz
PIII with gcc2.95.4), then you can use:

cd mico
./configure --disable-static --disable-coss
time make

You can also use --disable-optimize configure option to switch from -O2 to
-O0.

Thanks,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com



More information about the Gcc mailing list