[Insight-developers] Explicit instantiation

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Aug 25 05:28:39 EDT 2010


Le 24 août 10 à 20:50, Hans Johnson a écrit :

> N=1 test for explicit instantiation:  14.3% speed improvement in  
> compilations
>
> Mitigating factors:
> *** Only 1 part of the ITK has explicit instantiation (Common), and  
> that part of the tool kit has code that is for the most part  
> straight forward for compiliation/optimization (i.e. Very few  
> algorithmic items that tax the compilers optimizers).
> *** No simpleITK or wrapping options turned on.


a quick test: examples, tests and libraries turned on, everything else  
with default values, make -j8
without explicit instantiation: 535 seconds
with explicit instantiation: 594 seconds

that's 10% of speed degradation here

I'm running the same test with wrapitk/python. I'll let you know the  
result later.
I'll try to think to measure the size of the bin directory as well.

Gaëtan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100825/400e7a2c/attachment.pgp>


More information about the Insight-developers mailing list