mirror of
https://github.com/denoland/deno.git
synced 2025-01-23 23:49:46 -05:00
cb2ca234bb
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 |
||
---|---|---|
.. | ||
custom_inspect | ||
async_error.ts | ||
bench_large_message.ts | ||
bench_round_robin.ts | ||
bench_startup.ts | ||
bench_worker.ts | ||
broadcast_channel.ts | ||
busy_worker.js | ||
close_in_wasm_reactions.js | ||
close_nested_child.js | ||
close_nested_parent.js | ||
close_race_worker.js | ||
deno_worker.ts | ||
drop_handle_race.js | ||
dynamic_remote.ts | ||
env_read_check_worker.js | ||
error.ts | ||
error_event.ts | ||
error_event.ts.out | ||
error_worker_permissions_local.ts | ||
error_worker_permissions_local.ts.out | ||
error_worker_permissions_remote.ts | ||
error_worker_permissions_remote.ts.out | ||
event_worker.js | ||
event_worker_scope.js | ||
fetching_worker.js | ||
http_worker.js | ||
immediately_close_worker.js | ||
message_before_close.js | ||
message_handler_error.ts | ||
message_port.ts | ||
nested_worker.js | ||
no_permissions_worker.js | ||
non_deno_worker.js | ||
nonexistent_worker.out | ||
nonexistent_worker.ts | ||
parent_read_check_worker.js | ||
permission_echo.js | ||
permissions_blob_local.ts | ||
permissions_blob_local.ts.out | ||
permissions_blob_remote.ts | ||
permissions_blob_remote.ts.out | ||
permissions_data_local.ts | ||
permissions_data_local.ts.out | ||
permissions_data_remote.ts | ||
permissions_data_remote.ts.out | ||
permissions_dynamic_remote.ts | ||
permissions_dynamic_remote.ts.out | ||
permissions_remote_remote.ts | ||
permissions_remote_remote.ts.out | ||
post_undefined.ts | ||
racy_worker.js | ||
read_check_granular_worker.js | ||
read_check_worker.js | ||
shared_array_buffer.ts | ||
sibling_worker.js | ||
static_remote.ts | ||
terminate_tla_crash.js | ||
terminate_tla_crash.js.out | ||
test.ts | ||
test.ts.out | ||
test_worker.js | ||
test_worker.ts | ||
throwing_worker.js | ||
worker_async_error.ts | ||
worker_async_error.ts.out | ||
worker_crypto.js | ||
worker_error.ts | ||
worker_error.ts.out | ||
worker_event_handlers.js | ||
worker_globals.ts | ||
worker_large_message.js | ||
worker_location.ts | ||
worker_message_handler_error.ts | ||
worker_message_handler_error.ts.out | ||
worker_nested_error.ts | ||
worker_nested_error.ts.out | ||
worker_structured_cloning.ts | ||
worker_types.ts | ||
worker_unstable.ts | ||
worker_with_top_level_await.ts |