mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 10:48:25 +00:00
[DDC-kernel] Train snapshot on an actual compilation run
The previous situtation of training it by running "--help" doesn't give much. This trains it on a small input file (i.e. theoretically not as good as training it on big input file, but better than the --help situation). On a local hack where I "forced" the compilation of dartdevc.dart itself (i.e. a big input ifle) as the training, it shaved off a few extra seconds, but nothing major. This CL, running language_2 locally this takes it from [04:08 | 100% | + 5171 | - 0] to [03:12 | 100% | + 5171 | - 0] Bug: Change-Id: I9397e11027be3dee3c080be7cdff22ea2f64b654 Reviewed-on: https://dart-review.googlesource.com/28622 Reviewed-by: Karl Klose <karlklose@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
This commit is contained in:
parent
7458045577
commit
5072cba017
|
@ -47,7 +47,9 @@ application_snapshot("dartdevk") {
|
|||
training_args = [
|
||||
"--dart-sdk-summary",
|
||||
rebase_path(sdk_dill),
|
||||
"--help",
|
||||
"-o",
|
||||
"dartdevk.js",
|
||||
rebase_path("../../pkg/dev_compiler/test/codegen/sunflower/sunflower.dart"),
|
||||
]
|
||||
|
||||
deps = [
|
||||
|
|
Loading…
Reference in a new issue