Ok Alex, it seems I was profiling a debug version of the app and not the release one. The sabe build using a release version is around 1/4 of the debug one. So I still get around 200ms to 400ms per module (between 300k to 800k in size).Is this more "acceptable" as overhead? I still find it too much considering that apps can have something in between 12 to 20 fps and clearly this times are way above the budget.
On 28 March 2014 16:27, Alex Harui <[email protected]> wrote: > Yes, the images say self time is 1.6 seconds. How big is the module? > It might be interesting to see what the FB profiler shows. > > -Alex > > From: João Fernandes <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Friday, March 28, 2014 8:13 AM > To: "[email protected]" <[email protected]> > Subject: Re: Preparing ActionScript Bytecode > > > I think it's the self time (single frame) as you can see here [1][2][3]. > The percent time is above 90% of the total frame time. > > > > [1] > https://www.dropbox.com/s/x7suurimsxqhixk/Captura%20de%20tela%202014-03-28% > 2015.06.53.png > < > https://www.dropbox.com/s/x7suurimsxqhixk/Captura%20de%20tela%202014-03-28 > %2015.06.53.png> > [2] > https://www.dropbox.com/s/x7suurimsxqhixk/Captura%20de%20tela%202014-03-28% > 2015.06.53.png > < > https://www.dropbox.com/s/x7suurimsxqhixk/Captura%20de%20tela%202014-03-28 > %2015.06.53.png> > [3] > > > > > On 28 March 2014 15:04, Alex Harui <[email protected]> wrote: > > Is that cumulative time or self time? What % of total time are you seeing? > > I thought that was simply the parsing of the module's ABC code. It > shouldn't take long on its own and should be directly related to the > amount of code in the module. > > -Alex > > On 3/28/14 7:42 AM, "João Fernandes" <[email protected]> > wrote: > > >I've noticed a lot of time is spent is this process when a module is > >loaded > >(movieClip.nextFrame > preparing ActionScript Bytecode) and I wonder if > >there is any way to optimize and prevent so much overhead in this process. > > > >-- > > > >João Fernandes > > > > > > > > > > -- > > João Fernandes > > -- João Fernandes
