Initial download size

2012-03-15 Thread Sarika
In our application we have to reduce our initial loading time. We are
using code splitting in gwt. Still it's taking more time to load. We
did splits based on references methods as well as in events to load
corresponding codes to load on that event. Still it s taking more time
 not able to reduce half size of the overall code.

How can i use splitting more efficiently?

-- 
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.



Re: Initial download size

2011-10-29 Thread Andrei
I built an app with 10 very complex views. Each view has a table with
data or a form, and a few popup dialogs. Plus, each view has several
paragraphs of text. There are 5 different services supporting these
views, and about 20 types of complex data entities. Total download
size: 550kB.

The biggest difference, I guess, is that I use pure GWT - no GXT.

Note that many packages that you see (like AbstractHashMap) are used
by GWT components themselves. This is why they are included. You can
trace each package to its source Ina compile report.

-- 
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.



Re: Initial download size

2011-10-29 Thread morteza adi
Thanks Andrei

i did a lot of research on GXT before starting the project but never thought
of problems like this !!
just a single GXT gridview without any implementation is more than 1mb !!!
fortunately i can easily migrate to GWT.
thanks again !!


Truly yours,
Morteza Adi


On Sat, Oct 29, 2011 at 6:08 PM, Andrei vol...@spiraluniverseinc.comwrote:

 I built an app with 10 very complex views. Each view has a table with
 data or a form, and a few popup dialogs. Plus, each view has several
 paragraphs of text. There are 5 different services supporting these
 views, and about 20 types of complex data entities. Total download
 size: 550kB.

 The biggest difference, I guess, is that I use pure GWT - no GXT.

 Note that many packages that you see (like AbstractHashMap) are used
 by GWT components themselves. This is why they are included. You can
 trace each package to its source Ina compile report.

 --
 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.



-- 
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.



Initial download size

2011-10-27 Thread Morteza Adi
I'm using GXT/GWT in  a project.  with help of  code splitting i could 
reduce initial download size to 2232796 bytes.
However i think it is still too big for initial download.
after inspecting compile reports i found that there are some classes 
/packages in jre and gwtlang
like java.util.AbstractHashMap or java.lang.Math
i've never used them in my project. there are also some gwt / gxt classes 
i've never used but they got loaded in initial download. 

i have some questions and i would be so thankful if anyone help me out.
is gwt compiler compiles every packages in jre or just compiles those which 
are implemented ??
i have just a simple login page which is split from rest of the code. how 
much the minimum initial download size do you expect i can reach(what is 
the normal download size for a simple project)?

thanks 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Qpa3qoUaNxgJ.
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.