On 15 avr, 13:51, ytbryan <[email protected]> wrote:
> hi folks,
>
> my application has been running very slowly and i would like to know
> why.
You could try compiling in -style DETAILED (or at least PRETTY) and
run a JavaScript profiler (Firebug or IE8 developer tools).
GWT comes with a benchmark framework, but you'd have to know what you
want/have to measure...
> can somebody advise me on what are the common bottleneck that i need
> to optimise? I am pretty new with gwt.
1. optimize network exchanges (generally, you'd better have 1 RPC call
return 3 "kinds" of data, than 3 RPC calls)
2. but GWT-RPC might be slow, particularly while serializing/
deserializing large object graphs
3. when updating the UI, working with hidden (display:none) or, even
better, detached widgets is faster; sometimes, building a new widget
"from scratch", populating it and replacing an existing equivalent
widget might be faster than updating the existing widget
4. rendering-wise, try to set table-layout:fixed on your tables
(including Horizontal/VerticalPanel, FlexTable, Grid, DecoratorPanel,
DecoratedPopupPanel, DialogBox, etc.)
5. what does "slow" mean?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---