mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![]() The analyzer snapshot is currently "trained" with `--help`, i.e. not really trained at all. Doing some archaeology, it actually used to be trained, but it was disabled in https://dart-review.git.corp.google.com/c/sdk/+/77228 because of Fuchsia issues (https://github.com/dart-lang/sdk/issues/34616). Although the troublesome stuff was perhaps fixed in https://dart-review.git.corp.google.com/c/sdk/+/77422 it was seemingly never re-enabled. That was 2018. This CL re-enables it, taking an initial uncached analysis of dart2js to ~51% (~9.5s vs ~18.6s), of the analyzer to ~75% (~22.2s vs ~29.6) and of the front_end to ~50% (~7.7s vs ~15.2s). This won’t change the peak performance of the analyzer, but will certainly - as seen above - make it faster when first loaded. Change-Id: I613e6a5b52d00da15948cf936f20ea36ad28818e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269683 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Jens Johansen <jensj@google.com> |
||
---|---|---|
.. | ||
analysis_server | ||
bazel | ||
compiler | ||
dart2native | ||
dart2wasm | ||
dartanalyzer | ||
dartdev | ||
dartdevc | ||
dds | ||
gen_kernel | ||
kernel-service | ||
peg | ||
tests/peg | ||
aot_snapshot.gni | ||
application_snapshot.gni | ||
compile_platform.gni | ||
create_timestamp.gni | ||
OWNERS |