1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext
Divy Srivastava 824cb485c5
perf(ext/websocket): skip Events constructor checks (#16365)
WebSocket internal events can bypass Event's webidl checks and
`ReflectDefineProperty` on the object value. Note, this intentionally
makes websocket events `isTrusted` configurable (not spec-compliant)
which hurts performance a lot.

Before:
```
Msg/sec: 167627.750000
Msg/sec: 168239.250000
Msg/sec: 169690.000000
```

After:
```
Msg/sec: 191065.500000
Msg/sec: 194745.250000
Msg/sec: 194746.000000
```
2022-12-01 20:05:32 +05:30
..
broadcast_channel chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
cache chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
console chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
crypto chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
fetch chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
ffi chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
flash chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
http chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
napi chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
net chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
node chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
tls chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
url chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
web perf(ext/websocket): skip Events constructor checks (#16365) 2022-12-01 20:05:32 +05:30
webgpu chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
webidl chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
websocket perf(ext/websocket): skip Events constructor checks (#16365) 2022-12-01 20:05:32 +05:30
webstorage chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00