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 --- tests/testdata/run/worker_drop_handle_race.js.out | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/testdata/run') diff --git a/tests/testdata/run/worker_drop_handle_race.js.out b/tests/testdata/run/worker_drop_handle_race.js.out index 451c3af3d..0820f164e 100644 --- a/tests/testdata/run/worker_drop_handle_race.js.out +++ b/tests/testdata/run/worker_drop_handle_race.js.out @@ -2,7 +2,6 @@ error: Uncaught (in worker "") Error throw new Error(); ^ at [WILDCARD]/workers/drop_handle_race.js:2:9 - at Object.action (ext:deno_web/02_timers.js:[WILDCARD]) - at handleTimerMacrotask (ext:deno_web/02_timers.js:[WILDCARD]) + at [WILDCARD] error: Uncaught (in promise) Error: Unhandled error in child worker. at Worker.#pollControl [WILDCARD] -- cgit v1.2.3