flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Wiart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33885) BindingManager#executeBindings : Avoid unneeded memory allocation
Date Thu, 07 Nov 2013 23:13:17 GMT

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

Benoit Wiart commented on FLEX-33885:
-------------------------------------

Gain is mainly on the gc time

It depends on :
- number of components
- number of bindings
- String used in bindings

<warning>
*Non accurate measurement* on a simple application (not the one of files executebindings-before2-mobile-memory.png,
executebindings-before1-mobile-memory.png)
</warning>
on a simple screen few components, 9 bindings -> -2% of gc time

if you want something with a better gain have a look at FLEX-33874


> BindingManager#executeBindings : Avoid unneeded memory allocation
> -----------------------------------------------------------------
>
>                 Key: FLEX-33885
>                 URL: https://issues.apache.org/jira/browse/FLEX-33885
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Data Binding, Mobile: Performance
>    Affects Versions: Apache Flex 4.11.0
>         Environment: desktop mobile
>            Reporter: Benoit Wiart
>            Assignee: Justin Mclean
>            Priority: Minor
>              Labels: memory, performance
>         Attachments: 0001-executeBindings-optimization.patch, executebinding-desktop-memory.png,
executebindings-before1-mobile-memory.png, executebindings-before2-mobile-memory.png
>
>
> BindingManager#executeBindings allocates unneeded strings (and that's bad)
> the screenshot executebinding-desktop-memory.png shows the effect of the patch on desktop
for 1 call of executeBindings.
> the green dot is on the extra allocations



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message