dart-sdk/pkg/js_runtime
Stephen Adams 23b50dfa7d [dart2js] Add dart:_dart2js_runtime_metrics library and package
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>
2021-08-03 18:25:00 +00:00
..
lib/shared [dart2js] Add dart:_dart2js_runtime_metrics library and package 2021-08-03 18:25:00 +00:00
test
pubspec.yaml
README.md

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.