mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
14 lines
272 B
JavaScript
14 lines
272 B
JavaScript
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||
|
|
||
|
((window) => {
|
||
|
const { sendSync } = window.__bootstrap.dispatchJson;
|
||
|
|
||
|
function metrics() {
|
||
|
return sendSync("op_metrics");
|
||
|
}
|
||
|
|
||
|
window.__bootstrap.metrics = {
|
||
|
metrics,
|
||
|
};
|
||
|
})(this);
|