summaryrefslogtreecommitdiff
path: root/runtime/js/30_metrics.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/30_metrics.js')
-rw-r--r--runtime/js/30_metrics.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/runtime/js/30_metrics.js b/runtime/js/30_metrics.js
deleted file mode 100644
index ecc1cfc64..000000000
--- a/runtime/js/30_metrics.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-"use strict";
-
-((window) => {
- const core = window.Deno.core;
-
- function metrics() {
- const { combined, ops } = core.opSync("op_metrics");
- if (ops) {
- combined.ops = ops;
- }
- return combined;
- }
-
- window.__bootstrap.metrics = {
- metrics,
- };
-})(this);