@@ -14,9 +14,9 @@ as a verification of this public API to prevent its accidental breakage.
14
14
[ BD ] : https://github.com/apple/swift/blob/master/benchmark/scripts/Benchmark_Driver
15
15
[ Testing ] : https://github.com/apple/swift/blob/master/docs/Testing.md
16
16
17
- Note: Following tests use * HashQuadratic * as an example of a benchmark that is
18
- excluded from the default "pre-commit" list because it is marked ` unstable ` and
19
- the default skip-tags (` unstable,skip ` ) will exclude it . The * Ackermann* and
17
+ Note: Following tests use * Existential. * as an example of a benchmarks that are
18
+ excluded from the default "pre-commit" list because they are marked ` skip ` and
19
+ the default skip-tags (` unstable,skip ` ) will exclude them . The * Ackermann* and
20
20
* AngryPhonebook* are alphabetically the first two benchmarks in the test suite
21
21
(used to verify running by index). If these assumptions change, the test must be
22
22
adapted.
@@ -27,22 +27,22 @@ RUN: %Benchmark_O --list | %FileCheck %s \
27
27
RUN: --check-prefix LISTPRECOMMIT \
28
28
RUN: --check-prefix LISTTAGS
29
29
LISTPRECOMMIT: #,Test,[Tags]
30
- LISTPRECOMMIT-NOT: HashQuadratic
30
+ LISTPRECOMMIT-NOT: Existential.
31
31
LISTPRECOMMIT: {{[0-9]+}},AngryPhonebook
32
32
LISTTAGS-SAME: ,[
33
33
LISTTAGS-NOT: TestsUtils.BenchmarkCategory.
34
34
LISTTAGS-SAME: String, api, validation
35
35
LISTTAGS-SAME: ]
36
36
````
37
37
38
- Verify HashQuadratic is listed when skip-tags are explicitly empty and that it
39
- is marked unstable :
38
+ Verify ` Existential. ` benchmarks are listed when skip-tags are explicitly empty
39
+ and that they are marked ` skip ` :
40
40
41
41
````
42
42
RUN: %Benchmark_O --list --skip-tags= | %FileCheck %s --check-prefix LISTALL
43
43
LISTALL: AngryPhonebook
44
- LISTALL: HashQuadratic
45
- LISTALL-SAME: unstable
44
+ LISTALL: Existential.
45
+ LISTALL-SAME: skip
46
46
````
47
47
48
48
## Benchmark Selection
@@ -54,8 +54,9 @@ It provides us with ability to do a "dry run".
54
54
Run benchmark by name (even if its tags match the skip-tags) or test number:
55
55
56
56
````
57
- RUN: %Benchmark_O HashQuadratic --list | %FileCheck %s --check-prefix NAMEDSKIP
58
- NAMEDSKIP: HashQuadratic
57
+ RUN: %Benchmark_O Existential.Mutating.Ref1 --list \
58
+ RUN: | %FileCheck %s --check-prefix NAMEDSKIP
59
+ NAMEDSKIP: Existential.Mutating.Ref1
59
60
60
61
RUN: %Benchmark_O 1 --list | %FileCheck %s --check-prefix RUNBYNUMBER
61
62
RUNBYNUMBER: Ackermann
0 commit comments