1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
denoland-deno/ext
Divy Srivastava d856bfd336
perf(ext/web): fast path for ws events (#18905)
- Do not use `ReflectHas` in `isNode`.
- Avoid copying handler array when handlers.length == 1
- Avoid searching for path target when path.length == 1

```
Linux divy-2 5.19.0-1022-gcp #24~22.04.1-Ubuntu SMP Sun Apr 23 09:51:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
32GiB System memory
Intel(R) Xeon(R) CPU @ 3.10GHz

# main + https://github.com/denoland/deno/pull/18904
Msg/sec: 89326.750000
Msg/sec: 90320.000000
Msg/sec: 89576.250000

# this patch
Msg/sec: 97250.000000
Msg/sec: 97125.500000
Msg/sec: 97964.500000
```
2023-05-01 10:39:30 +05:30
..
broadcast_channel chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
cache chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
console refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
crypto chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
fetch refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
ffi chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
fs chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
http perf(core): async op pseudo-codegen and performance work (#18887) 2023-04-30 08:50:24 +00:00
io fix(ext/io) several sync fs fixes (#18886) 2023-04-28 12:16:17 -07:00
kv fix(ext/kv): stricter structured clone serializer (#18914) 2023-04-29 17:43:07 +02:00
napi chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
net chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
node refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
tls chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
url fix(ext/url): throw TypeError for empty argument (#18896) 2023-04-30 12:24:34 +02:00
web perf(ext/web): fast path for ws events (#18905) 2023-05-01 10:39:30 +05:30
webidl chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
websocket perf(ext/websocket): use internal dispatch for msg events (#18904) 2023-04-30 12:24:56 +02:00
webstorage chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00