mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:47:03 +00:00
35f0bb8187
Change-Id: I89347335d14ecf539fc7ea7fc44bd31680dbc458 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275302 Reviewed-by: Jake Macdonald <jakemac@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com> |
||
---|---|---|
.. | ||
lib | ||
test | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
OWNERS | ||
pubspec.yaml | ||
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.