[benchmark] Simplify benchmark registration

This commit is contained in:
Karoy Lorentey
2021-09-15 20:59:39 -07:00
parent 8910b75cfe
commit 8944591e71
184 changed files with 1110 additions and 953 deletions

View File

@@ -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) {