mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
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
This commit is contained in:
parent
7ac0408330
commit
736b91edd0
20 changed files with 190 additions and 569 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue