iOS开发记录iOS开发iOS开发知识小集

iOS开发 - Gnomon 计算单文件编译时间

2018-07-03  本文已影响19人  ForestSen

1、使用工具

2、工具介绍

3、步骤

4、实际演示

(1)获取文件编译时间结果。

xcodebuild -workspace MemoryGenius.xcworkspace -scheme "MemoryGenius"| xcpretty | gnomon -i | grep Compiling >>fileTime.txt

(2)对结果进行排序(取前100个)

sort -r fileTime.txt | head -n 100 | grep Compiling >>new_fileTime.txt
上一篇 下一篇

猜你喜欢

热点阅读