Skip to content

Commit c8d59b8

Browse files
committed
[benchmark] ProtocolDispatch2 resized & re-enabled
1 parent 2f2096f commit c8d59b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

benchmark/single-source/ProtocolDispatch2.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import Foundation
2020
public let ProtocolDispatch2 = BenchmarkInfo(
2121
name: "ProtocolDispatch2",
2222
runFunction: run_ProtocolDispatch2,
23-
tags: [.validation, .abstraction, .unstable])
23+
tags: [.validation, .abstraction])
2424

2525
protocol Pingable { func ping() -> Int; func pong() -> Int}
2626

@@ -58,12 +58,11 @@ public func run_ProtocolDispatch2(_ N: Int) {
5858
var c = 0
5959
let g1 = Game()
6060
let g2 = Game()
61-
for _ in 1...N {
61+
for _ in 1...10*N {
6262
c = 0
6363
for i in 1...5000 {
6464
c += wrapper(i, g1, g2)
6565
}
6666
}
6767
CheckResults(c == 75000)
6868
}
69-

0 commit comments

Comments
 (0)