Vacation vs. Debug Debugging Time

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?

+5
source share
5 answers

Well, there are a number of variables that can affect things. Here are some reasons Debug can be faster:

  • , . , .
  • , Debug , Release. Debug , .
+13

, , , , , .

, -buid, , , . , . , , , , , .

+1

, , - .

0

, ( ).

, . , .

Debug Release , Debug ( ), Release ,

0

, . , , . , .

. . . , .

0

All Articles