-
October 4th, 2007, 10:00 AM
#1
Hi,
how do you update your data provider?
Our VisualTable class extends the core ArrayCollection class.
Apart from the logic, to update the view we use something similar to this code:
Hope that helps.
-
October 12th, 2007, 07:31 AM
#2
That with a couple of other changes helped in bringing down the cpu usage from 90% to 40%. Even a page that works with VisualTable takes same amount of cpu. But the memory usage was about 20% better than the NonVisualTable approach.
But I still feel 40% cpu usage on the client side is bad in either approaches. What could be wrong?
-
October 12th, 2007, 01:14 PM
#3
Hello,
Most of the CPU is used to show data on video. You could remove visual effects (if any), reduce the number of updates per second and so on to try to get better performance.
Please try to subscribe your NonVisualTables but remove every visual "notification" (i.e. just subscribe and use an empty NonVisualItemUpdateEvent listener). How much CPU is used?
With the NonVisualTable approach more memory is used because each item must be handled by 2 objects (the ArrayCollection and the NonVisualTable) and so some data is kept by both. The VisualTable extends the ArrayCollection and is written so there is no redundancy on data.
Moreover the Flash player uses a "step" approach to allocate memory from the system. See http://blogs.adobe.com/aharui/2007/0...nd_memory.html
Similar Threads
-
By Hammer7 in forum Client SDKs
Replies: 1
Last Post: August 16th, 2010, 09:31 AM
-
By giangum in forum Client SDKs
Replies: 1
Last Post: September 1st, 2009, 09:20 AM
-
By riwang in forum Client SDKs
Replies: 3
Last Post: May 21st, 2009, 09:37 AM
-
By rsouissi in forum Adapter SDKs
Replies: 7
Last Post: December 11th, 2006, 09:26 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 01:02 PM.
Bookmarks