Re: how large of your GWT compiled code? My one is 850K

2009-12-09 Thread Luis Fernando Planella Gonzalez
Sorry for taking so long to answer, but I haven't seen your post
before.
We haven't yet done any larger performance test, but it is very
acceptable.
Yesterday, in a first no-brainer attempt of GWT.runAsync(), I've
managed to get a 650K initial download and then a separate file per
module (for now, modules varies from few K to 180K).
I'll still try to reduce both the initial download and the modules.
It does takes more time to compile now. That's an issue to me as I
can't use the built-in server: we use EJB, so there's an external
server. Whenever anything changes in RPC (params, methods, even
classes) we need to recompile :-/
I still didn't implement gzip compression, but hope things can get
much better...
Ah, about IE6: as our app is targeted to late 2010, we won't support
IE6 \o/
--
Luis Fernando Planella Gonzalez

On 16 nov, 12:19, Bakul bakul.ku...@gmail.com wrote:
 Hi,

 Our app,  50 -55 % done so far, for one browser is nearly 1.6 MB
 without gzip. And it has nearly 70 -80 RPC calls.

 Luis, Question for you:
 As you said your app is 2.1 MB of obfuscated, how is the preformance
 and does it has any issue?

 Question to all:
 What is the max size that of GWT one module that a browser can handle
 without any issue, specially IE 6, in our case :-(         ?

 Thanks,
 Bakul.

--

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: how large of your GWT compiled code? My one is 850K

2009-11-16 Thread luisfpg
Our app is still 60-70% complete and already has 2.1MiB of obfuscated
code. Pretty code is 14+MiB.
However we've developed several components and widgets, and we have a
lot of RemoteServices wich several (and sometimes complex) model
classes, which are transmitted over the wire.
We will still further investigate the GWT 2.0's runAsync(), which
should make things better.
Gzipping is also a must.
Just to point out, someone said that changing collection interfaces to
implementations (i.e.: List to ArrayList) in remote services /
serializable classes would reduce the code size. We tried it, and
reduced 100k. Not to ignore, but would make the code largely
unmaintainable, so we won't do it.
Any further tips on reducing code size would be nice.
--
Luis Fernando Planella Gonzalez

--

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




Re: how large of your GWT compiled code? My one is 850K

2009-11-16 Thread Bakul
Hi,

Our app,  50 -55 % done so far, for one browser is nearly 1.6 MB
without gzip. And it has nearly 70 -80 RPC calls.

Luis, Question for you:
As you said your app is 2.1 MB of obfuscated, how is the preformance
and does it has any issue?

Question to all:
What is the max size that of GWT one module that a browser can handle
without any issue, specially IE 6, in our case :-( ?

Thanks,
Bakul.


On Nov 16, 6:08 am, luisfpg lfpg@gmail.com wrote:
 Our app is still 60-70% complete and already has 2.1MiB of obfuscated
 code. Pretty code is 14+MiB.
 However we've developed several components and widgets, and we have a
 lot of RemoteServices wich several (and sometimes complex) model
 classes, which are transmitted over the wire.
 We will still further investigate the GWT 2.0's runAsync(), which
 should make things better.
 Gzipping is also a must.
 Just to point out, someone said that changing collection interfaces to
 implementations (i.e.: List to ArrayList) in remote services /
 serializable classes would reduce the code size. We tried it, and
 reduced 100k. Not to ignore, but would make the code largely
 unmaintainable, so we won't do it.
 Any further tips on reducing code size would be nice.
 --
 Luis Fernando Planella Gonzalez

--

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




Re: how large of your GWT compiled code? My one is 850K

2009-11-15 Thread Edgenius
It looks no one care about initial loading performance. My project
single HTML is 850k, after gzip is about 200k.  OK, maybe I am too
critical

On Nov 15, 7:50 am, rjcarr rjc...@gmail.com wrote:
 I have (what I think is) a rather large application and the main files
 are about 400KB (remember, only 1 is loaded).  My browser reports that
 these files are down to 100K when gzip compressed over the wire.
 That's the equivalent of one large image ... not too bad in my
 opinion.

 Content-Encoding:gzip
 Content-Length:109967

 On Nov 13, 6:26 pm, Dean S. Jones deansjo...@gmail.com wrote:

  850k is nothing, it's the size of many images or photo's, as hazy1
  said, compression will reduce the size dramatically,
  ( I moved compression from the app server to my fronting Apache and
  it's much more efficient )
  and you can also set the expires header on the GWT html/js to some
  future date ( a week or month )
  ( but do not set it on files that contain .nocache. )

  once my app is loaded and cached properly, it's up on the screen with
  all the required RPC traffic
  amounting to a a total network xfer of only 4k!!! ( as reported by
  firebug )

  On Nov 13, 2:14 pm, hazy1 matt.egyh...@gmail.com wrote:

   Our code size, uncompressed is several megabytes.  We compress and
   cache it (both on the client and on the server - cache the zipped file
   in memory).  It is not much trouble after doing this.

   On Nov 12, 6:48 pm, Edgenius dapeng...@edgenius.com wrote:

I am very excited for code split feature on Gwt 2.0 as the HTML code
size after compiled already bloats to 850k. I give a quick try but it
looks not work like a breeze. I know I have to do more research. I
don't use lots of third party libraries, actually, only 2 libraries:
GWT-DND, GWT-LOG. My GWT client code is about 350 classes.

So, do you have any good practice to reduce code size? Does code split
give you very good result?

Or just tell us what is your compiled code size and how many your
classes...

--

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




Re: how large of your GWT compiled code? My one is 850K

2009-11-14 Thread rjcarr
I have (what I think is) a rather large application and the main files
are about 400KB (remember, only 1 is loaded).  My browser reports that
these files are down to 100K when gzip compressed over the wire.
That's the equivalent of one large image ... not too bad in my
opinion.

Content-Encoding:gzip
Content-Length:109967

On Nov 13, 6:26 pm, Dean S. Jones deansjo...@gmail.com wrote:
 850k is nothing, it's the size of many images or photo's, as hazy1
 said, compression will reduce the size dramatically,
 ( I moved compression from the app server to my fronting Apache and
 it's much more efficient )
 and you can also set the expires header on the GWT html/js to some
 future date ( a week or month )
 ( but do not set it on files that contain .nocache. )

 once my app is loaded and cached properly, it's up on the screen with
 all the required RPC traffic
 amounting to a a total network xfer of only 4k!!! ( as reported by
 firebug )

 On Nov 13, 2:14 pm, hazy1 matt.egyh...@gmail.com wrote:



  Our code size, uncompressed is several megabytes.  We compress and
  cache it (both on the client and on the server - cache the zipped file
  in memory).  It is not much trouble after doing this.

  On Nov 12, 6:48 pm, Edgenius dapeng...@edgenius.com wrote:

   I am very excited for code split feature on Gwt 2.0 as the HTML code
   size after compiled already bloats to 850k. I give a quick try but it
   looks not work like a breeze. I know I have to do more research. I
   don't use lots of third party libraries, actually, only 2 libraries:
   GWT-DND, GWT-LOG. My GWT client code is about 350 classes.

   So, do you have any good practice to reduce code size? Does code split
   give you very good result?

   Or just tell us what is your compiled code size and how many your
   classes...

--

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




Re: how large of your GWT compiled code? My one is 850K

2009-11-13 Thread hazy1
Our code size, uncompressed is several megabytes.  We compress and
cache it (both on the client and on the server - cache the zipped file
in memory).  It is not much trouble after doing this.

On Nov 12, 6:48 pm, Edgenius dapeng...@edgenius.com wrote:
 I am very excited for code split feature on Gwt 2.0 as the HTML code
 size after compiled already bloats to 850k. I give a quick try but it
 looks not work like a breeze. I know I have to do more research. I
 don't use lots of third party libraries, actually, only 2 libraries:
 GWT-DND, GWT-LOG. My GWT client code is about 350 classes.

 So, do you have any good practice to reduce code size? Does code split
 give you very good result?

 Or just tell us what is your compiled code size and how many your
 classes...

--

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




Re: how large of your GWT compiled code? My one is 850K

2009-11-13 Thread Dean S. Jones
850k is nothing, it's the size of many images or photo's, as hazy1
said, compression will reduce the size dramatically,
( I moved compression from the app server to my fronting Apache and
it's much more efficient )
and you can also set the expires header on the GWT html/js to some
future date ( a week or month )
( but do not set it on files that contain .nocache. )

once my app is loaded and cached properly, it's up on the screen with
all the required RPC traffic
amounting to a a total network xfer of only 4k!!! ( as reported by
firebug )



On Nov 13, 2:14 pm, hazy1 matt.egyh...@gmail.com wrote:
 Our code size, uncompressed is several megabytes.  We compress and
 cache it (both on the client and on the server - cache the zipped file
 in memory).  It is not much trouble after doing this.

 On Nov 12, 6:48 pm, Edgenius dapeng...@edgenius.com wrote:



  I am very excited for code split feature on Gwt 2.0 as the HTML code
  size after compiled already bloats to 850k. I give a quick try but it
  looks not work like a breeze. I know I have to do more research. I
  don't use lots of third party libraries, actually, only 2 libraries:
  GWT-DND, GWT-LOG. My GWT client code is about 350 classes.

  So, do you have any good practice to reduce code size? Does code split
  give you very good result?

  Or just tell us what is your compiled code size and how many your
  classes...

--

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




how large of your GWT compiled code? My one is 850K

2009-11-12 Thread Edgenius
I am very excited for code split feature on Gwt 2.0 as the HTML code
size after compiled already bloats to 850k. I give a quick try but it
looks not work like a breeze. I know I have to do more research. I
don't use lots of third party libraries, actually, only 2 libraries:
GWT-DND, GWT-LOG. My GWT client code is about 350 classes.

So, do you have any good practice to reduce code size? Does code split
give you very good result?

Or just tell us what is your compiled code size and how many your
classes...

--

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