问题:
app building 时间越来越慢
现在大概需要2分钟左右才能编译好,因此我们探究下有什么优化加载时间的办法
网上探究
https://www.jianshu.com/p/3b01979b2bf3
主要对xcode, 电脑线程 等外部进行优化
试了一遍 😔 貌似没啥变化啊
自行探究..

image.png
1.图片加载情况

[图片上传中...(Copy jt_white@2x.png 4.7 seconds.png-cbe953-1595236405641-0)]

Copy jt_white@2x.png 4.7 seconds.png
这几张使用时间长的都是我没有用到的图片 删掉
能优化一波加载时间
2.编译的时候警告去掉 还是很节省时间的

[图片上传中...(Compile Storyboard file Main.storyboard 28.3 seconds.png-457f5a-1595236526968-0)]

Compile Storyboard file Main.storyboard 28.3 seconds.png
3.加载时间比较长的集中在了storyBoard
我觉得这个警告和编译的时间还是有关的,我们尝试优化下..

Compile Storyboard file Main.storyboard 28.3 seconds.png

Compile Storyboard file Main.storyboard 11.0 seconds.png
28.3s 到 11s??一个警告解决的问题??不好说

Compile Storyboard.png
storyBoard编译时间确实是长
好像没什么好的办法 等下次探究吧
网友评论