Skip to content

Commit 64d610b

Browse files
committed
[benchmark] DictionaryLiteral Legacy Factor
1 parent b3fea04 commit 64d610b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

benchmark/single-source/DictionaryLiteral.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import TestsUtils
1717
public let DictionaryLiteral = BenchmarkInfo(
1818
name: "DictionaryLiteral",
1919
runFunction: run_DictionaryLiteral,
20-
tags: [.validation, .api, .Dictionary])
20+
tags: [.validation, .api, .Dictionary],
21+
legacyFactor: 10)
2122

2223
@inline(never)
2324
func makeDictionary() -> [Int: Int] {
@@ -26,7 +27,7 @@ func makeDictionary() -> [Int: Int] {
2627

2728
@inline(never)
2829
public func run_DictionaryLiteral(_ N: Int) {
29-
for _ in 1...10000*N {
30+
for _ in 1...1000*N {
3031
_ = makeDictionary()
3132
}
3233
}

0 commit comments

Comments
 (0)