Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Debug Mode slower than Release in VS?

I've Googled this already and usually the responses are fairly complex and I don't really understand all the jargon. Is there a simple explanation for why Debug mode is so slow? Why not just always run in Release?

like image 470
IAmBatman Avatar asked Jul 19 '12 15:07

IAmBatman


1 Answers

Debug mode has all optimizations turned off, to make sure the connected debugger works as expected. A Release will have a lot of optimizations switched on.

Simpler than that I cannot state it.

like image 72
Bart Friederichs Avatar answered Oct 24 '22 02:10

Bart Friederichs