You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/15 09:10:00 UTC

[jira] [Commented] (WEEX-120) weexSDK component manager will consume so much time when unload component

    [ https://issues.apache.org/jira/browse/WEEX-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253158#comment-16253158 ] 

ASF GitHub Bot commented on WEEX-120:
-------------------------------------

GitHub user acton393 opened a pull request:

    https://github.com/apache/incubator-weex/pull/868

    [WEEX-120][iOS]try to optimize unload weex component

    try to optimize unload too much component

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/acton393/incubator-weex iOS-optimize-unload-view-method

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/868.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 #868
    
----
commit 90f535d86e1a234383fac202a4cd92d5aba2e9f7
Author: acton393 <zh...@gmail.com>
Date:   2017-11-15T09:08:20Z

    [WEEX-120][iOS]try to optimize unload weex component
    
     try to reduce context switch when unload component.
    
    Bug:120

----


> weexSDK component manager will consume so much time when unload component
> -------------------------------------------------------------------------
>
>                 Key: WEEX-120
>                 URL: https://issues.apache.org/jira/browse/WEEX-120
>             Project: Weex
>          Issue Type: Bug
>          Components: iOS
>            Reporter: xingZhang
>            Assignee: xingZhang
>
>    
> {code:java}
> 0   libobjc.A.dylib                 0x0000000185520c80 _objc_loadWeakRetained :360 (in libobjc.A.dylib)
> 1   Taobao4iPhone                   0x000000010551e054 -[WXScrollToTarget target] WXScrollerComponent.m:42 (in Taobao4iPhone)
> 2   Taobao4iPhone                   0x000000010551e054 -[WXScrollToTarget target] WXScrollerComponent.m:42 (in Taobao4iPhone)
> 3   Taobao4iPhone                   0x000000010551ff24 -[WXScrollerComponent removeScrollToListener:] WXScrollerComponent.m:371 (in Taobao4iPhone)
> 4   Taobao4iPhone                   0x0000000105523ce4 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:327 (in Taobao4iPhone)
> 5   Taobao4iPhone                   0x0000000105523da0 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:329 (in Taobao4iPhone)
> 6   Taobao4iPhone                   0x0000000105523da0 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:329 (in Taobao4iPhone)
> 7   Taobao4iPhone                   0x0000000105523da0 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:329 (in Taobao4iPhone)
> 8   Taobao4iPhone                   0x0000000105523da0 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:329 (in Taobao4iPhone)
> 9   Taobao4iPhone                   0x0000000105523da0 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:329 (in Taobao4iPhone)
> 10  Taobao4iPhone                   0x0000000105523da0 -[WXComponent(ViewManagement) _unloadViewWithReusing:] WXComponent+ViewManagement.m:329 (in Taobao4iPhone)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)