You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/10 10:02:25 UTC
[1/4] incubator-weex git commit: *[ios] add some attribute value in
monitor
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 <ni...@163.com>
Authored: Thu Aug 10 17:04:08 2017 +0800
Committer: boboning <ni...@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]];
[4/4] incubator-weex git commit: Merge branch '0.16-dev' of
https://github.com/boboning/incubator-weex into wip-us-0.16-dev
Posted by ac...@apache.org.
Merge branch '0.16-dev' of https://github.com/boboning/incubator-weex into wip-us-0.16-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/80f20145
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/80f20145
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/80f20145
Branch: refs/heads/0.16-dev
Commit: 80f20145f1c4de51b13c0f11b63ded3260a0cfbc
Parents: c20e931 5fa95ce
Author: acton393 <zh...@gmail.com>
Authored: Thu Aug 10 18:02:10 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Aug 10 18:02:10 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m | 7 +++++++
ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h | 2 ++
2 files changed, 9 insertions(+)
----------------------------------------------------------------------
[2/4] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.16-dev' into 0.16-dev
Posted by ac...@apache.org.
Merge remote-tracking branch 'upstream/0.16-dev' into 0.16-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3d84ec8e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3d84ec8e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3d84ec8e
Branch: refs/heads/0.16-dev
Commit: 3d84ec8e27df68a0155f4e4fa27e1b8afa80abb6
Parents: 2f47530 e377699
Author: boboning <ni...@163.com>
Authored: Thu Aug 10 17:08:44 2017 +0800
Committer: boboning <ni...@163.com>
Committed: Thu Aug 10 17:08:44 2017 +0800
----------------------------------------------------------------------
examples/vue/modules/websocket.vue | 22 +++++++++++++++++++-
.../WeexSDK/Sources/Loader/WXWebSocketLoader.h | 2 +-
.../WeexSDK/Sources/Loader/WXWebSocketLoader.m | 2 +-
ios/sdk/WeexSDK/Sources/Module/WXStreamModule.m | 13 ++++++++++++
.../WeexSDK/Sources/Module/WXWebSocketModule.m | 16 ++++++++++++--
ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 12 +++++++++++
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 22 ++++++++++++++++++++
.../Sources/WebSocket/WXWebSocketDefaultImpl.m | 2 +-
8 files changed, 85 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
[3/4] incubator-weex git commit: * [ios] update some macro in monitor
Posted by ac...@apache.org.
* [ios] update some macro 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/5fa95cec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5fa95cec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5fa95cec
Branch: refs/heads/0.16-dev
Commit: 5fa95cec88482aa5859ad1ba3c37135c8d7656c5
Parents: 3d84ec8
Author: boboning <ni...@163.com>
Authored: Thu Aug 10 17:28:47 2017 +0800
Committer: boboning <ni...@163.com>
Committed: Thu Aug 10 17:28:47 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m | 8 ++++----
ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5fa95cec/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 96397dc..99797e0 100644
--- a/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
+++ b/ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m
@@ -104,12 +104,12 @@ 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[CACHEPROCESSTIME]) {
+ commitDict[CACHEPROCESSTIME] = instance.userInfo[CACHEPROCESSTIME];
}
- if (instance.userInfo[@"weex_cache_ratio"]) {
- commitDict[@"cacheRatio"] = instance.userInfo[@"weex_cache_ratio"];
+ if (instance.userInfo[CACHERATIO]) {
+ commitDict[CACHERATIO] = instance.userInfo[CACHERATIO];
}
if (instance.userInfo[WXCUSTOMMONITORINFO]) {
if([instance.userInfo[WXCUSTOMMONITORINFO] isKindOfClass:[NSDictionary class]]) {
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5fa95cec/ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h b/ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h
index 6bba638..761ba8e 100644
--- a/ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h
+++ b/ios/sdk/WeexSDK/Sources/Protocol/WXAppMonitorProtocol.h
@@ -36,6 +36,8 @@
#define SCREENRENDERTIME @"screenRenderTime"
#define TOTALTIME @"totalTime"
+#define CACHEPROCESSTIME @"cacheProcessTime"
+#define CACHERATIO @"cacheRatio"
@protocol WXAppMonitorProtocol <WXModuleProtocol>