1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/core/examples
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
..
http_bench_json_ops perf(ext/websocket): use opAsync2 to avoid spread deopt (#18525) 2023-03-31 21:28:21 +05:30
disable_ops.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
eval_js_value.rs perf(core) Reduce script name and script code copies (#18298) 2023-03-21 22:33:12 +00:00
fs_module_loader.rs refactor(core): pass cwd explicitly to resolve_path (#18092) 2023-03-13 18:50:23 +01:00
hello_world.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
panik.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
schedule_task.rs refactor(core): don't use Result in ExtensionBuilder::state (#18066) 2023-03-07 22:37:37 +01:00
ts_module_loader.rs perf(core) Reduce script name and script code copies (#18298) 2023-03-21 22:33:12 +00:00
wasm.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
wasm.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
wasm.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00