wqyfavor commented on a change in pull request #2818: [iOS] output render
timeline on iOS
URL: https://github.com/apache/incubator-weex/pull/2818#discussion_r313247300
##########
File path: ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.m
##########
@@ -243,6 +256,78 @@ - (void) setStatistic:(NSString *)name
withValue:(double)value
[self.apmProtocolInstance addStatistic:name withValue:value];
}
+- (void)printRecordStageMap {
+ __weak typeof(self) weakSelf = self;
+ WXPerformBlockOnComponentThread(^{
+ if (!weakSelf) {
+ return;
+ }
+ WXSDKInstance *instance = [WXSDKManager
instanceForID:weakSelf.instanceId];
Review comment:
是不是要再判断一下instance的状态
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services