Huge frame rate difference between release / debug versions

I am working on a DirectX game, and I found that during releases I get an average of 170 frames per second, however in debug builds I get ~ 20 frames per second.

I was wondering if this is a massive difference between release and debug versions, especially since I have no trace in debugging? I know that there must be a performance gap between debug and release builds, is it just not necessary?

+3
source share
5 answers

, . , Matrix Vector, (, +, -, * ..) ASSERT.

, , , , . .

ASSERT - . , , .

, . , , ( ).

+2

, It Depends (tm). , : . (, ))

+3

. ( DirectX) .

, ​​ .

+3

. , , pdb, , fps. , , (, ).

+3

, ( ). , , , , .

0

Source: https://habr.com/ru/post/1751049/


All Articles