开发者

Debug info slows compiler?

开发者 https://www.devze.com 2023-02-05 12:13 出处:网络
I am working on an iPhone app. I compile to two targets, Simulator-debug and Device-Release. Compiling for simulator is horribly slow but for the device is reall开发者_StackOverflow社区y fast. The on

I am working on an iPhone app. I compile to two targets, Simulator-debug and Device-Release.

Compiling for simulator is horribly slow but for the device is reall开发者_StackOverflow社区y fast. The only difference I can see is debug vs release. Does debug info slow things that much?


Shouldn't make much of a difference - debug is usually faster to compile because of less optimizations.

Make sure you compare clean build times for each and use the same settings for precompiled headers etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消