File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ xcodebuild -destination 'platform=iOS Simulator,name=iPhone 8' \
5858 clean build \
5959 OTHER_SWIFT_FLAGS=" -driver-time-compilation \
6060 -Xfrontend -debug-time-function-bodies \
61- -Xfrontend -debug-time-compilation" |
61+ -Xfrontend -debug-time-compilation" | \
6262tee profile.log
6363```
6464
@@ -67,12 +67,12 @@ tee profile.log
6767Then extract the interesting statistics using:
6868
6969``` sh
70- awk ' /Driver Compilation Time/,/Total$/ { print }' profile.log |
71- grep compile |
72- cut -c 55- |
73- sed -e ' s/^ *//;s/ (.*%) compile / /;s/ [^ ]*Bridging-Header.h$//' |
74- sed -e " s|$( pwd) /||" |
75- sort -rn |
70+ awk ' /Driver Compilation Time/,/Total$/ { print }' profile.log | \
71+ grep compile | \
72+ cut -c 55- | \
73+ sed -e ' s/^ *//;s/ (.*%) compile / /;s/ [^ ]*Bridging-Header.h$//' | \
74+ sed -e " s|$( pwd) /||" | \
75+ sort -rn | \
7676 tee slowest.log
7777```
7878
You can’t perform that action at this time.
0 commit comments