deno/runtime/js
Cyan 5cd03feb0d
chore: optimize op_runtime_cpu_usage and op_runtime_memory_usage (#29179)
Ref https://github.com/denoland/deno/pull/27217

> `op_runtime_cpu_usage` can be optimized by accepting a `&mut [u32]`
instead of returning a serde tuple but it can be done as a follow up.

Accept a `&mut [u32]` instead of serde tuple for `op_runtime_cpu_usage`
and `op_runtime_memory_usage`

---------

Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2025-05-09 16:00:35 +05:30
..
01_errors.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
01_version.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
06_util.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
10_permissions.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
11_workers.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_fs_events.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
40_tty.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
41_prompt.js fix: remove unnecessary whitespace in prompt function (#28868) 2025-04-16 17:49:06 +00:00
90_deno_ns.js chore: optimize op_runtime_cpu_usage and op_runtime_memory_usage (#29179) 2025-05-09 16:00:35 +05:30
98_global_scope_shared.js feat(unstable): WebTransport (#27431) 2025-01-29 14:39:12 +00:00
98_global_scope_window.js refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
98_global_scope_worker.js refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
99_main.js refactor: allow lazy main module (#28929) 2025-04-30 19:59:20 +00:00
README.md chore: fix outdated note in runtime/js/README.md (#23673) 2024-05-05 01:30:53 +00:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is an ES module and is prefixed with a number, telling in which order scripts should be loaded into V8 isolate.

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs