Reviewers: kathrin, Description: Currently, SOYC shows dependency information for a whole-program dependency trace. This patch additionally shows the various dependency graphs used by the code splitter to decide what code goes into what fragment.
The display of this information can use work. Since the patch is getting large, though, I was thinking we might want to go ahead with it and at least get the information included at all. Thoughts welcome on that plan; it would also be possible to spend time polishing up the UI further. This patch has several parts: 1. The CodeSplitter can record its dependencies as it goes. 2. Correspondingly, DependencyRecorder is updated to handle recording multiple dependency graphs to the same file. 3. The dashboard now has "dependency linkers" that specify what dependency page to link to from each size breakdown. 4. For the total-size breakdown, there is a "split status" page added, because it's ambiguous which dependency graph to show. 5. For the leftovers size breakdown, there is a "leftovers" page added, again because it's ambiguous which dependency graph to show. 6. To improve the text within the UI, the initial split point sequence is now recorded to splitPointsN.xml.gz. Please review this at http://gwt-code-reviews.appspot.com/50806 Affected files: dev/core/src/com/google/gwt/core/ext/soyc/impl/DependencyRecorder.java dev/core/src/com/google/gwt/core/ext/soyc/impl/SplitPointRecorder.java dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java tools/soyc-vis/src/com/google/gwt/soyc/GlobalInformation.java tools/soyc-vis/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
