Sign in to follow this  
daniel_i_l

VC++ release/debug = 200??

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this