Should I always use -XfragmentMerge 20 ?

161 views
Skip to first unread message

regnoult axel

unread,
Jul 18, 2012, 4:48:39 PM7/18/12
to google-we...@googlegroups.com
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,



Alan Leung

unread,
Jul 18, 2012, 6:09:46 PM7/18/12
to google-we...@googlegroups.com
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


--
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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply all
Reply to author
Forward
0 new messages