diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-07-26 09:53:52 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 23:53:52 +0000 |
commit | ef38aa9d9cec3cb43fff1cab7ada4a4689e861da (patch) | |
tree | 987d1a4c1fb9b04c6938d721c2c8084ec229b44a | |
parent | 3bf147fe287ac779b20d318daba56b336f356adf (diff) |
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.
-->
-rw-r--r-- | cli/bench/main.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index cfbc44e8c..68f4c6ce3 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -124,6 +124,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[ "check", "--reload", "--unstable", + "--config", + "tests/config/deno.json", "tests/util/std/http/file_server_test.ts", ], None, @@ -135,6 +137,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[ "--reload", "--no-check", "--unstable", + "--config", + "tests/config/deno.json", "tests/util/std/http/file_server_test.ts", ], None, @@ -144,6 +148,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[ &[ "bundle", "--unstable", + "--config", + "tests/config/deno.json", "tests/util/std/http/file_server_test.ts", ], None, @@ -154,6 +160,8 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[ "bundle", "--no-check", "--unstable", + "--config", + "tests/config/deno.json", "tests/util/std/http/file_server_test.ts", ], None, @@ -320,6 +328,8 @@ fn bundle_benchmark(deno_exe: &Path) -> Result<HashMap<String, i64>> { deno_exe.to_str().unwrap(), "bundle", "--unstable", + "--config", + "tests/config/deno.json", url, &path, ], |