Profile iOS keypoints in the UINavigationViewController (#5108)

This commit is contained in:
Panayot Cankov
2017-12-04 17:43:48 +02:00
committed by GitHub
parent 13e8bfb9d3
commit ec2ce7fe45
3 changed files with 12 additions and 0 deletions

View File

@@ -512,6 +512,7 @@ class UINavigationControllerImpl extends UINavigationController {
}
}
@profile
public viewDidLayoutSubviews(): void {
let owner = this._owner.get();
if (owner) {
@@ -551,6 +552,7 @@ class UINavigationControllerImpl extends UINavigationController {
});
}
@profile
public pushViewControllerAnimated(viewController: UIViewController, animated: boolean): void {
let navigationTransition = <NavigationTransition>viewController[TRANSITION];
if (traceEnabled()) {
@@ -568,6 +570,7 @@ class UINavigationControllerImpl extends UINavigationController {
});
}
@profile
public setViewControllersAnimated(viewControllers: NSArray<any>, animated: boolean): void {
let viewController = viewControllers.lastObject;
let navigationTransition = <NavigationTransition>viewController[TRANSITION];