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

@@ -13,6 +13,11 @@
// This test checks the performance of modifying an array element.
import TestsUtils
public let ArraySubscript = BenchmarkInfo(
name: "ArraySubscript",
runFunction: run_ArraySubscript,
tags: [.validation, .api, .Array])
@inline(never)
public func run_ArraySubscript(_ N: Int) {
SRand()