You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2018/06/20 11:10:25 UTC
[2/3] incubator-weex git commit: *[iOS] revert statistics improvement
for weex rendering
*[iOS] revert statistics improvement for weex rendering
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d503542f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d503542f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d503542f
Branch: refs/heads/release
Commit: d503542f38f614b364cc42b68a42b7cbc8cc9392
Parents: 16d43e6
Author: boboning <ni...@163.com>
Authored: Wed Jun 20 14:53:55 2018 +0800
Committer: Adam Feng <cx...@gmail.com>
Committed: Wed Jun 20 19:10:13 2018 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm | 2 +-
ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d503542f/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm b/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
index 3fa3f33..da05dd4 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
@@ -742,7 +742,7 @@ static NSThread *WXComponentThread;
[self _addUITask:^{
UIView *rootView = instance.rootView;
- //WX_MONITOR_INSTANCE_PERF_END(WXPTFirstScreenRender, instance);
+ WX_MONITOR_INSTANCE_PERF_END(WXPTFirstScreenRender, instance);
WX_MONITOR_INSTANCE_PERF_END(WXPTAllRender, instance);
WX_MONITOR_SUCCESS(WXMTJSBridge);
WX_MONITOR_SUCCESS(WXMTNativeRender);
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d503542f/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m b/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
index 27a53b8..954d9c4 100644
--- a/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
+++ b/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
@@ -216,9 +216,9 @@ static WXThreadSafeMutableDictionary *globalPerformanceDict;
commitDict[@"instanceId"] = [instance instanceId]?:@"";
//new performance point
- if (!commitDict[SCREENRENDERTIME] && commitDict[TOTALTIME]) {
- commitDict[SCREENRENDERTIME] = commitDict[TOTALTIME];
- }
+// if (!commitDict[SCREENRENDERTIME] && commitDict[TOTALTIME]) {
+// commitDict[SCREENRENDERTIME] = commitDict[TOTALTIME];
+// }
commitDict[CALLCREATEINSTANCETIME] = commitDict[COMMUNICATETIME];
commitDict[COMMUNICATETOTALTIME] = commitDict[TOTALTIME];