1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-14 01:50:19 -05:00
denoland-deno/ext
Divy Srivastava aa9b94a80e
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 21:28:21 +05:30
..
broadcast_channel chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
cache chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
console Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491) 2023-03-30 15:33:28 +00:00
crypto fix(ext/node): implement crypto.Sign (RSA/PEM/SHA{224,256,384,512}) (#18471) 2023-03-28 21:46:48 +09:00
fetch refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
ffi perf: const op declaration (#18288) 2023-03-31 14:42:14 +02:00
flash perf: const op declaration (#18288) 2023-03-31 14:42:14 +02:00
fs perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 21:28:21 +05:30
http perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 21:28:21 +05:30
io fix: Add missing processenv winapi feature to deno_io (#18485) 2023-03-29 01:29:10 +02:00
kv fix(dts): improve types for the Deno.KV API (#18510) 2023-03-30 22:52:31 +02:00
napi chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
net chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
node perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 21:28:21 +05:30
tls chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
url chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
web perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 21:28:21 +05:30
webidl chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
websocket perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 21:28:21 +05:30
webstorage chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00