[vtkusers] VTK 4.4: VS2008 vs. VS2005

groups at dietschi.net groups at dietschi.net
Thu Sep 24 05:32:52 EDT 2009


In VS2008 "Buffer Security Check (/GS)" is on by default - Maybe it's  
defaulting to "off" in VS2005?


Am 24.09.2009, 08:26 Uhr, schrieb Affolter Martin <martin.affolter at ntb.ch>:

> Clint
>
> Yes, the model I visualized has around 8000 actors (meshes, edges,  
> vertices). I've read about slower performance in 5.x with a large number  
> of actors. But this problem here is different. What I don't understand  
> is why the very same source-code (VTK4.4), built by two different  
> compiler-versions (VC8, VC9), results in a performance-drop of factor 2.
>
> Both VS-Solutions are created by Cmake 2.6 with the same configuration  
> (except for the target VS).
>
> I'm just trying to find out, if other people have experienced the same  
> and if there's an explanation to it.
>
> Martin
>
> -----Ursprüngliche Nachricht-----
> Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im  
> Auftrag von Clinton Stimpson
> Gesendet: Mittwoch, 23. September 2009 17:20
> An: 'vtkusers at vtk.org'
> Betreff: Re: [vtkusers] VTK 4.4: VS2008 vs. VS2005
>
> On 09/23/2009 08:49 AM, Affolter Martin wrote:
>> Hello
>>
>> I did some time-measuring for creating and rendering a given 3d-model  
>> (CAD-Application). The goal was to check the performance of VTK 5.4.2  
>> vs. 4.4. I wrote about that in an e-mail earlier this week.
>>
>> This time, I measured times with vtk 4.4 dlls built in different Visual  
>> Studio Versions: VS2008 (VC9) and VS2005(VC8). The measured times using  
>> the VC9 compiled dlls are about twice as long:
>>
>> VTK 4.4 VC8: 6-7 s
>> VTK 4.4 VC9: 12-13 s
>>
>> The application sourcecode did not change. It is a release-version,  
>> built in VS2008 (VC9). I built to versions of it, one linking to the  
>> VS2005, the other to the VS2008 libs. I did not mix vtk-dlls, I can  
>> assure that using looking at the dependencies.
>>
>> Has anyone experienced a slower perfomance with vtk dlls built in  
>> VS2008 instead of VS2005?
>>
>>
>
> I don't think its a visual studio issue.
> I've seen slowdowns like yours going from VTK 4.x to VTK 5.x if there
> were a large number of actors.
> If I remember right, last time I profiled it, (a long time ago) the
> slowdown was related to information key stuff.
>
> Do you have a large number of actors?
>
> Clint
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at  
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:  
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at  
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:  
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>


-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/




More information about the vtkusers mailing list