[Insight-developers] Empty FixedArray destructor: Performancehit using gcc : [ Mac Guru needed ! ]
Tom Vercauteren
tom.vercauteren at m4x.org
Tue Jun 10 09:33:42 EDT 2008
Hi Luis,
Just a guess: It might simply be that the first run always takes a
little more time on some machines.
Indeed since you see that:
Initial alignment: 0
New alignment: 0
the two loops should do exactly the same thing on the same data (same
pointers, etc.).
To be fairer, the test could perform the forced-to-8-byte-alignment
loop before the native loop.
Tom
On Tue, Jun 10, 2008 at 3:21 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
> Mac Guru Needed !
>
>
> We need help from a Mac Guru to understand why the following
> Mac builds:
>
> http://www.cdash.org/CDash/testSummary.php?project=2&name=itkFixedArrayTest2&date=20080610
>
> still have a 50% change in performance when moving the base
> pointer of an array of FixedArrays, despite the fact that
> the empty destructor of the FixedArray has been removed.
>
>
> Thanks for any help, advice or hint,
>
>
> Luis
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
More information about the Insight-developers
mailing list