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:
parent
072f73277a
commit
9c025c6090
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user