summaryrefslogtreecommitdiff
path: root/cli/bench/main.rs
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-02-14 03:22:49 +1100
committerGitHub <noreply@github.com>2024-02-13 09:22:49 -0700
commit6be389ce291317346b2085231813cccd0e501daf (patch)
treea9ba1247f99c54aaf063ce4aab94f8a14bc92611 /cli/bench/main.rs
parenta68eb3fcc3997fce8680f87edce46f6450e79635 (diff)
chore: move `test_util/std` to `tests/util/std` (#22402)
Note: tests are not the only part of the codebase that uses `std`. Other parts, like `tools/`, do too. So, it could be argued that this is a little misleading. Either way, I'm doing this as discussed with @mmastrac.
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r--cli/bench/main.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index 4f5946414..d58a6fdb6 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -123,7 +123,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
"check",
"--reload",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "tests/util/std/http/file_server_test.ts",
],
None,
),
@@ -134,7 +134,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
"--reload",
"--no-check",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "tests/util/std/http/file_server_test.ts",
],
None,
),
@@ -143,7 +143,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
&[
"bundle",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "tests/util/std/http/file_server_test.ts",
],
None,
),
@@ -153,7 +153,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
"bundle",
"--no-check",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "tests/util/std/http/file_server_test.ts",
],
None,
),
@@ -306,7 +306,7 @@ fn get_binary_sizes(target_dir: &Path) -> Result<HashMap<String, i64>> {
}
const BUNDLES: &[(&str, &str)] = &[
- ("file_server", "./test_util/std/http/file_server.ts"),
+ ("file_server", "./tests/util/std/http/file_server.ts"),
("welcome", "./tests/testdata/welcome.ts"),
];
fn bundle_benchmark(deno_exe: &Path) -> Result<HashMap<String, i64>> {