dart-sdk/pkg/compiler/tool
Nate Biggs ad2708d071 [dart2js] Delete modular compilation step.
The Dart2JS team has agreed that this mode of compilation is no longer worth investing in at this time and its existence adds some overhead to other feature work so it is worth fully removing. In the future we may revisit this mode of compilation. Below is some more context for any future exploration in this space.

What didn't work with modular analysis:
- current modular analysis was computing impacts, which were dense (50% of the size of kernel)
- using it moved work to a modular phase, and cut Phase1 in half however end-to-end time was not better
- data overhead was very high
- it made it much harder to maintain invariants throughout the pipeline: the data is tightly coupled with the kernel AST, making it hard to make late modifications to the AST.

How to potentially make it better:
- make the data much more sparse
- make the data more independent from the kernel AST so that transformations are not breaking
- reduce the critical path in a more substantial way.

Note: We retain and ignore the commandline flags used for modular analysis in order to avoid breaking build pipelines that were passing them. We may remove these at a later date.

Change-Id: If574ce2358280ab5fedd89c62665328601e72e22
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333360
Reviewed-by: Mayank Patke <fishythefish@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2023-11-03 00:11:50 +00:00
..
kernel_visitor [dart2js] Bump pubspec SDK constraint to 3.0.0 2023-09-07 17:07:24 +00:00
null_safety [cfe] Use Uint8List instead of List<int> for representing bytes 2023-06-26 08:07:13 +00:00
used_names [dart2js] Avoid using 'at' as a minified instance method name. 2022-01-29 01:03:52 +00:00
dart2js_profile_many.dart [dart2js] Migrate pkg/compiler/tool to null safety. 2023-02-15 04:04:48 +00:00
dart2js_stress.dart [dart2js] Migrate pkg/compiler/tool to null safety. 2023-02-15 04:04:48 +00:00
graph_isomorphizer.dart [dart2js] Bump pubspec SDK constraint to 3.0.0 2023-09-07 17:07:24 +00:00
hot_reload_launcher.dart [dart2js] add helper script for faster iteration. 2023-08-25 18:12:29 +00:00
modular_dart2js.dart [dart2js] Migrate pkg/compiler/tool to null safety. 2023-02-15 04:04:48 +00:00
modular_test_suite.dart [dart2js] Delete modular compilation step. 2023-11-03 00:11:50 +00:00
modular_test_suite_helper.dart [dart2js] Delete modular compilation step. 2023-11-03 00:11:50 +00:00
szcmp Add szcmp script for comparing sizes of files 2022-03-23 23:59:21 +00:00
track_memory.dart [dart2js] Migrate pkg/compiler/tool to null safety. 2023-02-15 04:04:48 +00:00
update_id_tests.dart [dart2js] Migrate pkg/compiler/tool to null safety. 2023-02-15 04:04:48 +00:00