diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-10-10 17:20:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 17:20:30 +0200 |
commit | 5a8a989b7815023f33a1e3183a55cc8999af5d98 (patch) | |
tree | d15619ed83a2965f17dc10a78c9072f34d393009 /runtime/worker.rs | |
parent | f2ac7ff23a2ae4925f4ca32ffd61c923c481ef4e (diff) |
refactor(metrics): move to core (#12386)
Avoids overhead of wrapping ops (and allocs when inspecting async-op futures)
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r-- | runtime/worker.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs index e1b9599a3..af4095b7d 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -2,7 +2,6 @@ use crate::inspector_server::InspectorServer; use crate::js; -use crate::metrics; use crate::ops; use crate::permissions::Permissions; use crate::BootstrapOptions; @@ -122,8 +121,6 @@ impl MainWorker { deno_timers::init::<Permissions>(), // ffi deno_ffi::init::<Permissions>(unstable), - // Metrics - metrics::init(), // Runtime ops ops::runtime::init(main_module.clone()), ops::worker_host::init(options.create_web_worker_cb.clone()), |