[flexcoders] High CPU usage when I hover and remain in AdvaceddataGrid cell

2009-08-13 Thread garfild190
Hi guys, I created a tree using AdvancedDataGrid and I have 2 very very troubling problems. 1. When I hover over a cell which I have a renderer for, The cpu goes up to 30 and stay there, even if I'm not moving the mouse. 2. For 1000 rows the vertical scroll is realy legging behind the mouse. Ar

Re: [flexcoders] High CPU usage redux

2009-05-28 Thread Tom McNeer
Hi Rick, Thanks for the thorough explanation. Interesting to know more about the cause, though I sure hope they fix the bug. The problem is that while the application has focus cpu usage will be > higher... So, I guess the real question is if cpu consumption while the > application is active is j

Re: [flexcoders] High CPU usage redux

2009-05-28 Thread Rick Winscot
Tom, After a little more poking around I found this issue in the Adobe bug-base for the Flash Player. http://bugs.adobe.com/jira/browse/FP-1149 ...and... https://bugs.adobe.com/jira/browse/FP-2009 It looks like the root cause isn¹t with skinning but rather frame rate handling which could be trig

Re: [flexcoders] High CPU usage redux

2009-05-28 Thread Tom McNeer
Rick, On Thu, May 28, 2009 at 9:54 AM, Rick Winscot wrote: > Your observation that your application footprint increased when touching > creationPolicy is what one should expect. > Actually, I wasn't very clear: it wasn't that the application footprint increased (though it did, minimally);

Re: [flexcoders] High CPU usage redux

2009-05-28 Thread Rick Winscot
Tom, Just a few quick points... you might already know but would be wise to cover for sake of maintaining history. Resources are allocated as components/controls/whatnot come into view. Your observation that your application footprint increased when touching creationPolicy is what one should expe

[flexcoders] High CPU usage redux

2009-05-28 Thread Tom McNeer
A couple of days ago, I posted a message regarding extremely high CPU usage in an application I was building. Eventually, I concluded that the problem was not the Flex app, but some other processes on the same machine. However, I have since found out that I was incorrect -- the problem was the Fle

Re: [flexcoders] High CPU usage

2009-05-27 Thread Tom McNeer
Rick, || I’d be interested to know how the operating system ‘drag’ is || >> generated. >> > Let me just say that it had nothing to do with Flex. It was a purely local problem on my machine, not something that would translate. Basically, I was having to develop (temporarily) on a machine that

Re: [flexcoders] High CPU usage

2009-05-27 Thread Rick Winscot
Tom ­ no problem. If you find that this is highly reproducible I¹d be interested to know how the operating system Œdrag¹ is generated. Rick Winscot On 5/27/09 9:00 AM, "Tom McNeer" wrote: > > > > > > Rick and Fotis, > > Thanks for your suggestions. It was the fact that none of t

Re: [flexcoders] High CPU usage

2009-05-27 Thread Tom McNeer
Rick and Fotis, Thanks for your suggestions. It was the fact that none of the visual/redrawing actions you discuss were going on that mystified me. The problem was elsewhere. And Rick, I didn't post code because the problem seemed to involve the interaction of a whole stack of view components. T

Re: [flexcoders] High CPU usage

2009-05-26 Thread Fotis Chatzinikos
use the debug player, right click and show redraw regions... I had a similar problems with some animated hidden swfs eating app cpu cycles by constantly animating / redrawing even thought they where visible=false On Wed, May 27, 2009 at 3:04 AM, Rick Winscot wrote: > > > How often are you calli

Re: [flexcoders] High CPU usage

2009-05-26 Thread Rick Winscot
How often are you calling invalidateDisplayList()? Are you using effects, filters, or skins ­ and if so... to what extent. Is there data involved? What kind and how much? Are the components custom? If so... can you post some code for us to look at? Obviously, all we can do is Œstab in the dark¹ an

[flexcoders] High CPU usage

2009-05-26 Thread Tom McNeer
Hi, Can anyone direct me to resources on how to track/profile/explore CPU usage in a Flex app? I've googled without any real success. In an app I'm developing, the CPU usage seemed to suddenly shoot up to near 100%. Now, I'm sure that it didn't happen suddenly; I'm sure I just wasn't paying atten