1
1
mirror of https://github.com/kean/Nuke.git synced 2024-11-28 03:34:09 +03:00

Update performance tests

This commit is contained in:
kean 2024-10-27 12:04:53 -04:00
parent 072f73277a
commit 9c025c6090

View File

@ -18,7 +18,7 @@ class ImagePipelinePerfomanceTests: XCTestCase {
var finished: Int = 0
let semaphore = DispatchSemaphore(value: 0)
for request in requests {
pipeline.loadImage(with: request, queue: callbackQueue, progress: nil) { _ in
pipeline.loadImage(with: request, progress: nil) { _ in
finished += 1
if finished == requests.count {
semaphore.signal()