mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
perf: use fast api for op_now (#15643)
This commit is contained in:
parent
7c4f57e8b0
commit
d8396225c4
6 changed files with 80 additions and 22 deletions
|
@ -51,6 +51,7 @@ pub use crate::message_port::JsMessageData;
|
|||
pub use crate::message_port::MessagePort;
|
||||
|
||||
use crate::timers::op_now;
|
||||
use crate::timers::op_now_set_buf;
|
||||
use crate::timers::op_sleep;
|
||||
use crate::timers::op_timer_handle;
|
||||
use crate::timers::StartTime;
|
||||
|
@ -106,6 +107,7 @@ pub fn init<P: TimersPermission + 'static>(
|
|||
compression::op_compression_new::decl(),
|
||||
compression::op_compression_write::decl(),
|
||||
compression::op_compression_finish::decl(),
|
||||
op_now_set_buf::decl(),
|
||||
op_now::decl::<P>(),
|
||||
op_timer_handle::decl(),
|
||||
op_cancel_handle::decl(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue