Hi,

I am developing an application based on OSG 2.8.2 under Windows XP and Visual 
Studio 2008 and have noticed a strange behaviour.

If I compile my application in Release build and launch it through VS2008 with 
the "Start Debugging" (Ctrl-F5) command, the performance is good and close to 
what I was expecting:
    
    Cull 0.2 ms
    Draw 0.9 ms
    GPU 6.6 ms

If instead I launch the same application with the "Start without Debugging" 
(F5) command, the performance DROPS dramatically:
    
    Cull 0.3 ms
    Draw 40 ms
    GPU 27 ms

I would have expected the OPPOSITE to happen....

It's not a problem of path (they are the same) or loaded DLLs - I have checked 
with depends.exe and on the VS2008 output pane that the same DLLs are loaded in 
both cases.

I have tried googling for this and found some pages regarding bad performance 
of STL container loops. Could this be the reason?

Does anybody else have the same issue?

Thank you!

Cheers,
Andrea

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24081#24081





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to