From 736b91edd002ae34082c473b37249f9256a6ba32 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 1 Mar 2024 11:15:18 -0700 Subject: perf(cli): use new deno_core timers (#22569) Improves #19100 Fixes #20356 Replaces #20428 Changes made in deno_core to support this: - [x] Errors must be handled in setTimeout callbacks - [x] Microtask ordering is not-quite-right - [x] Timer cancellation must be checked right before dispatch - [x] Timer sanitizer - [x] Move high-res timer to deno_core - [x] Timers need opcall tracing --- runtime/js/99_main.js | 1 - 1 file changed, 1 deletion(-) (limited to 'runtime') diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index f4727979b..19ebf7cec 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -457,7 +457,6 @@ function runtimeStart( tsVersion, target, ) { - core.setMacrotaskCallback(timers.handleTimerMacrotask); core.setWasmStreamingCallback(fetch.handleWasmStreaming); core.setReportExceptionCallback(event.reportException); op_set_format_exception_callback(formatException); -- cgit v1.2.3