dart-sdk/pkg/dart2js_runtime_metrics
Mark Zhou ad8d2ccb06 [dart2js] Updating runtime allocations to store a JSON-decoded map instead of a JSON string
This was requested by internal teams for easier querying/processing.

Change-Id: I59fea565f79bf92d4cf808cc0466b4e9cfa37fe8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253707
Commit-Queue: Mark Zhou <markzipan@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
2022-08-06 00:02:37 +00:00
..
lib Revert "[dart2js] Exporting as package: to allow non-SDK usage" 2022-05-10 02:54:34 +00:00
test [dart2js] Updating runtime allocations to store a JSON-decoded map instead of a JSON string 2022-08-06 00:02:37 +00:00
analysis_options.yaml
CHANGELOG.md [dart2js] Moving runtime allocations to pkg:dart2js_runtime_metrics 2022-04-29 21:48:41 +00:00
LICENSE
OWNERS
pubspec.yaml [pkg] prefer 'any' deps for package dev dependencies 2022-05-27 01:34:59 +00:00
README.md

☠☠ Warning: This package is experimental and may be removed in a future version of Dart. ☠☠

dart2js can generate extra code to measure certain activities. This library provides access to the measurements at runtime.

An application might make timings and other measurements and report them back to a server in order to collect information on how the application is working in production. The APIs in this library provide access to measurements that require help from dart2js. For example, startupMetrics accesses measurements of activities that happen as the program is loaded, before main().

The APIs are stubbed so that dummy values are returned on the VM and dartdevc.