Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9486D10482 for ; Wed, 30 Oct 2013 08:35:28 +0000 (UTC) Received: (qmail 93474 invoked by uid 500); 30 Oct 2013 08:35:27 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 93423 invoked by uid 500); 30 Oct 2013 08:35:27 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 93381 invoked by uid 99); 30 Oct 2013 08:35:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Oct 2013 08:35:25 +0000 Date: Wed, 30 Oct 2013 08:35:25 +0000 (UTC) From: "Justin Mclean (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLEX-33835) LocaleSorter#sortLocalesByPreference is slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean resolved FLEX-33835. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.12.0 Checked into develop branch. Thanks for the patch. > 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 > Fix For: Apache Flex 4.12.0 > > 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)