dart-sdk/tests/utils
Karl Klose 2a137d16db dart2js cps: Fix performance issues in optimization passes.
Type propagation, shrinking reductions, and let sinking each took
more than 2 minutes on a stress test, where now they take a few
seconds.

Huge hash tables (Map/Set) were a big problem, especially when used as
worklists.

Let sinking had an issue with a linear-time search for the enclosing
continuation of an expression. This has been replaced with a visitor
state.

The stress test was:

  tests/co19/src/LibTest/collection/ListBase/ListBase_class_A01_t02

This was only slow because negative constants get translated to
intercepted calls. That itself should be fixed, but the IR should
still be able to handle the stress.

The change in shrinking reductions altered the redex priority from
FIFO to LIFO which has a negative effect on code quality in
unwrapException (in any test case with a try/catch). It seems like
an existing issue that has surfaced.

Since I am going on vacation, I ask that someone would please
commit this on my behalf (assuming things are looking good).
--asgerf

BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1252883003 .
2015-07-27 12:12:06 +02:00
..
dart2js_test.dart Move dart2js from sdk/lib/_internal/compiler to pkg/compiler 2014-11-05 08:51:01 +00:00
dummy.dart
dummy_compiler_test.dart Fix await parsing. 2015-02-03 14:20:21 +00:00
recursive_import_test.dart Remove Compiler.assembledCode. 2015-01-06 11:06:23 +00:00
source_mirrors_test.dart Move dart2js from sdk/lib/_internal/compiler to pkg/compiler 2014-11-05 08:51:01 +00:00
test_utils.dart Remove deprecated Strings class. 2013-02-19 13:57:03 +00:00
utils.status dart2js cps: Fix performance issues in optimization passes. 2015-07-27 12:12:06 +02:00