Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCF1FDD26 for ; Fri, 31 Aug 2012 02:50:43 +0000 (UTC) Received: (qmail 76423 invoked by uid 500); 31 Aug 2012 02:50:43 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 76396 invoked by uid 500); 31 Aug 2012 02:50:43 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 76386 invoked by uid 99); 31 Aug 2012 02:50:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 02:50:43 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of flexcapacitor@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 02:50:35 +0000 Received: by iebc11 with SMTP id c11so1410978ieb.6 for ; Thu, 30 Aug 2012 19:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dNmylbf2tbjC8XoWLBF1OoF1X5JD8ITcyyIj67MwXTE=; b=O3H4HHgqjgPPbuIm4hbXk3vmhmSp92MYHhVC8uH+0vhmsCvnYpcRCjzM6b7EZjt2ey 9z/Vx94shc3cdex2I73vXsd+XwIfPKKew9+EnN3HEOmQ+8/9X+/MSeEe4QyaPk3TvOtv 0fXRavXB94IvywW4Em9+paQLoY4NAvfs/jjNc7aPBH/MGO02gmuWho+gXy0BNrPN/N++ NYhz68v2JrzD/scOgHEmaO6bDlqNzGTenf62PnxNS8wx32wjyhKlDq/aWx2Kxk+flGoH hrDd0e6/shK/jkZQK7JD4Iy1nxGt+4z7kwaANEx0AwhZ5mQh94ZHAXNrvwx8RFbzHE25 un9A== Received: by 10.50.89.197 with SMTP id bq5mr547599igb.7.1346381414207; Thu, 30 Aug 2012 19:50:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.62.34 with HTTP; Thu, 30 Aug 2012 19:49:53 -0700 (PDT) In-Reply-To: References: From: jude Date: Thu, 30 Aug 2012 21:49:53 -0500 Message-ID: Subject: Re: Cross-compiling Flex to HTML5/Javascript (Was : Update on Falcon donation) To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8f3ba75fed0f8b04c886d90b --e89a8f3ba75fed0f8b04c886d90b Content-Type: text/plain; charset=ISO-8859-1 On Thu, Aug 30, 2012 at 4:09 PM, Alex Harui wrote: > On 8/30/12 1:36 PM, "jude" wrote: > > Remember when iOS 5 came out a year or so ago? The HTML5 performance in > > that browser was 2FPS. After that update it was 35-40FPS. A 2000% > increase. > > [1] > Yes, things get faster, but I would say that performance has been an issue > for Flex for its entire lifetime, and faster devices have not alleviated > the > problem. If Flex 1.0 had gone for a cleaner architecture, it isn't clear > it > would have been successful enough to end up here in Apache. > I've been trying to figure that out as well. Why is it that the same animation in Flex is not as smooth as the same animation in Flash (in my tests)? I thought maybe Flex was animating on pixel level while Flash is animating on a sub pixel level but in my research into the Animation classes it seems they *are* using Number (if I'm correct). There was a property on the Animate specifications that was effectively roundToInt / pixel but it seems to have been removed or renamed but could possibly still be in there. If somewhere along the line the value is getting converted to ints that might be causing it. Anyway, if you know where the bottle necks are I might be able to help (since I don't). Well, sortof. I know that with the transitions and effects classes that the first time through in some of my tests it took from 20 to 200 ms to initialize or create them (I had a lot of animations). That's the difference between the call to sequence.play and the startEffect event and the first child startEffect event (something like that). In subsequent calls the time between them was less than 1 ms. So if they're being deferred then that's what's causing the initial low frame rate. I would rather have the choice to have them created right away if it meant smoother animation. Another issue is to find out if it's the creation, validation or render that's the issue. I don't know of any tools that report this for SDK classes. --e89a8f3ba75fed0f8b04c886d90b--