Skip to content

Commit 1f2b626

Browse files
authored
Merge pull request #3913 from eeckstein/benchmarks2
benchmarks: add missing autoreleasepool in DictionaryBridge benchmark
2 parents 8ea1ebe + b8d4cf6 commit 1f2b626

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmark/single-source/DictionaryBridge.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ class Stuff {
5353

5454
@inline(never)
5555
public func run_DictionaryBridge(_ N: Int) {
56+
autoreleasepool {
5657
for _ in 1...100*N {
5758
_ = Stuff()
5859
}
60+
}
5961
}

0 commit comments

Comments
 (0)