summaryrefslogtreecommitdiff
path: root/extensions/timers/lib.rs
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-06-07 17:49:33 +0530
committerGitHub <noreply@github.com>2021-06-07 14:19:33 +0200
commitb6400a25a0ee60467a0287d725e61c876677e103 (patch)
tree7577846005e160141ffb8bd9d861dbfe365324ff /extensions/timers/lib.rs
parent89290741d18d9b247cefccdc95563ec688a28491 (diff)
refactor(runtime): move performance API to timers extension (#10818)
Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'extensions/timers/lib.rs')
-rw-r--r--extensions/timers/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/timers/lib.rs b/extensions/timers/lib.rs
index e9580c4b5..66e7d05ed 100644
--- a/extensions/timers/lib.rs
+++ b/extensions/timers/lib.rs
@@ -45,6 +45,7 @@ pub fn init<P: TimersPermission + 'static>() -> Extension {
.js(include_js_files!(
prefix "deno:extensions/timers",
"01_timers.js",
+ "02_performance.js",
))
.ops(vec![
("op_global_timer_stop", op_sync(op_global_timer_stop)),