1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/cli/tests/testdata/bench
Aapo Alasuutari 2164f6b1eb
perf(ops): Monomorphic sync op calls (#15337)
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params).

Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple:

```
opSync("op_foo", param1, param2);
// -> turns to
ops.op_foo(param1, param2);
```

This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path.

Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader.
2022-08-11 15:56:56 +02:00
..
collect feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
filter feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
allow_all.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
allow_all.ts fix: actually don't inherit runtime permissions (#14024) 2022-03-20 22:46:39 +01:00
allow_none.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
allow_none.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
check_local_by_default.out feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default.ts feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default2.out feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default2.ts feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
clear_timeout.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
clear_timeout.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
collect.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
exit_sanitizer.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
exit_sanitizer.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
fail.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
fail.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
file_protocol.out fix(test/bench): accept file protocol module specifier CLI args (#14429) 2022-05-02 15:43:03 -04:00
file_protocol.ts fix(test/bench): accept file protocol module specifier CLI args (#14429) 2022-05-02 15:43:03 -04:00
filter.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
finally_timeout.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
finally_timeout.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
group_baseline.out chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
group_baseline.ts chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
ignore.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
ignore.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
ignore_permissions.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
ignore_permissions.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
interval.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
interval.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
load_unload.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
load_unload.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
meta.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
meta.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
multifile_summary.out chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
no_check.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
no_check.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
no_color.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
no_prompt_by_default.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
no_prompt_by_default.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
no_prompt_with_denied_perms.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
no_prompt_with_denied_perms.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
only.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
only.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
overloads.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
overloads.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
pass.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
pass.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
quiet.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
quiet.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
recursive_permissions_pledge.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
requires_unstable.js fix(bench): require --unstable flag in JavaScript (#14091) 2022-03-23 16:33:42 +01:00
requires_unstable.out fix(bench): require --unstable flag in JavaScript (#14091) 2022-03-23 16:33:42 +01:00
unhandled_rejection.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
unhandled_rejection.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
unresolved_promise.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
unresolved_promise.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00