RE: Fabrication framework built with Apache Flex 4.10.0

2013-10-23 Thread piotr.zarzycki
Hi :) Sorry Mark. I'm still working on my english. Demo fixed. - Flex/Air developer open to new job offers and challenges. piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Fabrication-framework-built-with-Apache-Flex-4-10-0-tp3288p3

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
Both Scout and the FB Profiler should be able to show you the top most expensive functions. If you post a screen shot we can see if there is anything unexpected in there. Usually it is just more LayoutManager methods and when you get down to specific component methods it is a low percentage, but

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
In Scout, the Summary panel shows: Total Frame Time = 1601 ms ActionScript3 = 1443 ms DisplayList Rendering = 25 ms Other = 131 ms - Original Message - From: "Maurice Amsellem" To: users@flex.apache.org Sent: Wednesday, October 23, 2013 5:21:45 PM Subject: RE: any techniques to

RE: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Maurice Amsellem
Hi, In Scout, you can the breakdown of rendering vs actionscript for that particular 2sec frame. What are the values ? Maurice -Message d'origine- De : modjkl...@comcast.net [mailto:modjkl...@comcast.net] Envoyé : jeudi 24 octobre 2013 02:12 À : users@flex.apache.org Objet : Re: any

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
Listen to the LayoutManager. I think the code is LayoutManager.getInstance().addEventListener("updateComplete",...) On 10/23/13 5:09 PM, "modjkl...@comcast.net" wrote: >Thanks Alex, silly question... what component should the listener for >updateComplete be attached to? > >I don't think it's po

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
That's a good suggestion Mark. I tried turning various components invisible, which didn't have any impact really. But it sounds like I should have used excludeFrom or includeIn instead. I can try again. - Original Message - From: "Mark Fuqua" To: users@flex.apache.org Sent: Wednesda

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Thanks Alex, silly question... what component should the listener for updateComplete be attached to? I don't think it's possible to attach it to a state. Should I pick some component that is included in myViewState1, for example? I would use this.addEventListener(); but there other states

RE: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Mark Fuqua
I am pretty clueless and don't want to imply anything different, but could you just comment out a bunch of components, then some others, narrowing it down...keep running the test until you see a spike? Mark -Original Message- From: modjkl...@comcast.net [mailto:modjkl...@comcast.net]

RE: Fabrication framework built with Apache Flex 4.10.0

2013-10-23 Thread Mark Fuqua
Thanks for this email...I would still be trying to figure out what you were "REALLY" saying! -Original Message- From: Adrian Gillette [mailto:gille...@adrian.net] Sent: Wednesday, October 23, 2013 6:51 PM To: users@flex.apache.org Cc: Subject: Re: Fabrication framework built with Apache

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
You can listen for an updateComplete from the LayoutManager itself to know that things have settled down. Don't use visible or includeInLayout, that still instantiates and validates components. Use excludeFrom and/or includeIn. -Alex On 10/23/13 4:26 PM, "modjkl...@comcast.net" wrote: >Suppos

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Suppose I take the trick below to divide the view up into two states, such that half of the original first state's components are drawn in the first state, then some time later, the other half of the components get drawn. How could this second state be called after the first state is drawn? I d

Re: Fabrication framework built with Apache Flex 4.10.0

2013-10-23 Thread Adrian Gillette
My apologies. I accidentally replied to the wrong email. Adrian > On Oct 23, 2013, at 3:49 PM, Adrian Gillette wrote: > > Awesome. Does that mean you're picking up the tab for next time? > > Adrian > >> On Oct 23, 2013, at 3:19 PM, "Mark Fuqua" wrote: >> >> Sorry if this is a stupid questi

Re: Fabrication framework built with Apache Flex 4.10.0

2013-10-23 Thread Adrian Gillette
Awesome. Does that mean you're picking up the tab for next time? Adrian > On Oct 23, 2013, at 3:19 PM, "Mark Fuqua" wrote: > > Sorry if this is a stupid question, but is the demo page supposed to be > blank? It was for me. > > Mark > > -Original Message- > From: piotr.zarzycki [mailt

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
Also note that, sometimes, 23 is the right number. If you have several HTTP requests coming in with data to fill combobox dataproviders with the list of cities, categories, etc, you may end up getting invalidated for each results event. -Alex On 10/23/13 3:21 PM, "modjkl...@comcast.net" wrote:

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Thanks Alex, you've been very helpful. I can't say I know enough to fix it, but I can understand the complexity of the problem. - Original Message - From: "Alex Harui" To: users@flex.apache.org Sent: Wednesday, October 23, 2013 3:10:07 PM Subject: Re: any techniques to spread drawin

RE: Fabrication framework built with Apache Flex 4.10.0

2013-10-23 Thread Mark Fuqua
Sorry if this is a stupid question, but is the demo page supposed to be blank? It was for me. Mark -Original Message- From: piotr.zarzycki [mailto:piotrzarzyck...@gmail.com] Sent: Wednesday, October 23, 2013 2:31 PM To: users@flex.apache.org Subject: Fabrication framework built with Apa

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
In a very simple app, clicking on a button might generate one call to doPhasedInstantiation, and creating the new view should generate 1 to 3 more so that's a total of 4, not 23. An idle app does not generate calls to doPhasedInstantiation. Moving a mouse over rollOver targets can, though, so be

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Thanks Alex, It shows 23 calls to LayoutManager.doPhasedInstantiation. Note that I clicked "Reset...", then clicked the button that switches the app to the new view state, then waited for the state to display completely on the screen, then clicked "Capture...". I'm sure there were many frames

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
You want to do performance profiling instead of memory profiling in the FB profiler. Can you control when the code you want to profile will run? Maybe by clicking a button or something? When you launch the profiler, check both the memory and performance boxes, then the app should start up. In t

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Sure, How should I view the call count for LayoutManager.doPhasedInstantiation? Do I simply capture a Memory Snapshot before-and-after transitioning to the view in question, then highlight these two snapshots, then click on the Find Loitering Objects icon? At that point what am I looking for (I

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
Well, those numbers mean that a lot of work is going on, but it is hard to say if it is excessive without call counts. Let's see what the FB profiler has to say. -Alex On 10/23/13 2:08 PM, "modjkl...@comcast.net" wrote: >Thanks Alex, > >I searched, and I'm not using creationPolicy in the app.

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Ahh, I closed the Adobe Scout application and now the Flash Builder built-in profiler works fine. Go figure... - Original Message - From: modjkl...@comcast.net To: users@flex.apache.org Sent: Wednesday, October 23, 2013 2:08:11 PM Subject: Re: any techniques to spread drawing of scre

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
Thanks Alex, I searched, and I'm not using creationPolicy in the app. I'm using spark State, rather than a navigator view (such as spark NavigatorContent). I do see in Scout that the LayoutManager.doPhasedInstantiation (mx.managers) occupies 98% of the total time for the frame in question.

Re: any techniques to spread drawing of screen over several frames?

2013-10-23 Thread Alex Harui
I still haven't used Scout. I have used the FB Profiler so I'm just more used to it. Probably time for me to try Scout. Anyway, the first thing I would check is the call counts. I heard you may not be able to get that from Scout so you may need to use FB. Try to get the call count for LayoutMa

Fabrication framework built with Apache Flex 4.10.0

2013-10-23 Thread piotr.zarzycki
Hi Guys, I've found some time to prepared official Fabrication built with spark Module and spark ModuleLoader. Fabrication: https://code.google.com/p/fabrication/ Refreshed module loader example: src: http://bit.ly/17fOJTi demo: http://bit.ly/17fOJTi Greetings! :) Piotr - Flex/Air deve

any techniques to spread drawing of screen over several frames?

2013-10-23 Thread modjklist
One of the views in my app takes a few seconds to appear on the screen. During this time the mouse icon appears frozen (recovering after the screen is fully drawn). Profiling with Scout, I can see the related frame, which, this one frame, takes a couple seconds to complete. I'm guessing this i