We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2096f commit c8d59b8Copy full SHA for c8d59b8
benchmark/single-source/ProtocolDispatch2.swift
@@ -20,7 +20,7 @@ import Foundation
20
public let ProtocolDispatch2 = BenchmarkInfo(
21
name: "ProtocolDispatch2",
22
runFunction: run_ProtocolDispatch2,
23
- tags: [.validation, .abstraction, .unstable])
+ tags: [.validation, .abstraction])
24
25
protocol Pingable { func ping() -> Int; func pong() -> Int}
26
@@ -58,12 +58,11 @@ public func run_ProtocolDispatch2(_ N: Int) {
58
var c = 0
59
let g1 = Game()
60
let g2 = Game()
61
- for _ in 1...N {
+ for _ in 1...10*N {
62
c = 0
63
for i in 1...5000 {
64
c += wrapper(i, g1, g2)
65
}
66
67
CheckResults(c == 75000)
68
69
-
0 commit comments