0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-22 05:12:55 -05:00
denoland-deno/ext/node
Divy Srivastava 1fcace13b9
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-12 13:22:03 +01:00
..
benchmarks fix: implement child_process IPC (#21490) 2023-12-13 11:14:16 +01:00
ops fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745) 2024-01-12 13:22:03 +01:00
polyfills fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745) 2024-01-12 13:22:03 +01:00
analyze.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
build.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
Cargo.toml 1.39.2 (#21791) 2024-01-04 21:40:03 +01:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
errors.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
global.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
lib.rs fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745) 2024-01-12 13:22:03 +01:00
package_json.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
path.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
polyfill.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00

deno_node

require and other node related functionality for Deno.