Repository: incubator-weex
Updated Branches:
  refs/heads/0.16-dev c20e93175 -> 80f20145f


*[ios] add some attribute value  in monitor


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/2f475306
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/2f475306
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/2f475306

Branch: refs/heads/0.16-dev
Commit: 2f47530604e82138bf5fd3994d144ef8e4d5f5c8
Parents: 5894ef6
Author: boboning <ningli...@163.com>
Authored: Thu Aug 10 17:04:08 2017 +0800
Committer: boboning <ningli...@163.com>
Committed: Thu Aug 10 17:04:08 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2f475306/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 a2a4d6d..96397dc 100644
--- a/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
+++ b/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
@@ -104,6 +104,13 @@ static WXThreadSafeMutableDictionary 
*globalPerformanceDict;
     if (instance.userInfo[@"weex_bundlejs_requestType"]) {
         commitDict[@"requestType"] = 
instance.userInfo[@"weex_bundlejs_requestType"];
     }
+    if (instance.userInfo[@"weex_cache_processTime"]) {
+        commitDict[@"cacheProcessTime"] = 
instance.userInfo[@"weex_cache_processTime"];
+    }
+    
+    if (instance.userInfo[@"weex_cache_ratio"]) {
+        commitDict[@"cacheRatio"] = instance.userInfo[@"weex_cache_ratio"];
+    }
     if (instance.userInfo[WXCUSTOMMONITORINFO]) {
         if([instance.userInfo[WXCUSTOMMONITORINFO] isKindOfClass:[NSDictionary 
class]]) {
             commitDict[WXCUSTOMMONITORINFO] = [WXUtility 
JSONString:instance.userInfo[WXCUSTOMMONITORINFO]];

Reply via email to