Re: Slowdown of GWT while loading

2010-01-06 Thread George Georgovassilis
Hi Raul,

If you can't modify the server.xml then you have still two ways to
compress the html.

1. Use a filter. You can specify a filter in your web.xml and compress
all static content on the fly. Bad for server side performance, but it
will do the trick.
2. gzip the .cache.html files on the disk and put a filter in web.xml
that will just set the correct headers.

On Jan 6, 3:20 pm, Raul raahoo...@gmail.com wrote:
 Thank you Sripathi Krishnan, aditya and Fazeel Kazi

 Yeah you are right.. I had pretty Compilation so why all
 my .cache.html files were large in volume.
 after compiling with OBS, the size gets reduced much.
 Later I tried Tomcat Compressing option,, by modifying the Server.xml
 file and put the following options to Catellina tag:

 compression=on
 compressionMinSize=2048
 noCompressionUserAgents=gozilla, traviata
 compressableMimeType=text/html, text/xml, text/javascript,
 application/javascript

 The performance is much better now, But I am not sure whether I will
 get permission to modify the Tomcat Server.xml file, when I go to
 deply it in Web.

 I have not tried the code-splitting methodology yet as I am using
 GWT1.7
 But I shall work on it, as I would towards code finalizing.

 Thanks for your Kind Co operation
 Raul

 On Jan 4, 11:57 pm, aditya ch adityac1...@gmail.com wrote:

  First of all, ensure you have enabled 'obfuscated' flag while doing
  the GWT compilation which would hopefully reduce the size of the
  '.cache.html' files that gets generated.
  And if you are using latest version of GWT i.e. 2.0, try code
  splitting and load the code only when it's required.
  Please revert back if you still couldn't see much variations.

  On Jan 5, 5:27 am, Raul raahoo...@gmail.com wrote:

   Hello all,

   I am developing a Database application using GWT. From very initial
   stage I was having slow loading problem in my app and now, as the
   volume and number of files gradually increasing, it is becoming
   worsened in terms of loading. Now my application is taking more than a
   minute, sometimes even more than 2 minutes to load the application in
   client.

   I have modified my coding style by best possible way I can, but it is
   not helping me out any ways to reduce the loading time.

   I have 6 .cache.html file in my application_name folder [which are
   generated by GWT compiler] each having average 7.5 MB in size.

   Please help me out in this issue, otherwise choosing GWT for building
   my application will turns out to be a wrong decision.

   Thanks in advance.
   Raul
-- 
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-tool...@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: Slowdown of GWT while loading

2010-01-05 Thread Sripathi Krishnan
So, what are the file sizes of 1.cache.html through 5.cache.html ? I am
guessing they are very small as compared to c.cache.html...

If that's the case, your code-splitting methodology has problems. The last
fragment is the 'leftover' fragment. Any code fragment which is being used
by more than one async block ends up in the leftover fragment.

Couple of recommendations -

   1. What pattern are you using to split your code base?
   I would recommend using the Async Provider pattern. Its the only thing
   that worked reliably for me.
   2. Have you yet run the soyc dashboard?
   If not, you should absolutely do so. This paragraph from the
   CodeSplitting wiki applies to you.

A less common example is that you expected an item to be exclusive to
some split point, but actually it's only included in leftover fragments. In
this case, browse to the item via the total program code subset. You will
then get a page describing where the code of that item ended up. If the 
 item
is not exclusive to any split point, then you will be shown a list of all
split points. If you click on any of them, you will be shown a dependency
chain for the item that does not include the split point you selected. To
get the item exclusive to some split point, choose a split point, click on
it, and then break a link in the dependency chain that comes up.


The Code Splitting documentation can be found here -
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting


--Sri


2010/1/5 Raul raahoo...@gmail.com

 Hello all,

 I am developing a Database application using GWT. From very initial
 stage I was having slow loading problem in my app and now, as the
 volume and number of files gradually increasing, it is becoming
 worsened in terms of loading. Now my application is taking more than a
 minute, sometimes even more than 2 minutes to load the application in
 client.

 I have modified my coding style by best possible way I can, but it is
 not helping me out any ways to reduce the loading time.

 I have 6 .cache.html file in my application_name folder [which are
 generated by GWT compiler] each having average 7.5 MB in size.

 Please help me out in this issue, otherwise choosing GWT for building
 my application will turns out to be a wrong decision.

 Thanks in advance.
 Raul

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: Slowdown of GWT while loading

2010-01-05 Thread Fazeel Kazi
You could do the following if not already done.

1. In .gwt.xml file, check for every inherit, maybe some are not required
now.
2. In build.xml, search for -style and remove that line. This will
ensure obfuscation.
3. Also using Fiddler/ Firebug, find out if the time being consumed is at
server or in browser. It is quite possible that the delay could be at server
side.

Regards.

On Tue, Jan 5, 2010 at 10:27 AM, aditya ch adityac1...@gmail.com wrote:

 First of all, ensure you have enabled 'obfuscated' flag while doing
 the GWT compilation which would hopefully reduce the size of the
 '.cache.html' files that gets generated.
 And if you are using latest version of GWT i.e. 2.0, try code
 splitting and load the code only when it's required.
 Please revert back if you still couldn't see much variations.

 On Jan 5, 5:27 am, Raul raahoo...@gmail.com wrote:
  Hello all,
 
  I am developing a Database application using GWT. From very initial
  stage I was having slow loading problem in my app and now, as the
  volume and number of files gradually increasing, it is becoming
  worsened in terms of loading. Now my application is taking more than a
  minute, sometimes even more than 2 minutes to load the application in
  client.
 
  I have modified my coding style by best possible way I can, but it is
  not helping me out any ways to reduce the loading time.
 
  I have 6 .cache.html file in my application_name folder [which are
  generated by GWT compiler] each having average 7.5 MB in size.
 
  Please help me out in this issue, otherwise choosing GWT for building
  my application will turns out to be a wrong decision.
 
  Thanks in advance.
  Raul

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.




Slowdown of GWT while loading

2010-01-04 Thread Raul
Hello all,

I am developing a Database application using GWT. From very initial
stage I was having slow loading problem in my app and now, as the
volume and number of files gradually increasing, it is becoming
worsened in terms of loading. Now my application is taking more than a
minute, sometimes even more than 2 minutes to load the application in
client.

I have modified my coding style by best possible way I can, but it is
not helping me out any ways to reduce the loading time.

I have 6 .cache.html file in my application_name folder [which are
generated by GWT compiler] each having average 7.5 MB in size.

Please help me out in this issue, otherwise choosing GWT for building
my application will turns out to be a wrong decision.

Thanks in advance.
Raul

--

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-tool...@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: Slowdown of GWT while loading

2010-01-04 Thread aditya ch
First of all, ensure you have enabled 'obfuscated' flag while doing
the GWT compilation which would hopefully reduce the size of the
'.cache.html' files that gets generated.
And if you are using latest version of GWT i.e. 2.0, try code
splitting and load the code only when it's required.
Please revert back if you still couldn't see much variations.

On Jan 5, 5:27 am, Raul raahoo...@gmail.com wrote:
 Hello all,

 I am developing a Database application using GWT. From very initial
 stage I was having slow loading problem in my app and now, as the
 volume and number of files gradually increasing, it is becoming
 worsened in terms of loading. Now my application is taking more than a
 minute, sometimes even more than 2 minutes to load the application in
 client.

 I have modified my coding style by best possible way I can, but it is
 not helping me out any ways to reduce the loading time.

 I have 6 .cache.html file in my application_name folder [which are
 generated by GWT compiler] each having average 7.5 MB in size.

 Please help me out in this issue, otherwise choosing GWT for building
 my application will turns out to be a wrong decision.

 Thanks in advance.
 Raul

--

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