I always thought Debug builds are slower than releases, since the compiler needs to additionally generate debug information. Recently, I was surprised to hear one of my colleagues say that building releases usually takes longer. (I believe this is only due to incremental binding / compilation).
In general, which of the two is faster?
Well, there are a number of variables that can affect things. Here are some reasons Debug can be faster:
, , , , , .
, -buid, , , . , . , , , , , .
, , - .
, ( ).
, . , .
Debug Release , Debug ( ), Release ,
, . , , . , .
. . . , .