You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/10/23 14:03:43 UTC

[jira] [Comment Edited] (FLEX-33835) LocaleSorter#sortLocalesByPreference is slow

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

Justin Mclean edited comment on FLEX-33835 at 10/23/13 12:02 PM:
-----------------------------------------------------------------

Mind trying out this patch (patch.diff) and seeing how it performs. Thanks.


was (Author: jmclean):
Mind trying out this patch and seeing how it performs. Thanks.

> LocaleSorter#sortLocalesByPreference is slow
> --------------------------------------------
>
>                 Key: FLEX-33835
>                 URL: https://issues.apache.org/jira/browse/FLEX-33835
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Mobile: Performance, Performance: Framework
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Mobile (Air ios), Desktop
>            Reporter: Benoit Wiart
>            Assignee: Justin Mclean
>              Labels: mobile, perfomance
>         Attachments: 0001-localesorter-optimization.patch, localesorter.png, patch.diff
>
>
> LocaleSorter#sortLocalesByPreference is slow and creates a lot of allocations
> See the scout screenshot on ios / Ipad2 with ONLY 4 compiled locales (657ms).
> with the patch, on my desktop (with about 50 compiled locales ) time went from 180ms to 15ms.



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