Skip to content

Commit 8ecb8fd

Browse files
authored
Merge pull request swiftlang#61428 from hyp/eng/cxxinteroptagbench
[interop] mark C++ benchmarks with cxxInterop tag for easy local testing
2 parents e3965f1 + e659a52 commit 8ecb8fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

benchmark/cxx-source/CreateObjects.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public let benchmarks = [
2020
BenchmarkInfo(
2121
name: "CreateObjects",
2222
runFunction: run_CreateObjects,
23-
tags: [.validation, .bridging])
23+
tags: [.validation, .bridging, .cxxInterop])
2424
]
2525

2626
@inline(never)

benchmark/cxx-source/ReadAccessor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public let benchmarks = [
2424
BenchmarkInfo(
2525
name: "ReadAccessor",
2626
runFunction: run_ReadAccessor,
27-
tags: [.validation, .bridging],
27+
tags: [.validation, .bridging, .cxxInterop],
2828
setUpFunction: {
2929
vec = initVector()
3030
})

benchmark/utils/TestsUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public enum BenchmarkCategory : String {
2727
case sdk
2828
case runtime, refcount, metadata
2929
// Other general areas of compiled code validation.
30-
case abstraction, safetychecks, exceptions, bridging, concurrency, existential
30+
case abstraction, safetychecks, exceptions, bridging, concurrency, existential, cxxInterop
3131
case exclusivity, differentiation
3232

3333
// Algorithms are "micro" that test some well-known algorithm in isolation:

0 commit comments

Comments
 (0)