diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-11-19 16:49:25 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 16:49:25 +0530 |
commit | 069bc15030225393f7d05521505316066464bdbd (patch) | |
tree | 8665758ced09dc2876aeedadffe27d2f0e181a09 /ext/node/lib.rs | |
parent | 0e2f6e38e7b93e42099f546ef2c01629964d095a (diff) |
feat(ext/node): perf_hooks.monitorEventLoopDelay() (#26905)
Fixes https://github.com/denoland/deno/issues/20961
Depends on https://github.com/denoland/deno_core/pull/965 and
https://github.com/denoland/deno_core/pull/966
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 84f39552c..63f5794b7 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -427,6 +427,9 @@ deno_core::extension!(deno_node, ops::inspector::op_inspector_emit_protocol_event, ops::inspector::op_inspector_enabled, ], + objects = [ + ops::perf_hooks::EldHistogram + ], esm_entry_point = "ext:deno_node/02_init.js", esm = [ dir "polyfills", |