Move all benchmarks to use registerBenchmark and BenchmarkInfo

This commit is contained in:
Max Moiseev
2017-10-03 17:46:11 -07:00
parent 86eeb5416b
commit 1dd9d61ded
107 changed files with 1663 additions and 553 deletions

View File

@@ -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 }