Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3ACF1200B4D for ; Sat, 23 Jul 2016 10:25:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 395E2160A74; Sat, 23 Jul 2016 08:25:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7EA4C160A67 for ; Sat, 23 Jul 2016 10:25:58 +0200 (CEST) Received: (qmail 57003 invoked by uid 500); 23 Jul 2016 08:25:52 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 56991 invoked by uid 99); 23 Jul 2016 08:25:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2016 08:25:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0202E1A601A for ; Sat, 23 Jul 2016 08:25:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.215 X-Spam-Level: ** X-Spam-Status: No, score=2.215 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id O4vcn1Q2gryf for ; Sat, 23 Jul 2016 08:25:50 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id AD3535FC52 for ; Sat, 23 Jul 2016 08:25:49 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 2B3F926891214 for ; Sat, 23 Jul 2016 01:25:47 -0700 (MST) Date: Sat, 23 Jul 2016 00:42:05 -0700 (PDT) From: bilbosax To: users@flex.apache.org Message-ID: <1469259725098-13029.post@n4.nabble.com> In-Reply-To: References: <1469242295632-13026.post@n4.nabble.com> Subject: Re: Why are Spark Datagrid headers sorting my data so slowly in Air? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sat, 23 Jul 2016 08:25:59 -0000 Thanks for the quick reply. I have to admit that although I have programmed a lot for fun in Flex, this is the first time I want to deploy a desktop app to be used on a regular basis. Thus, I was intending on profiling the application when I was finished building it, but have very very limited experience using the Profiler. Taking a quick look at it, it looks like once all my components are built and deployed including all my dropdownlist filters and the datagrid which has been loaded with my 40k records, the application is using about 90MB of memory. Even after I start playing with the dropdownlists that I use to filter the datagrid, the memory useage seems to stay put. I don't know what it means, but I am a little surprised to see that an itemrenderer is using 14.32% of the memory with 24 instances. The renderer is very simple. The column data is either true or false, so I have a button that displays in the renderer and is visible if the value is true and is not visible if it is false. The button has a skin that is also using about 14% of the memory with 24 instances. These two items are in the top 6 of the items displayed. I have no idea if this means anything to the sorting speed of the table when clicking on a header. Is there anything in particular that I should be looking for in the profiler? -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Why-are-Spark-Datagrid-headers-sorting-my-data-so-slowly-in-Air-tp13026p13029.html Sent from the Apache Flex Users mailing list archive at Nabble.com.