mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[benchmark] Simplify benchmark registration
This commit is contained in:
@@ -5,12 +5,14 @@
|
||||
|
||||
import TestsUtils
|
||||
|
||||
public var COWTree = BenchmarkInfo(
|
||||
name: "COWTree",
|
||||
runFunction: run_COWTree,
|
||||
tags: [.validation, .abstraction, .String],
|
||||
legacyFactor: 20
|
||||
)
|
||||
public let benchmarks = [
|
||||
BenchmarkInfo(
|
||||
name: "COWTree",
|
||||
runFunction: run_COWTree,
|
||||
tags: [.validation, .abstraction, .String],
|
||||
legacyFactor: 20
|
||||
),
|
||||
]
|
||||
|
||||
@inline(never)
|
||||
public func run_COWTree(_ n: Int) {
|
||||
|
||||
Reference in New Issue
Block a user