Releases: bookingcom/perfsuite-ios
Releases · bookingcom/perfsuite-ios
1.5.0
What's Changed
NB! Possible breaking changes:
ViewControllerObserver
methods are now called on the background thread by default.- Check details about
1.4.0
version if you are updating from the earlier versions
Full Changelog: 1.4.4...1.5.0
1.4.4
1.4.3
1.4.2
What's Changed
Full Changelog: 1.4.1...1.4.2
1.4.1
What's Changed
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
NB: Breaking changes in this release.
func screenIdentifier(for viewController: UIViewController) -> ScreenIdentifier?
method is added toTTIMetricsReceiver
andRenderingMetricsReceiver
.func ttiMetricsReceived(metrics: TTIMetrics, screen: ScreenIdentifier)
andfunc renderingMetricsReceived(metrics: RenderingMetrics, screen: ScreenIdentifier)
now receive the same type which is returned from thescreenIdentifier(for:)
.ViewControllerLoggingReceiver
also has the same methodscreenIdentifier(for:)
and receives notString
butScreenIdentifier
.shouldTrack(viewController:)
method is removed. Returnnil
fromscreenIdentifier(for:)
if you do not want to track this view controller.
- Introduce typed identifiers for screen level metric receivers by @pilot34 in #10
- Experiment to create view controller observers on the background by @pilot34 in #11
Full Changelog: 1.3.0...1.4.0
1.3.0
What's Changed
To customize hang threshold you can implement method in your HangsReceiver
:
public func fatalHangReceived(info: HangInfo) {
// ...
}
public var hangThreshold: TimeInterval {
return 5
}
Default value is 2 seconds.
Full Changelog: 1.2.7...1.3.0