mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Move all benchmarks to use registerBenchmark and BenchmarkInfo
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import TestsUtils
|
||||
|
||||
public let ClassArrayGetter = BenchmarkInfo(
|
||||
name: "ClassArrayGetter",
|
||||
runFunction: run_ClassArrayGetter,
|
||||
tags: [.validation, .api, .Array])
|
||||
|
||||
class Box {
|
||||
var v: Int
|
||||
init(v: Int) { self.v = v }
|
||||
|
||||
Reference in New Issue
Block a user