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 @@ -57,7 +57,7 @@ xcodebuild -destination 'platform=iOS Simulator,name=iPhone 8' \
5757 clean build \
5858 OTHER_SWIFT_FLAGS=" -driver-time-compilation \
5959 -Xfrontend -debug-time-function-bodies \
60- -Xfrontend -debug-time-compilation" |
60+ -Xfrontend -debug-time-compilation" | \
6161tee profile.log
6262```
6363
@@ -66,12 +66,12 @@ tee profile.log
6666Then extract the interesting statistics using:
6767
6868``` sh
69- awk ' /Driver Compilation Time/,/Total$/ { print }' profile.log |
70- grep compile |
71- cut -c 55- |
72- sed -e ' s/^ *//;s/ (.*%) compile / /;s/ [^ ]*Bridging-Header.h$//' |
73- sed -e " s|$( pwd) /||" |
74- sort -rn |
69+ awk ' /Driver Compilation Time/,/Total$/ { print }' profile.log | \
70+ grep compile | \
71+ cut -c 55- | \
72+ sed -e ' s/^ *//;s/ (.*%) compile / /;s/ [^ ]*Bridging-Header.h$//' | \
73+ sed -e " s|$( pwd) /||" | \
74+ sort -rn | \
7575 tee slowest.log
7676```
7777
You can’t perform that action at this time.
0 commit comments