[Insight-developers] Explicit instantiation

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


Le 25 août 10 à 11:28, Gaëtan Lehmann a écrit :

>
> 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.


wrapitk/python on, libraries on, review on, examples and tests off

without EI: 567 sec, bin size: 503MB
with EI: 714 sec, bin size: 500MB

26% of speed degradation, 0.6% of size improvement

I don't know what's wrong, but it certainly doesn't provide the  
expected improvements, at least on my hosts.

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/6e45b5d3/attachment.pgp>


More information about the Insight-developers mailing list