Skip to content

Commit 4873314

Browse files
committed
Temporarily disable PopFrontGeneric benchmark, it does not compile anymore
1 parent 2c0a2c7 commit 4873314

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benchmark/single-source/PopFrontGeneric.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let arrayCount = 1024
1717

1818
// This test case exposes rdar://17440222 which caused rdar://17974483 (popFront
1919
// being really slow).
20-
20+
/*
2121
func _arrayReplace<B: _ArrayBufferProtocol, C: Collection
2222
where C.Iterator.Element == B.Element, B.Index == Int
2323
>(
@@ -43,10 +43,11 @@ func _arrayReplace<B: _ArrayBufferProtocol, C: Collection
4343
_preconditionFailure("Should not get here?")
4444
}
4545
}
46-
46+
*/
4747

4848
@inline(never)
4949
public func run_PopFrontArrayGeneric(_ N: Int) {
50+
/*
5051
let orig = Array(repeating: 1, count: arrayCount)
5152
var a = [Int]()
5253
for _ in 1...20*N {
@@ -60,4 +61,5 @@ public func run_PopFrontArrayGeneric(_ N: Int) {
6061
CheckResults(result == arrayCount, "IncorrectResults in StringInterpolation: \(result) != \(arrayCount)")
6162
}
6263
}
64+
*/
6365
}

0 commit comments

Comments
 (0)