1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 16:11:13 -05:00
denoland-deno/cli/tests
Bartek Iwańczuk cb2ca234bb
refactor(core): limit number of boundary crossings between Rust and V8 (#18652)
This commit refactors "deno_core" to do fewer boundary crossings
from Rust to V8. In other words we are now calling V8 from Rust fewer
times.

This is done by merging 3 distinct callbacks into a single one. Instead
of having "op resolve" callback, "next tick" callback and "macrotask
queue" callback, we now have only "Deno.core.eventLoopTick" callback,
which is responsible for doing the same actions previous 3 callbacks.

On each of the event loop we were doing at least 2 boundary crosses
(timers macrotask queue callback and unhandled promise rejection
callback) and up to 4 crosses if there were op response and next tick
callbacks coming from Node.js compatibility layer. Now this is all done
in a single callback.

Closes https://github.com/denoland/deno/issues/18620
2023-04-14 02:41:32 +02:00
..
integration fix(test): add process sigint handler for --watch (#18678) 2023-04-13 00:51:04 +02:00
node_compat fix(ext/node): add X509Certificate (#18625) 2023-04-07 22:54:16 +05:30
testdata refactor(core): limit number of boundary crossings between Rust and V8 (#18652) 2023-04-14 02:41:32 +02:00
unit fix(ext/cache): cache.put overwrites previous call (#18649) 2023-04-12 11:25:19 +05:30
unit_node chore: bump child_process_test timeouts for slow CI (#18689) 2023-04-13 13:30:30 -04:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00