Author: [email protected]
Date: Thu Jun 11 13:10:53 2009
New Revision: 5543
Modified:
wiki/CodeSplitting.wiki
Log:
Updated the instructions for running SoycDashboard
Modified: wiki/CodeSplitting.wiki
==============================================================================
--- wiki/CodeSplitting.wiki (original)
+++ wiki/CodeSplitting.wiki Thu Jun 11 13:10:53 2009
@@ -131,6 +131,8 @@
==The results of code splitting==
+THIS SECTION IS OUT OF DATE. -Lex Spoon (June 11, 2009)
+
Before going further, it is important to understand exactly what fragments
the code splitter divides your code into. That way you can examine
how the splitting went and work towards improving it.
@@ -189,14 +191,16 @@
type "ant tools" at the top of your GWT checkout.
Then, run it by running Java with the following settings:
* JVM argument `-Xmx1024m` (higher if you need)
- * classpath `build/lib/gwt-soyc-vis.jar` (and nothing else!)
+ * classpath `build/lib/gwt-soyc-vis.jar:build/lib/gwt-dev-linux.jar`
* main class `com.google.gwt.soyc.SoycDashboard`
- * a command-line argument of "report0.xml.gz"
+ * a command-line argument of "-resource build/lib/gwt-soyc-vis.jar"
+ * a command-line arguments
of "stories0.xml.gz", "dependencies0.xml.gz", "splitPoints0.xml.gz"
* a working directory in the same location as manifest.xml
-The tool will then emit into the same directory as manifest.xml a
-number of HTML files. Open `SoycDashboard-index.html` in a web
-browser to learn many things about the compilation of your program.
+You can optionally specify a `-out` flag specifying where the output
should go;
+by default the output is into the current directory.
+
+The top-level HTML page to open is `SoycDashboard-index.html`.
==Overall sizes==
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---