1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Divy Srivastava df062d2c78
fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745)
Fixes https://github.com/denoland/deno/issues/20803
Fixes https://github.com/denoland/deno/issues/21723

Performance: copying a 48GiB rust `target` folder (recursive)
| Platform  | `deno` | `node v21.5` | Improvement |
| -------- | ------- | ------- | ------- |
| macOS (APFS) |   3.1secs  |  127.99 secs |  **42x** |
| Windows | 18.3secs | 67.2secs |  **3.8x** |

Copying files with varying sizes:


![image](https://github.com/denoland/deno/assets/34997667/58932652-6f7a-47f5-8504-896dc9ab4ddc)
2024-01-05 18:28:33 +05:30
..
broadcast_channel chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
cache chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
console chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
cron chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
crypto chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
fetch chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
ffi chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
fs fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745) 2024-01-05 18:28:33 +05:30
http chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
io chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
kv chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
napi chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
net chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
node fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745) 2024-01-05 18:28:33 +05:30
tls chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
url chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
web chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
webgpu chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
webidl chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
websocket chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00
webstorage chore: forward v1.39.2 release commit to main (#21793) 2024-01-04 23:52:17 +00:00