23b50dfa7d
The internal dart:_dart2js_runtime_metrics library is accessed via package:dart2js_runtime_metrics. There is currently one API: startupMetrics. On non-dart2js configurations the API is stubbed for ease-of-use. Change-Id: I80c56a83fd166ec19c3846fb6937cf0440ed2c6b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208563 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
Package js_runtime:
This package contains code that is shared between the dart2js compiler and the dart2js runtime libraries.
Important: all code under the lib/shared/ must be kept in sync with the
runtime at all times (in sdk/lib/_internal/js_runtime/lib/shared). The
test/in_sync_test.dart test verifies this.