1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 03:23:17 -05:00
denoland-deno/ext
Divy Srivastava 8088a7b786 perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525)
This commit adds a new core API `opAsync2` to call an async op with
atmost 2 arguments. Spread argument iterators has a pretty big perf hit
when calling ops.

| name | avg msg/sec/core |
| --- | --- |
| 1.32.1 | `127820.750000` |
| #18506 | `140079.000000` |
| #18506 + #18509 | `150104.250000` |
| #18506 + #18509 + this | `157340.000000` |
2023-03-31 11:43:20 -06:00
..
broadcast_channel 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
cache 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
console Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491) 2023-03-31 11:43:20 -06:00
crypto fix(ext/node): implement crypto.Sign (RSA/PEM/SHA{224,256,384,512}) (#18471) 2023-03-31 11:43:19 -06:00
fetch refactor: make version and user_agent &'static str (#18400) 2023-03-31 11:43:18 -06:00
ffi perf: const op declaration (#18288) 2023-03-31 11:43:20 -06:00
flash perf: const op declaration (#18288) 2023-03-31 11:43:20 -06:00
fs perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 11:43:20 -06:00
http perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 11:43:20 -06:00
io fix: Add missing processenv winapi feature to deno_io (#18485) 2023-03-31 11:43:19 -06:00
kv fix(dts): improve types for the Deno.KV API (#18510) 2023-03-31 11:43:20 -06:00
napi 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
net 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
node perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 11:43:20 -06:00
tls 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
url 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
web perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 11:43:20 -06:00
webidl 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00
websocket perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 11:43:20 -06:00
webstorage 1.32.1 (#18396) 2023-03-23 21:00:23 +01:00