diff --git a/RxExample/RxExample/Examples/TableViewPartialUpdates/PartialUpdatesViewController.swift b/RxExample/RxExample/Examples/TableViewPartialUpdates/PartialUpdatesViewController.swift index 7e4f1a74..3599f6f5 100644 --- a/RxExample/RxExample/Examples/TableViewPartialUpdates/PartialUpdatesViewController.swift +++ b/RxExample/RxExample/Examples/TableViewPartialUpdates/PartialUpdatesViewController.swift @@ -26,7 +26,7 @@ class PartialUpdatesViewController : ViewController { @IBOutlet weak var partialUpdatesTableViewOutlet: UITableView! @IBOutlet weak var partialUpdatesCollectionViewOutlet: UICollectionView! - var timer: Timer? = nil + var timer: Foundation.Timer? = nil static let initialValue: [AnimatableSectionModel] = [ NumberSection(model: "section 1", items: [1, 2, 3]), diff --git a/Tests/PerformanceTests/main.swift b/Tests/PerformanceTests/main.swift index aa732093..b7bd7795 100644 --- a/Tests/PerformanceTests/main.swift +++ b/Tests/PerformanceTests/main.swift @@ -19,13 +19,13 @@ func allocation() { } repeat { -compareTwoImplementations(true, benchmarkMemory: false, first: { +compareTwoImplementations(benchmarkTime: true, benchmarkMemory: false, first: { let publishSubject = PublishSubject() //let a = Observable.just(1) //combineLatest(a, - publishSubject //.asDriver(onErrorJustReturn: -1) + _ = publishSubject //.asDriver(onErrorJustReturn: -1) /*create { (o: AnyObserver) in for i in 0..<100 { o.on(.Next(i))