0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-20 20:33:42 -05:00
denoland-deno/ext/node/ops
David Sherret 679902a108
perf(node_resolver): reduce url to/from path conversions (#27839)
Extracted out of https://github.com/denoland/deno/pull/27838/files

Reduces some allocations by accepting either a pathbuf or url for the
referrer for resolution and returning either a pathbuf or url at the
end, which the caller can then convert into to their preferred state.

This is about 4% faster when still converting the final result to a url
and 6% faster when keeping the result as a path in a benchmark I ran.
2025-01-27 15:23:20 -05:00
..
crypto fix(ext/node): implement X509Certificate#checkHost (#27821) 2025-01-27 16:33:03 +05:30
os refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
zlib refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
blocklist.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
buffer.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
fs.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
http.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
http2.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
idna.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
inspector.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
ipc.rs refactor: add 'deno_process' crate (#27680) 2025-01-17 13:30:14 +01:00
mod.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
perf_hooks.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
process.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
require.rs perf(node_resolver): reduce url to/from path conversions (#27839) 2025-01-27 15:23:20 -05:00
tls.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
util.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
v8.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
vm.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
vm_internal.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
winerror.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
worker_threads.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00