• Advertisement
Sign in to follow this  

VC++ release/debug = 200??

This topic is 4203 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement