Skip to content

Commit dc6dd03

Browse files
authored
Merge pull request #8 from fastred/missing-back-slashes
Fix #4: scripts not working on some shells
2 parents a5c9b8b + 46a6241 commit dc6dd03

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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" | \
6262
tee profile.log
6363
```
6464

@@ -67,12 +67,12 @@ tee profile.log
6767
Then 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

0 commit comments

Comments
 (0)