On Wed, Apr 22, 2009 at 4:39 PM, denis56 <denis.ergashb...@gmail.com> wrote:

>
> His,
>
> I am seeing above expected performance on my application that displays
> a table (17 x 17 Flextable, using only GWT widgets) of rows that
> should be updated (Timer, RPC) at 1 second intervals. While the
> application targets IE 6 which run somewhat slowly (updates tend to be
> perfomed about 3 times slower), for sake of fairness I must attest
> superior performance in Firefox 3.
>
> Are there common optimizations that help improve speed besides what
> was recently covered in thread
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/c5b8141e70a221ec/5ed79b1444d526b9?lnk=gst&q=efficiency+of+my+gwt+application#5ed79b1444d526b9
>
> I have already made sure:
> - to apply styles only when really needed to avoid browser redraws
> - to use "table: fixed" to improve table rendering (http://
> groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/
> 4e7ae69a917236a8/f3fa66ce621e9cb5?lnk=gst&q=layout%3A
> +fixed#f3fa66ce621e9cb5<http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/%0A4e7ae69a917236a8/f3fa66ce621e9cb5?lnk=gst&q=layout%3A%0A+fixed#f3fa66ce621e9cb5>
> )
> - to use Timer#schedule(1000) instead of timer#scheduleRepeating(1000)
> to process updates one at a time, as resources free up
>
> What else could one think of?
>
> Also, facing some memory leak issues (in IE 6) as there are a lot of
> objects (Labels, Composites) being created for each row update coming
> from server. It seems to be solved by reloading page every 30 minutes,
> but I am wondering if there is a better way to free up browser memory
> automatically and at certain intervals?
>
If the structure of your table doesn't change, then pre-create those labels
& composites & simply change the data being displayed.  Otherwise, at least
for IE, innerHTML is significantly faster (although you lose the ability to
do widgets & event handling gets more complicated)

>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to