Hi,

if have a GWT application using the GXT library (http://
www.extjs.com). My Application has on the top a toolbar with a lot of
menu-entries. every menu-entry opens a Window (from GXT) with serveral
UI-elements on it. i want to prevent loading all the Windows from my
app at startup. so i built in code splitting - only a click on the
menu-entry creates the window with new() and shows it.

i built the code-splitting in different ways to see, how it is
working, and therefore i get different results. With safari i
monitored my results, but wat is the best result? in every case i see
dynamic loading for the javascript with different file sizes. can
someone help me to interpret the results?

for testing purpose i have only to menu-entries. for the test, i click
the two in series.

TEST 1
-----------
startup:
 - file 1: 328 KB
click 1:
 - file 2: 7,6 KB
 - file 3: 25,2 KB
click 2:
 - file 4: 0,8 KB

TEST 2
-----------
startup:
 - file 1: 329 KB
click 1:
 - file 2: 0,5 KB
 - file 3: 32,6 KB
click 2:
 - file 4: 0,5 KB


Another question i have is the following: If i use the Window before
code-splitting (e.g. in the onLoad()) with "MyWindow.class" or
"MyWindow.class.getName()" - not new() - does the code-splitting for
the Window still working? Or do these code-statements also load the
Window-JavaScript?

--

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.


Reply via email to