diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-03-06 08:58:04 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-06 08:58:04 +0530 |
| commit | 4451fa857bf4e9f021c8c63d3944774e8c9b337f (patch) | |
| tree | 55124c2049048f375700a8aea2c0301bfde2709c /ext/node/Cargo.toml | |
| parent | 76b173b60c975fe7540d04aac5b7a40be67fe466 (diff) | |
perf(ext/node): improve createHash performance (#18033)
```
> deno run -A ../test.mjs
cpu: unknown
runtime: deno 1.31.1 (aarch64-apple-darwin)
benchmark time (avg) (min … max) p75 p99 p995
------------------------------------------------- -----------------------------
2.22 µs/iter (2.2 µs … 2.28 µs) 2.22 µs 2.28 µs 2.28 µs
> target/release/deno run -A test.mjs
cpu: unknown
runtime: deno 1.31.1 (aarch64-apple-darwin)
benchmark time (avg) (min … max) p75 p99 p995
------------------------------------------------- -----------------------------
864.9 ns/iter (825.05 ns … 1.22 µs) 864.93 ns 1.22 µs 1.22 µs
```
Diffstat (limited to 'ext/node/Cargo.toml')
| -rw-r--r-- | ext/node/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index e21c8c304..1ce6dd443 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -16,6 +16,7 @@ path = "lib.rs" [dependencies] deno_core.workspace = true digest = { version = "0.10.5", features = ["core-api", "std"] } +hex = "0.4.3" idna = "0.3.0" indexmap.workspace = true md-5 = "0.10.5" |
