GitHub user lucky-chen opened a pull request: https://github.com/apache/incubator-weex/pull/1056
new feature for weex performance *isNewFeature* **:** * [ ] Update API docs for the component. * [ ] Update/Add demo to demonstrate new feature. * [ ] Update test scripts for the feature. * [ ] Add unit tests for the feature. # support WeexPerformance && errorReport - JSLibSize - JSLibInitTime - SDKInitTime - SDKInitInvokeTime - SDKInitExecuteTime - JSTemplateSize - pureNetworkTime - networkTime - fsCreateInstanceTime - fsCallJsTotalTime - fsCallJsTotalNum - fsCallNativeTotalTime - fsCallNativeTotalNum - fsCallEventTotalNum - fsRenderTime - fsRequestNum - callCreateFinishTime - cellExceedNum - communicateTotalTime - maxDeepViewLayer - maxDeepVDomLayer - componentCount - avgFps - timerCount - imgSizeCount - interactionTime - MaxImproveMemory - BackImproveMemory - PushImproveMemory // no longer needed and will be deleted soon. - communicateTime(0D, 5000D), - screenRenderTime(0D, 5000D), - totalTime(0D, 5000D), - localReadTime(0D, 5000D), - templateLoadTime(0D, 5000D), - packageSpendTime(0D, 5000D), - syncTaskTime(0D, 5000D), actualNetworkTime(0D, 5000D), firstScreenJSFExecuteTime(0D, 5000D), You can merge this pull request into a Git repository by running: $ git pull https://github.com/lucky-chen/incubator-weex master_gky Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1056.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1056 ---- commit bc6970f83b9896f97a0840aaab9d5b837cd951e2 Author: acton393 <zhangxing610321@...> Date: 2017-11-03T12:04:47Z Merge branch 'release-0.16' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit d4892b0dd908c9d82aa9b4eb00c003cb7c9f8602 Author: acton393 <zhangxing610321@...> Date: 2017-11-09T09:59:40Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit bb353db0c83f79ae0bac43d59a1652bf176217d9 Author: acton393 <zhangxing610321@...> Date: 2017-11-13T06:48:07Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit d66c248ea0923cb1b8bbe7893ada93b878a4aec0 Author: gurisxie <279483595@...> Date: 2017-11-13T08:48:48Z Merge commit 'b296bea738be69a341e7496ac8ca0cf76a3e1a89' into ios-package-mirror-master commit be24ca19e67f934ead0b8e50fe388b5d8bedfc9b Author: acton393 <zhangxing610321@...> Date: 2017-11-16T03:27:12Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit a29904bb5152bf5b1beb6f61350791efde9e273a Author: acton393 <zhangxing610321@...> Date: 2017-11-16T03:27:58Z Merge branch 'ios-package-mirror-master' of gitlab.alibaba-inc.com:weex/weex into ios-package-mirror-master commit c9a9317173d5bf03f39036b490cdf305d22884cc Author: misakuo <misakuo@...> Date: 2017-11-16T09:25:32Z * [android] avoid crash on some device caused by RippleDrawable (cherry picked from commit 1f7a309) commit 32db62b4377f224a0ac3bec272d265185af641f8 Author: atomtong <tong_huabing@...> Date: 2017-11-16T11:06:17Z Merge branch 'master' into release-0.16-gitlab * master: revert clip path targetview judge. * [android] avoid crash on some device caused by RippleDrawable [WEEX-107] [android] layer type none has some bug on some platform. force layer type soft for render text right * [test] update image compare border * [test] update image compare png commit edccb5bcbbc011e29c04c21f39dd55886d9773ad Author: acton393 <zhangxing610321@...> Date: 2017-11-16T14:54:53Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit a4320f438e4d8afeedd525399fd931bce1f8c91d Author: acton393 <zhangxing610321@...> Date: 2017-11-16T14:55:43Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit 601b292cf448892ec5d237517ce38d1fc0f62c74 Author: acton393 <zhangxing610321@...> Date: 2017-11-16T16:33:19Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit e5ebfbdb33d28b631756ad8dd7e74f516bfdf62e Author: jianbai.gbj <jianbai.gbj@...> Date: 2017-11-17T03:03:30Z Merge branch 'master' of https://github.com/apache/incubator-weex into release-0.16-gitlab commit 5586f4572870cbee10acfa9fbe66840922e1536b Author: acton393 <zhangxing610321@...> Date: 2017-11-17T07:22:28Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit 1239baf5a42a039d471a3973248fd7ece4d2a579 Author: atomtong <tong_huabing@...> Date: 2017-11-20T07:52:53Z Merge branch 'master' into release-0.16-gitlab * master: * [android] fix page oin slider can not receive the lifecycle callbacks [WEEX-134][android] createInstance and initFramework may on different Thread, add volatile static for mInit * [ios] update compare png for border commit aadc2756db1f59c0826a79730405475ddf2f374e Author: acton393 <zhangxing610321@...> Date: 2017-11-22T08:23:29Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit c7e948b544c3c38309ba793979e9da3149edcfe8 Author: atomtong <tong_huabing@...> Date: 2017-11-22T12:21:58Z Merge branch 'master' into release-0.16-gitlab * master: * [doc] publish 0.17.0 release note [WEEX-112][iOS] make weex playground app adapt to iPhone X close #896 * [test] bug fix , compatibility of maraca can't find element [WEEX-131][ios]URL property in error event of web component may not be the real URL, fix it. close #822 Add mavenLocal before jcenter repository Remove maven central repository, use only jcenter close #790,close #796,close #801,close #803 close #884,close #886,close #889 -[test] close #887 resolve #887 [WEEX-132][iOS] support text writing direction from right to left [WEEX-133][iOS] support word-wrap on iOS when drawing text [WEEX-129][android] Appear Event Be Fired Multi Times And Event not watch be fired [WEEX-124][android]fix android bug commit 77edfb415f5f05641356c1baddd77d856ccd09a9 Author: acton393 <zhangxing610321@...> Date: 2017-11-23T03:45:43Z Merge branches 'master' and 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit aa588432fc0e640af2db859bcac6033b01b6d9b6 Author: misakuo <misakuo@...> Date: 2017-11-23T13:34:04Z Merge remote-tracking branch 'remotes/upstream/master' into release-0.16-gitlab commit bd25f3b98e11523c2120b294eab404f04f9664b2 Author: misakuo <misakuo@...> Date: 2017-11-23T13:37:16Z Merge remote-tracking branch 'gitlab/release-0.16-gitlab' into release-0.16-gitlab commit 883eaf60b75e46b0f3b84964d7448dccf9c3e85a Author: MrRaindrop <tekkahs@...> Date: 2017-10-31T14:15:05Z * [html5] bugfix: - fix waterfall: use headers below cells as footers. - fix issue WEEX-97. - fix click handler being invoked twice for switch. commit 0e227cd8b0a8abb43e8f7c9fff5154e6f04a5169 Author: doumafang <doumafang@...> Date: 2017-11-17T06:09:36Z * [ios] refix transform's parse bug about translate close #898, close #903, close #907, close #883 * [ios] fix parse translateY * [ios] fix transition transform value incorrect commit 7719ac44cc32581e63004e7305c44b1f7201f728 Author: Hanks <zhanghan.me@...> Date: 2017-11-22T11:06:02Z - [jsfm] remove directive filter in attributes - [jsfm] remove test cases of directive filter close #899 commit 59a2c217cc36920a311a5202d25f833c17341162 Author: CYJB <f8cyjb@...> Date: 2017-11-23T04:11:15Z [WEEX-139][ios]Provide system language infomation Provide locale module, contains information about system language. Example: [http://dotwe.org/vue/fc5e91d6f1a809bab2f073af53f4dd94] commit acdbba34bb8c8978a023d17769d1126d0570f95e Author: misakuo <misakuo@...> Date: 2017-11-23T09:47:08Z * [android] fix pseudo status can not restore commit 250bb58e8baead23ef0c53e8f70facee05f605ec Author: misakuo <misakuo@...> Date: 2017-11-23T13:48:40Z Merge remote-tracking branch 'remotes/upstream/master' into release-0.16-gitlab commit dab197dd08ab08b5e399037546a2177321c5948f Author: atomtong <tong_huabing@...> Date: 2017-11-29T09:06:44Z Merge branch 'release-0.17-gitlab' into release-0.16-gitlab * release-0.17-gitlab: Weex render and other thin but critical issues should be classify to render container by call render of exception callback close #920 * [android] remove override post and postDelayed, wrap anonymous Runnable with WXThread.secure() close #919 * [android] clear box-shadow when component has recycled close #917 * [android] support multi box-shadow close #915 * [doc] doc references: update weex.config.bundleUrl's description close #909 [WEEX-145][iOS]fix: Crash in WXScrollerComponent scrollViewDidScroll,Collection NSHashTable was mutated while being enumerated close #910 * [android] support role property to accessibility * [android] add license header close #912 * [android] remove cn strings * [android] fix en role [WEEX-138][android]WXParallax wat not reseted to right position, when scrollToElement with animated:false option. dx dy is zero when recycleview use scrollToPosition close #906 [WEEX-142][android] PullToRefresh Loading Support Scroll Back when touch not release close #905 [WEEX-140][android]layout animation supported more property close #904 commit 5d3bc73ae02f05456bd28cdbfdc73fbd0be44318 Author: acton393 <zhangxing610321@...> Date: 2017-11-30T12:18:21Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit 9be253307b88b24ebcc598479f59f96d41b00773 Author: acton393 <zhangxing610321@...> Date: 2017-12-05T09:26:36Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit 83d9ca407788c9b0848473392cf65b73fcaf8f42 Author: acton393 <zhangxing610321@...> Date: 2017-12-06T13:32:54Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-package-mirror-master commit 9048bb0695ec8af26f3745f6c1f408196b8de060 Author: YorkShen <shenyuancs@...> Date: 2017-12-07T09:33:10Z * [Android] Update Performance measurement. ---- ---