Skip to content

Commit 0ac591e

Browse files
committed
[benchmark] Add .existential BenchmarkCategory
1 parent 35163f1 commit 0ac591e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

benchmark/single-source/ExistentialPerformance.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
import TestsUtils
2020

21-
let t: [BenchmarkCategory] = []
22-
let ta: [BenchmarkCategory] = [.api, .Array]
21+
let t: [BenchmarkCategory] = [.existential]
22+
let ta: [BenchmarkCategory] = [.api, .Array, .existential]
2323

2424
public let ExistentialPerformance: [BenchmarkInfo] = [
2525
BenchmarkInfo(name: "Existential.method.1x.Ref1",

benchmark/single-source/ExistentialPerformance.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
import TestsUtils
2121

22-
let t: [BenchmarkCategory] = []
23-
let ta: [BenchmarkCategory] = [.api, .Array]
22+
let t: [BenchmarkCategory] = [.existential]
23+
let ta: [BenchmarkCategory] = [.api, .Array, .existential]
2424

2525
%{
2626
Setup = """

benchmark/utils/TestsUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public enum BenchmarkCategory : String {
2525
case sdk
2626
case runtime, refcount, metadata
2727
// Other general areas of compiled code validation.
28-
case abstraction, safetychecks, exceptions, bridging, concurrency
28+
case abstraction, safetychecks, exceptions, bridging, concurrency, existential
2929

3030
// Algorithms are "micro" that test some well-known algorithm in isolation:
3131
// sorting, searching, hashing, fibonaci, crypto, etc.

0 commit comments

Comments
 (0)