@@ -14,9 +14,9 @@ as a verification of this public API to prevent its accidental breakage.
1414[ BD ] : https://github.com/apple/swift/blob/master/benchmark/scripts/Benchmark_Driver
1515[ Testing ] : https://github.com/apple/swift/blob/master/docs/Testing.md
1616
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
2020* AngryPhonebook* are alphabetically the first two benchmarks in the test suite
2121(used to verify running by index). If these assumptions change, the test must be
2222adapted.
@@ -27,22 +27,22 @@ RUN: %Benchmark_O --list | %FileCheck %s \
2727RUN: --check-prefix LISTPRECOMMIT \
2828RUN: --check-prefix LISTTAGS
2929LISTPRECOMMIT: #,Test,[Tags]
30- LISTPRECOMMIT-NOT: HashQuadratic
30+ LISTPRECOMMIT-NOT: Existential.
3131LISTPRECOMMIT: {{[0-9]+}},AngryPhonebook
3232LISTTAGS-SAME: ,[
3333LISTTAGS-NOT: TestsUtils.BenchmarkCategory.
3434LISTTAGS-SAME: String, api, validation
3535LISTTAGS-SAME: ]
3636````
3737
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 ` :
4040
4141````
4242RUN: %Benchmark_O --list --skip-tags= | %FileCheck %s --check-prefix LISTALL
4343LISTALL: AngryPhonebook
44- LISTALL: HashQuadratic
45- LISTALL-SAME: unstable
44+ LISTALL: Existential.
45+ LISTALL-SAME: skip
4646````
4747
4848## Benchmark Selection
@@ -54,8 +54,9 @@ It provides us with ability to do a "dry run".
5454Run benchmark by name (even if its tags match the skip-tags) or test number:
5555
5656````
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
5960
6061RUN: %Benchmark_O 1 --list | %FileCheck %s --check-prefix RUNBYNUMBER
6162RUNBYNUMBER: Ackermann
0 commit comments