Roberto Lublinerman has uploaded a new change for review.

  https://gwt-review.googlesource.com/2280


Change subject: Remove early optimization from Precompile.
......................................................................

Remove early optimization from Precompile.

An early round of optimization results in increased compile time for large
project. The reason is that the optimizations are run on a bigger
AST that does not benefit of the prunning made available by instantiating
a specific permutation.

Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45
---
M dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
1 file changed, 0 insertions(+), 8 deletions(-)



diff --git a/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java b/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
index 5d1a2ab..17104e4 100644
--- a/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
+++ b/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
@@ -716,14 +716,6 @@
            * reducing the total permutation count.
            */
           optimize(options, jprogram);
-        } else {
-          /*
- * Do only minimal early optimizations. This code path is used by the
-           * Precompile entry point. The external system might be able to
-           * perfectly parallelize the permutation compiles, so let's avoid
- * doing potentially superlinear optimizations on the unified AST.
-           */
-          optimizeLoop("Early Optimization", jprogram, false);
         }
       }


--
To view, visit https://gwt-review.googlesource.com/2280
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26bad5f14735a9283021b53edadc5bde1a659c45
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman <rlu...@google.com>

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to