Skip to content

Commit 099f150

Browse files
sigmundchcommit-bot@chromium.org
authored andcommitted
Mention -O flag in CHANGELOG
Fixes dart-lang/sdk#34104 Change-Id: I9d74c931bcb35f280c85b87e1e7847bfe98b72a7 Reviewed-on: https://dart-review.googlesource.com/69181 Reviewed-by: Kevin Moore <[email protected]> Commit-Queue: Sigmund Cherem <[email protected]>
1 parent 79f69ab commit 099f150

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@
2323
* Pub will no longer delete directories named "packages".
2424
* The `--packages-dir` flag is now ignored.
2525

26+
#### dart2js
27+
28+
* Added `-O` flag to tune optimization levels. For more details run `dart2js
29+
-h -v`.
30+
31+
We recommend to enable optimizations using the `-O` flag instead of
32+
individual flags for each optimization. This is because the `-O` flag is
33+
intended to be stable and continue to work in future versions of dart2js,
34+
while individual flags may come and go.
35+
36+
At this time we recommend to test and debug with `-O1` and to deploy with
37+
`-O3`.
38+
2639
## 2.0.0 - 07-08-2018
2740

2841
This is the first major version release of Dart since 1.0.0, so it contains many

0 commit comments

Comments
 (0)