Chromium Code Reviews
DescriptionAdd command line options
- full-snapshot-after-run (This option generates a full snapshot of an application after it is run with some sample input scenarios, this snapshot includes all the core libraries and other framework libraries and could be potentially tree-shaken to reduce the size)
- run-full-snapshot (This option reads a full snapshot that was generated using the option above and runs it)
Example:
First generate the full application snapshot:
dart_no_snapshot --full-snapshot-after-run=script --package-root=..../packages/ ..../lib/_internal/compiler/implementation/dart2js.dart --categories=all ..../dummy_compiler_test.dart
Then run the full application snapshot generated above:
dart --run-full-snapshot=script ..../lib/_internal/compiler/implementation/dart2js.dart --categories=all ..../dummy_compiler_test.dart
R=srdjan@google.com
Committed: https://github.com/dart-lang/sdk/commit/62b12f27d64ea790adea71a49584f14528a96175
Patch Set 1 #Patch Set 2 : self-review-comments #
Total comments: 4
Patch Set 3 : code-review-changes #Messages
Total messages: 6 (2 generated)
|