Skip to content

Commit 25b7aa6

Browse files
authored
---
yaml --- r: 341989 b: refs/heads/rxwei-patch-1 c: 4f37d62 h: refs/heads/master i: 341987: 7328e49
1 parent 987f90d commit 25b7aa6

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: dcb495d0db0d5fdacbd22ce417728954473bace7
1018+
refs/heads/rxwei-patch-1: 4f37d6295fa44add60a5ea0d2b854fd54452d7f0
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/benchmark/README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
Swift Benchmark Suite
2-
=====================
1+
# Swift Benchmark Suite
32

43
This directory contains the Swift Benchmark Suite.
54

6-
Running Swift Benchmarks
7-
------------------------
5+
## Running Swift Benchmarks
86

97
To run Swift benchmarks, pass the `--benchmark` flag to `build-script`. The
108
current benchmark results will be compared to the previous run's results if
@@ -16,8 +14,7 @@ impacting changes, and run the benchmarks again. Upon benchmark completion, the
1614
benchmark results for the development branch will be compared to the most
1715
recent benchmark results for `master`.
1816

19-
Building with build-script
20-
--------------------------
17+
## Building with build-script
2118

2219
By default, Swift benchmarks for OS X are compiled during the Swift build
2320
process. To build Swift benchmarks for additional platforms, pass the following
@@ -33,8 +30,7 @@ drivers dynamically link Swift standard library dylibs from a path
3330
relative to their run-time location (../lib/swift) so the standard
3431
library should be distributed alongside them.
3532

36-
Building Independently
37-
----------------------
33+
## Building Independently
3834

3935
To build the Swift benchmarks using only an Xcode installation: install an
4036
Xcode version with Swift support, install cmake 2.8.12, and ensure Xcode is
@@ -110,8 +106,7 @@ installed libraries instead, enable
110106
This will reflect the performance of the Swift standard library
111107
installed on the device, not the one included in the Swift root.
112108

113-
Using the Benchmark Driver
114-
--------------------------
109+
## Using the Benchmark Driver
115110

116111
### Usage
117112

@@ -154,17 +149,15 @@ You can use test numbers instead of test names like this:
154149
Test numbers are not stable in the long run, adding and removing tests from the
155150
benchmark suite will reorder them, but they are stable for a given build.
156151

157-
Using the Harness Generator
158-
---------------------------
152+
## Using the Harness Generator
159153

160154
`scripts/generate_harness/generate_harness.py` runs `gyb` to automate generation
161155
of some benchmarks.
162156

163157
** FIXME ** `gyb` should be invoked automatically during the
164158
build so that manually invoking `generate_harness.py` is not required.
165159

166-
Adding New Benchmarks
167-
---------------------
160+
## Adding New Benchmarks
168161

169162
The harness generator supports both single and multiple file tests.
170163

@@ -244,8 +237,8 @@ public func run_YourTestName(N: Int) {
244237
The current set of tags are defined by the `BenchmarkCategory` enum in
245238
`TestsUtils.swift` .
246239

247-
Testing the Benchmark Drivers
248-
-----------------------------
240+
## Testing the Benchmark Drivers
241+
249242
When working on tests, after the initial build
250243
````
251244
swift-source$ ./swift/utils/build-script -R -B

0 commit comments

Comments
 (0)