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] [Commented] (FLEX-33835) LocaleSorter#sortLocalesByPreference is slow
Date Wed, 30 Oct 2013 07:27:25 GMT

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

Justin Mclean commented on FLEX-33835:
--------------------------------------

I was hoping to avoid it but seems there's not a simple way - just applying and testing the
patch for you. 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)

Mime
View raw message