flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLEX-33865) ConstraintLayout / LayoutElementHelper are memory inefficient (and slow)
Date Mon, 04 Nov 2013 05:10:33 GMT

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

Justin Mclean edited comment on FLEX-33865 at 11/4/13 5:09 AM:
---------------------------------------------------------------

Was profiled in non debug/release swf but in a debug player. Re-running in non debug player
gives similar results, String._split + string._replace causing the major effect (11% vs 0%),
CG effect less but still noticeable (5% vs 3%). "Only" about 15% speed improvement in non
debug player (for this test).

Both string._split and parseConstantExp add to CG time before the patch, afterwards only parseConstantExp.
However I can't see any evidence that the array changes have contributed to CG improvement
in this test case - perhaps a different test is required?

(But test was run on desktop not mobile so may be differences in CG there.)




was (Author: jmclean):
Was profiled in non debug/release swf but in a debug player. Re-running in non debug player
gives similar results, String._split + string._replace causing the major effect (11% vs 0%),
CG effect less but still noticeable (5% vs 3%). "Only" about 15% speed improvement in non
debug player (for this test).

Both string._split and parseConstantExp add to CG time before the patch, afterwards only parseConstantExp.
However I can't see any evidence that the array changes have contributed to CG improvement
in this test case - perhaps a different test is required?



> ConstraintLayout / LayoutElementHelper are memory inefficient (and slow)
> ------------------------------------------------------------------------
>
>                 Key: FLEX-33865
>                 URL: https://issues.apache.org/jira/browse/FLEX-33865
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Mobile: Performance, Spark: Layout
>    Affects Versions: Apache Flex 4.11.0
>         Environment: mobile desktop
>            Reporter: Benoit Wiart
>            Assignee: Maurice Amsellem
>              Labels: mobile, performance
>         Attachments: 0001-ConstraintLayout-optimizationsV2.patch, desktopafter.png, desktopbefore.png,
layout-1-desktop-memory.png, layout-2-desktop-memory.png, layout-3-mobile-memory.png
>
>
> ConstraintLayout / LayoutElementHelper are doing too many memory allocation.
> it's really bad on mobile
> the attached screenshots were taken on desktop



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

Mime
View raw message