You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/11/15 04:22:43 UTC

[03/19] incubator-weex git commit: * [android] register dim and mes

* [android] register dim and mes


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

Branch: refs/heads/master
Commit: f7b851052fb0cc3f8112da30a96dc30680a71a17
Parents: 7857ba4
Author: atomtong <to...@qq.com>
Authored: Thu Nov 2 00:36:26 2017 +0800
Committer: atomtong <to...@qq.com>
Committed: Thu Nov 2 00:36:26 2017 +0800

----------------------------------------------------------------------
 .../main/java/com/taobao/weex/common/WXPerformance.java  | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f7b85105/android/sdk/src/main/java/com/taobao/weex/common/WXPerformance.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/common/WXPerformance.java b/android/sdk/src/main/java/com/taobao/weex/common/WXPerformance.java
index 04eb354..8f682ee 100644
--- a/android/sdk/src/main/java/com/taobao/weex/common/WXPerformance.java
+++ b/android/sdk/src/main/java/com/taobao/weex/common/WXPerformance.java
@@ -235,7 +235,8 @@ public class WXPerformance {
   }
 
   public static String[] getDimensions(){
-    return new String[]{"bizType","templateUrl","pageName","JSLibVersion","WXSDKVersion","connectionType","requestType"};
+    return new String[]{"bizType","templateUrl","pageName","JSLibVersion","WXSDKVersion","connectionType","requestType"
+    ,"wxdim1","wxdim2","wxdim3","wxdim4","wxdim5"};
   }
 
   public static String[] getMeasures(){
@@ -258,7 +259,13 @@ public class WXPerformance {
         "actualNetworkTime",
         "firstScreenJSFExecuteTime",
         "maxDeepViewLayer",
-        "useScroller"};
+        "useScroller",
+		"measureTime1",
+		"measureTime2",
+		"measureTime3",
+		"measureTime4",
+		"measureTime5"
+	};
   }
 
   @Override