1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/cli/tests/testdata/test
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(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
doc_only fix(cli): retain path based test mode inference (#11878) 2021-09-01 18:31:56 +09:00
filter test(cli): add test for test filtering (#11672) 2021-08-13 11:33:18 +02:00
shuffle
steps fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
aggregate_error.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
aggregate_error.ts fix(runtime/testing): format aggregate errors (#12183) 2021-09-30 21:54:56 +02:00
allow_all.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +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(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
allow_none.ts
captured_output.ts chore: use import.meta.resolve() in tests (#15256) 2022-07-20 16:56:53 +02:00
captured_output.worker.js fix(test): actually capture stdout and stderr in workers (#14435) 2022-05-01 14:44:55 -04:00
check_local_by_default.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +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(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
clear_timeout.ts
collect.out feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
collect2.out feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
collect_with_malformed_config.out feat(cli): support configuring the test tool in the config file (#15079) 2022-07-18 15:12:19 -04:00
deno_custom_jsx.json fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) 2022-07-21 14:44:18 +05:30
doc.out
doc.ts
doc_only.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
exit_sanitizer.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
exit_sanitizer.ts
fail.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
fail.ts
fail_fast.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
fail_fast.ts
fail_fast_with_val.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
fail_fast_with_val.ts
file_protocol.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02: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(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
finally_timeout.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
finally_timeout.ts
hello_world.out fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) 2022-07-21 14:44:18 +05:30
hello_world.ts fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264) 2022-07-21 14:44:18 +05:30
ignore.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ignore.ts
ignore_permissions.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ignore_permissions.ts
interval.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
interval.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00
load_unload.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
load_unload.ts fix(test): dispatch load event before tests are run (#11708) 2021-08-15 13:54:44 +02:00
markdown.md fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown.out fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown_full_block_names.md fix(test): typecheck blocks annotated with long js/ts notations (#13785) 2022-03-08 02:10:40 +01:00
markdown_full_block_names.out fix(test): typecheck blocks annotated with long js/ts notations (#13785) 2022-03-08 02:10:40 +01:00
markdown_windows.md fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_windows.out fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_with_comment.md fix(test): skip typechecking for blocks inside HTML comments (#13889) 2022-03-11 02:14:32 +01:00
markdown_with_comment.out fix(test): skip typechecking for blocks inside HTML comments (#13889) 2022-03-11 02:14:32 +01:00
meta.out chore: fix flaky integration::test::meta (#15192) 2022-07-13 11:01:52 -04:00
meta.ts chore: fix flaky integration::test::meta (#15192) 2022-07-13 11:01:52 -04:00
no_check.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
no_check.ts
no_color.ts
no_prompt_by_default.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
no_prompt_by_default.ts test: update expected test output for 'deno test' (#13882) 2022-03-09 14:48:20 +01:00
no_prompt_with_denied_perms.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
no_prompt_with_denied_perms.ts test: update expected test output for 'deno test' (#13882) 2022-03-09 14:48:20 +01:00
no_run.out
no_run.ts
non_error_thrown.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
non_error_thrown.ts fix: Format non-error exceptions (#14604) 2022-06-06 20:26:57 +02:00
only.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
only.ts
ops_sanitizer_missing_details.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_missing_details.ts fix(test): don't error on missing op details (#14074) 2022-03-23 00:24:45 +01:00
ops_sanitizer_multiple_timeout_tests.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_multiple_timeout_tests.ts feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
ops_sanitizer_multiple_timeout_tests_no_trace.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_nexttick.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_nexttick.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_timeout_failure.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_timeout_failure.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_unstable.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
ops_sanitizer_unstable.ts feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
overloads.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
overloads.ts feat(test): Add more overloads for "Deno.test" (#12749) 2021-11-23 14:57:51 +01:00
parallel_output.out fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
parallel_output.ts fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
pass.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
pass.ts chore: fix flaky integration::test::pass test (#14571) 2022-05-11 18:05:54 -04:00
quiet.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
quiet.ts
recursive_permissions_pledge.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
resource_sanitizer.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
resource_sanitizer.ts feat(test): better errors for resource sanitizer (#13296) 2022-01-25 17:03:38 +01:00
short-pass-jobs-flag-warning.out fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
short-pass.out fix(test): output parallel test results independently (#15399) 2022-08-04 12:38:40 -04:00
short-pass.ts feat(cli/test): add DENO_JOBS env variable for test subcommand (#14929) 2022-07-15 10:29:55 -04:00
shuffle.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
text.md
text.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
uncaught_errors.out fix(test): race condition for cancelled tests (#15233) 2022-08-02 10:55:11 -04:00
uncaught_errors_1.ts fix(test): race condition for cancelled tests (#15233) 2022-08-02 10:55:11 -04:00
uncaught_errors_2.ts feat(test): Represent uncaught errors (#14513) 2022-05-09 11:44:50 +02:00
uncaught_errors_3.ts feat(test): Represent uncaught errors (#14513) 2022-05-09 11:44:50 +02:00
unhandled_rejection.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
unhandled_rejection.ts
unresolved_promise.out feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
unresolved_promise.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00