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 078def0ff8
perf(ext/node): optimize fs.exists[Sync] (#24613)
Use `access` on *nix and `GetFileAttributesW` on Windows.

[Benchmark](https://paste.divy.work/p/-gq8Ark.js):
```
$ deno run -A bench.mjs # main (568dd)
existsSync: 8980.636629ms

$ target/release/deno run -A bench.mjs # this PR
existsSync: 6448.7604519999995ms

$ bun bench.mjs
existsSync: 6562.88671ms

$ node bench.mjs
existsSync: 7740.064653ms
```

Ref https://github.com/denoland/deno/pull/24434#discussion_r1679777912
2024-07-17 18:05:51 +05:30
..
broadcast_channel chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
cache chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
canvas chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
console chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
cron chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
crypto chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
fetch Revert "refactor(fetch): reimplement fetch with hyper instead of reqwest (#24237)" (#24574) 2024-07-13 21:08:23 +00:00
ffi chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
fs perf(ext/node): optimize fs.exists[Sync] (#24613) 2024-07-17 18:05:51 +05:30
http chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
io chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
kv fix(docs): fix some deno.land/manual broken urls (#24557) 2024-07-15 11:08:45 +00:00
napi chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
net chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
node perf(ext/node): optimize fs.exists[Sync] (#24613) 2024-07-17 18:05:51 +05:30
tls chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
url chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
web chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
webgpu chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
webidl chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
websocket chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
webstorage chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00