mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
chore: fix bench task (#24718)
<!-- Before submitting a PR, please read https://docs.deno.com/runtime/manual/references/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. 7. Open as a draft PR if your work is still in progress. The CI won't run all steps, but you can add '[ci]' to a commit message to force it to. 8. If you would like to run the benchmarks on the CI, add the 'ci-bench' label. -->
This commit is contained in:
parent
3bf147fe28
commit
ef38aa9d9c
1 changed files with 10 additions and 0 deletions
|
@ -124,6 +124,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
"check",
|
"check",
|
||||||
"--reload",
|
"--reload",
|
||||||
"--unstable",
|
"--unstable",
|
||||||
|
"--config",
|
||||||
|
"tests/config/deno.json",
|
||||||
"tests/util/std/http/file_server_test.ts",
|
"tests/util/std/http/file_server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
|
@ -135,6 +137,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
"--reload",
|
"--reload",
|
||||||
"--no-check",
|
"--no-check",
|
||||||
"--unstable",
|
"--unstable",
|
||||||
|
"--config",
|
||||||
|
"tests/config/deno.json",
|
||||||
"tests/util/std/http/file_server_test.ts",
|
"tests/util/std/http/file_server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
|
@ -144,6 +148,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
&[
|
&[
|
||||||
"bundle",
|
"bundle",
|
||||||
"--unstable",
|
"--unstable",
|
||||||
|
"--config",
|
||||||
|
"tests/config/deno.json",
|
||||||
"tests/util/std/http/file_server_test.ts",
|
"tests/util/std/http/file_server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
|
@ -154,6 +160,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
|
||||||
"bundle",
|
"bundle",
|
||||||
"--no-check",
|
"--no-check",
|
||||||
"--unstable",
|
"--unstable",
|
||||||
|
"--config",
|
||||||
|
"tests/config/deno.json",
|
||||||
"tests/util/std/http/file_server_test.ts",
|
"tests/util/std/http/file_server_test.ts",
|
||||||
],
|
],
|
||||||
None,
|
None,
|
||||||
|
@ -320,6 +328,8 @@ fn bundle_benchmark(deno_exe: &Path) -> Result<HashMap<String, i64>> {
|
||||||
deno_exe.to_str().unwrap(),
|
deno_exe.to_str().unwrap(),
|
||||||
"bundle",
|
"bundle",
|
||||||
"--unstable",
|
"--unstable",
|
||||||
|
"--config",
|
||||||
|
"tests/config/deno.json",
|
||||||
url,
|
url,
|
||||||
&path,
|
&path,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue