dart-sdk/pkg/front_end
Jens Johansen 021b4a0bc8 Always reuse dart: libraries in computeReusedLibraries
We don't support invalidating `dart:` libraries, so there's no reason
to include such libraries in the computeReusedLibraries calculations:
They should aways be reused.

This CL does exactly that.

On 430 flutter tests, it changes the time it takes to execute
`computeReusedLibraries` by -15.7188% +/- 8.83679%
(-193.125 ms +/- 108.571 ms for all 430 tests) (at 95% confidence).

Said another way it reduces the average runtime for
computeReusedLibraries from ~2.8 ms to ~2.4 ms.

Change-Id: I23a68d4910c81be94b8d9d29495e63546bdad23f
Reviewed-on: https://dart-review.googlesource.com/52441
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
2018-05-16 06:05:57 +00:00
..
benchmarks/ikg Smaller changes to incremental_perf.dart, this is preparation for the flutter IKG perf benchmark 2017-11-17 10:34:12 +00:00
lib/src Always reuse dart: libraries in computeReusedLibraries 2018-05-16 06:05:57 +00:00
test Revert "Revert "[vm/kernel] Expression execution through Kernel." 2018-05-15 12:03:22 +00:00
testcases Fix invalidation not sticking on compile error 2018-05-15 14:25:16 +00:00
tool Improve handling and testing of additional targets 2018-05-14 15:16:47 +00:00
analysis_options.yaml Fix dynamic as bottom uses in front end and dart2js. 2017-10-30 19:54:26 +00:00
error_recovery.yaml Add error_recovery.yaml: a place to add scenarios we explicitly want to model in 2017-08-10 11:52:48 -07:00
LICENSE Create a README and pubspec for the front_end package. 2016-10-19 12:14:38 -07:00
messages.status Revert "[vm/kernel] Enable kernel2kernel "constants" transformation in AOT mode (after running TFA)" 2018-05-11 17:50:46 +00:00
messages.yaml Improve handling and testing of additional targets 2018-05-14 15:16:47 +00:00
pubspec.yaml Restrict analyzer/front_end/kernel SDK versions to dev.48+. 2018-05-14 19:32:45 +00:00
README.md Prepare for analyzer 0.32.0. 2018-05-14 18:07:02 +00:00
testing.json Test code for CFE expression compilation. 2018-04-30 15:33:11 +00:00

Front end for Dart

This package provides a low-level API for use by compiler back ends that wish to implement the Dart language. It is intended for eventual use by dev_compiler, dart2js, and the Dart VM. In addition, it will share implementation details with the analyzer package--this will be accomplished by having the analyzer package import (and re-export) parts of this package's private implementation.

End-users should use the [dartanalyzer][analyzercli] command-line tool to analyze their Dart code.

Integrators that want to write tools that analyze Dart code should use the [analyzer] package.

Note: The APIs in this package are in an early state; developers should be careful about depending on this package. In particular, there is no semver contract for release versions of this package. Please depend directly on individual versions.