VC++ release/debug = 200??

Started by
1 comment, last by Evil Steve 17 years, 8 months ago
I'm running a physics simulator that I made, nothing too complicated, and in debug mode it runs at 1-2 fps, and in release mode it runs at 200-220 fps. How could the difference be tht huge? Thanks.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky
Advertisement
If you're using STL there is alot of debug build error checking going on, or it could just be lack of optimizations. What exactly is the program doing?
It's possible that you're spitting out thousands of lines of debug log messages which doesn't happen in release mode.

And if you're using D3D, there's a known problem with it sometimes in debug mode, which Jollyjeffers, myself and some other MVPs are trying to resolve. For now, you can not define D3D_DEBUG_INFO in debug builds to get around it if that's the problem.

This topic is closed to new replies.

Advertisement