Hi J-S and Robert,
I was using a debug build. I'm trying out a release build, but I am
swamped and trying to do a bunch of things. I'll get back sometime in the
next day with my results. I'm hoping this is it because the one
difference between osgviewer and my app is that I am using debug libs.
of STL usage at runtime in Debug builds - don't argue that it's a bad
thing to do, I agree, but I'm not Microsoft...)
Trust me, I'm not going to get into any design arguments. People in glass
houses and all . . . . Unless you want to get into some text editor
argument (all hail ed!!). Those seem productive. ;-)
-K
On Thu, 2 Dec 2010, Jean-Sébastien Guay wrote:
Hi Robert,
I don't know if this is relevant, but for all performance testing you
should use an optimized build, debug builds, especially using VS
totally destroy performance.
He could still be using an optimized build and setting breakpoints, as
debug information settings are separate from optimization settings, and as
long as you're in a Release build, you won't be using the debug STL (which
is what destroys OSG's performance in Debug builds - since OSG uses the
STL heavily in its traversals and VC++ does extensive/expensive checking
of STL usage at runtime in Debug builds - don't argue that it's a bad
thing to do, I agree, but I'm not Microsoft...)
We sometimes include debug info in Release builds to be able to debug some
problems that happen only in optimized builds. Sometimes the stack traces
it gives then is bogus because of the optimization, but it's still useful
if you know what to do with it.
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org