0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests/testdata/bench
Nayeem Rahman 02865cb5a2
feat(bench): add BenchContext::start() and BenchContext::end() (#18734)
Closes #17589.
```ts
Deno.bench("foo", async (t) => {
  const resource = setup(); // not included in measurement
  t.start();
  measuredOperation(resource);
  t.end();
  resource.close(); // not included in measurement
});
```
2023-07-31 12:02:59 +02:00
..
collect feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04: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
before_unload_prevent_default.out fix(test): disable preventDefault() for beforeunload event (#18911) 2023-05-03 23:10:51 +02:00
before_unload_prevent_default.ts fix(test): disable preventDefault() for beforeunload event (#18911) 2023-05-03 23:10:51 +02:00
bench_formatting.out fix(cli): formatting bench with colors (#19323) 2023-06-07 12:27:25 +02:00
bench_formatting.ts fix(cli): formatting bench with colors (#19323) 2023-06-07 12:27:25 +02: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(cli): support deno bench in the config file (#16608) 2022-12-10 02:30:47 +01:00
collect2.out feat(cli): support deno bench in the config file (#16608) 2022-12-10 02:30:47 +01:00
collect_with_malformed_config.out feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04: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
explicit_start_and_end.out feat(bench): add BenchContext::start() and BenchContext::end() (#18734) 2023-07-31 12:02:59 +02:00
explicit_start_and_end.ts feat(bench): add BenchContext::start() and BenchContext::end() (#18734) 2023-07-31 12:02:59 +02: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
no_run.out feat(bench): add --no-run flag (#18433) 2023-03-26 14:55:58 +00:00
no_run.ts feat(bench): add --no-run flag (#18433) 2023-03-26 14:55:58 +00: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.json.out feat(bench): change --json output format (#17888) 2023-02-23 12:59:23 +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 refactor: remove Deno.core (#16881) 2023-01-24 18:54:10 +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(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
unresolved_promise.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00