dart-sdk/pkg/js_runtime
Mark Zhou a0b35de326 [dart2js] Moving runtime allocations to pkg:dart2js_runtime_metrics
* Stores runtime information on `$runtimeMetrics` instead of `$__dart_deferred_initializers__`
* Keys each app's runtime allocations onto self.runtimeMetrics.$currentScript

Change-Id: I6612fd2a5ac792bfcb7580ffe91d5391b80d5965
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/242507
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Mark Zhou <markzipan@google.com>
2022-04-29 21:48:41 +00:00
..
lib/shared [dart2js] Moving runtime allocations to pkg:dart2js_runtime_metrics 2022-04-29 21:48:41 +00:00
test
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
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.