Skip to content

Commit 732e80f

Browse files
committed
---
yaml --- r: 349511 b: refs/heads/master-next c: 1900ad9 h: refs/heads/master i: 349509: e4b35c4 349507: 0cf0f71 349503: 50ed6e1
1 parent a0e7bef commit 732e80f

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: aa560bf78db7c0c38d21f56bd8c66f875d291e29
3+
refs/heads/master-next: 1900ad92e7d0a96e2463aba22a2ccf8eaf89cf97
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/benchmark/README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,17 @@ The following build options are available:
7070

7171
The following build targets are available:
7272

73-
1. `swift-benchmark-macosx-x86_64`
74-
2. `swift-benchmark-iphoneos-arm64`
75-
3. `swift-benchmark-iphoneos-armv7`
76-
4. `swift-benchmark-appletvos-arm64`
77-
5. `swift-benchmark-watchos-armv7k`
73+
* `swift-benchmark-macosx-x86_64`
74+
* `swift-benchmark-iphoneos-arm64`
75+
* `swift-benchmark-iphoneos-armv7`
76+
* `swift-benchmark-appletvos-arm64`
77+
* `swift-benchmark-watchos-armv7k`
7878

7979
Build steps (with example options):
8080

81-
1. `$ cd benchmark`
82-
2. `$ mkdir build`
83-
3. `$ cd build`
84-
4. `$ cmake ../benchmark -G Ninja -DSWIFT_EXEC=[path to built swiftc]`
85-
5. `$ ninja swift-benchmark-macosx-x86_64`
81+
1. `$ mkdir build; cd build`
82+
2. `$ cmake [path to swift src]/benchmark -G Ninja -DSWIFT_EXEC=[path to built swiftc]`
83+
3. `$ ninja swift-benchmark-macosx-x86_64`
8684

8785
Benchmark binaries are placed in `bin`.
8886

@@ -96,12 +94,12 @@ relative to the benchmark binary at the time it was executed
9694
For example, to benchmark against a locally built `swiftc`, including
9795
any standard library changes in that build, you might configure using:
9896

99-
cmake ../benchmark -G Ninja -DSWIFT_EXEC=<src>/swift/build/swift-macosx-x86_64/bin/swiftc
97+
cmake <src>/benchmark -G Ninja -DSWIFT_EXEC=<build>/swift-macosx-x86_64/bin/swiftc
10098
ninja swift-benchmark-iphoneos-arm64
10199

102100
To build against the installed Xcode, simply omit SWIFT_EXEC:
103101

104-
cmake ../benchmark -G Ninja
102+
cmake <src>/benchmark -G Ninja
105103
ninja swift-benchmark-iphoneos-arm64
106104

107105
In both examples above, to run the benchmarks on a device, the dynamic
@@ -110,7 +108,7 @@ relative to `swiftc`. To benchmark against the target machine's
110108
installed libraries instead, enable
111109
`SWIFT_BENCHMARK_USE_OS_LIBRARIES`.
112110

113-
cmake ../benchmark -G Ninja -DSWIFT_BENCHMARK_USE_OS_LIBRARIES=ON
111+
cmake <src>/benchmark -G Ninja -DSWIFT_BENCHMARK_USE_OS_LIBRARIES=ON
114112
ninja swift-benchmark-iphoneos-arm64
115113

116114
This will reflect the performance of the Swift standard library

0 commit comments

Comments
 (0)