FWIW, I'm using these optimization options in my *.gwt.xml file: <!-- Obfuscate RPC class names (shrinks large string literals) --> <inherits name='com.google.gwt.user.RemoteServiceObfuscateTypeNames'/ >
<!-- Strip out stack trace code to reduce JavaScript size --> <set-property name="compiler.stackMode" value="strip"/> <!-- This option assumes that we don't access enum string names --> <set-configuration-property name="compiler.enum.obfuscate.names" value="true"/> Each of those options reduces the size of the generated JavaScript; the extent of the improvement will depend on your particular mix of code. On Jul 3, 7:18 pm, Jim Douglas <[email protected]> wrote: > The missing CompilerMetrics-*-index.html files is this bug: > > http://code.google.com/p/google-web-toolkit/issues/detail?id=6691 > > So ignore the missing CompilerMetrics* files and just focus on the > Split Point Reports; they'll tell you how much space was taken up by > various components generated into your JavaScript files. > > Also, I'm assuming you're generating "Obfuscated" code for production; > the other formats are readable for debugging, but they're about 10x > bigger. > > If you drill down into the lower levels of those reports, they provide > more detail about individual components. You can find some articles > about optimizing GWT here: > > https://developers.google.com/web-toolkit/doc/latest/DevGuideOptimizing > > One more suggestion: Add this to your *.gwt.xml file: > > <set-property name="compiler.stackMode" value="strip"/> > > It's explained here: > > http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions#Co... > > And one more...see if this can suggest any tweaks to your page: > > https://developers.google.com/speed/pagespeed/insights > > On Jul 3, 5:18 pm, regnoult axel <[email protected]> wrote: > > > > > > > > > Ok thank you for the tips, indeed, the compile report will be very usefull. > > It s a nice feature. > > > Could you help me a little more to understand different things related to > > the report I have ? > > > *#1 - *I just see this at the begenning of the report : > > > Permutation 0 () > > > - Split Point > > Report<file:///C:/MS/doc/mananaseguro/soycReport/compile-report/SoycDashboa > > rd-0-index.html> > > - Compiler > > Metrics<file:///C:/MS/doc/mananaseguro/soycReport/compile-report/CompilerMe > > trics-0-index.html> > > > - Why I have just one permutation (I use GWT 2.5 and just the > > -compileReport argument ) ? > > - The link "Compiler Metric" give me a "page not found", do you know why ? > > > *#2* - When I click on permutation 0, I have this : > > > *Split Points*#LocationSize (Bytes)% of total > > [email protected]$1::get<file:///C:/MS/doc/m > > ananaseguro/soycReport/compile-report/sp1-0-overallBreakdown.html> > > 6,[email protected]$3::get<file:///C:/MS/doc/m > > ananaseguro/soycReport/compile-report/sp2-0-overallBreakdown.html> > > 4,[email protected]$5::get<file:///C:/MS/doc/m > > ananaseguro/soycReport/compile-report/sp3-0-overallBreakdown.html> > > 291,[email protected]$6::get<file:///C:/MS/doc/m > > ananaseguro/soycReport/compile-report/sp4-0-overallBreakdown.html> > > 48,[email protected]$7::get<file:///C:/MS/doc/m > > ananaseguro/soycReport/compile-report/sp5-0-overallBreakdown.html> > > 5,[email protected]$10::get<file:///C:/MS/doc/ > > mananaseguro/soycReport/compile-report/sp6-0-overallBreakdown.html> > > 34,[email protected]$11::get<file:///C:/MS/doc/ > > mananaseguro/soycReport/compile-report/sp7-0-overallBreakdown.html> > > 4,[email protected]$12::get<file:///C:/MS/doc/ > > mananaseguro/soycReport/compile-report/sp8-0-overallBreakdown.html> > > 152,[email protected]$13::get<file:///C:/MS/doc/ > > mananaseguro/soycReport/compile-report/sp9-0-overallBreakdown.html> > > > - I do not understand why there is just ClientGinjectorImpl as Location ? > > (I am using the GWT-Plateform that make heavy use of dependency injection ) > > - I do not understand what $1:get $2:get $3:get ... $13:get are refering > > for ? > > > Thank you for your help, -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
