dart-sdk/utils
Jens Johansen 60029641af [analyzer] Train snapshot more than --help
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>
2022-11-15 10:49:51 +00:00
..
analysis_server [analyzer] Train snapshot more than --help 2022-11-15 10:49:51 +00:00
bazel [utils] - Migrate utils/bazel/kernel_worker.dart to sound null safety. 2022-10-26 22:44:47 +00:00
compiler [dart2js] Rename platform files. 2021-10-15 21:40:08 +00:00
dart2native [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
dart2wasm [dart2wasm] Build product snapshot when building for the SDK. 2022-10-26 17:04:17 +00:00
dartanalyzer Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
dartdev [ CLI ] Migrate package:dartdev to null safety 2022-01-26 21:16:49 +00:00
dartdevc [ddc] Include shared library for new runtime types 2022-05-25 18:23:29 +00:00
dds Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
gen_kernel Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
kernel-service Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
peg
tests/peg [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
aot_snapshot.gni [dart2wasm] Build product snapshot when building for the SDK. 2022-10-26 17:04:17 +00:00
application_snapshot.gni [build] Don't invoke the JIT runtime when using kernel for SDK snapshots. 2022-05-17 21:36:56 +00:00
compile_platform.gni Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
create_timestamp.gni Reapply "[build] Track glob dependencies via depfiles, instead of always re-executing scripts at GN time." 2021-05-12 00:27:28 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00