Performance differences between debug and release builds

前端 未结 8 1474
迷失自我
迷失自我 2020-11-21 22:48

I must admit, that usually I haven\'t bothered switching between the Debug and Release configurations in my program, and I have usually opted to go for the

8条回答
  •  猫巷女王i
    2020-11-21 23:20

    • My experience has been that medium sized or larger applications are noticeably more responsive in a Release build. Give it a try with your application and see how it feels.

    • One thing that can bite you with Release builds is that Debug build code can sometimes suppress race conditions and other threading-related bugs. Optimized code can result in instruction reordering and faster execution can exacerbate certain race conditions.

提交回复
热议问题