Should I always use -XfragmentMerge 20 ?

2012-07-18 Thread regnoult axel
Hello,

I did not perfectly understood what *XfragmentMerge* is doing, but I have 
seen that it is mostly used with the number 20 or 23...
Should I use an appropriate value (analysing the compile report of my 
application) or could I simply always use 20 ?

Thanks you,



-- 
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/-/Aunh_zDBMZoJ.
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: Should I always use -XfragmentMerge 20 ?

2012-07-18 Thread Alan Leung
You should not be using XfragmentMerge.

Instead --XfragmentCount is what you should be looking at.

Depending on the size of your application, my suggestion is you tune your
application using this method.

  Let N be the number of GWT.runAsync
   Compile your app with --XfragmentCount X where X is a number between N/2
to N-1

Check the output size and see which one you like. This includes checking
for the biggest exclusive JS and your leftover JS

-Alan

On Wed, Jul 18, 2012 at 1:48 PM, regnoult axel regno...@gmail.com wrote:

 Hello,

 I did not perfectly understood what *XfragmentMerge* is doing, but I have
 seen that it is mostly used with the number 20 or 23...
 Should I use an appropriate value (analysing the compile report of my
 application) or could I simply always use 20 ?

 Thanks you,



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