Reviewers: bruce, scottb, knorton, spoon,

Description:
This patch will alter the encoding of the initial fragment so that the
browser will evaluate it in chunks.  Chunking the evaluation has
beneficial usability effects because the browser will periodically
unblock the event loop and this helps to offset any super-linear
behavior in JS parsing and evaluation in larger scripts.

Discussion:
   - What is the correct chunk size?
   - Can runAsync fragments take advantage of this?
   - Would in increase in total number of round-trips in XS-mode make
this technique worthwhile, when the developer could more aggressively
adopt runAsync to reduce the initial fragment size?

Please review this at http://gwt-code-reviews.appspot.com/21801

Affected files:
    
dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java
   dev/core/src/com/google/gwt/core/linker/IFrameLinker.java
   dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to