summaryrefslogtreecommitdiff
path: root/cli/bench
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-11-22 05:13:56 +0100
committerGitHub <noreply@github.com>2023-11-22 04:13:56 +0000
commit0ffcb46e0f60110c07e21151db6066f5a1b5f710 (patch)
tree235a216a892edc9610d0f467e0662eeb535fd900 /cli/bench
parent64997cce6a9e83dcc57f5be9056eca16708db096 (diff)
Revert "chore: update to `std@0.207.0` (#21284)" (#21295)
This reverts commit 20aa0796e6ff7651cdfce4d0292bdb11da5dfe2e. `main` has been failing consistenly on `kv_undelivered_test` and `serve_test` after this upgrade.
Diffstat (limited to 'cli/bench')
-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 fe24410cd..7ecef2b6f 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -130,7 +130,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
"check",
"--reload",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "test_util/std/examples/chat/server_test.ts",
],
None,
),
@@ -141,7 +141,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
"--reload",
"--no-check",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "test_util/std/examples/chat/server_test.ts",
],
None,
),
@@ -150,7 +150,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
&[
"bundle",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "test_util/std/examples/chat/server_test.ts",
],
None,
),
@@ -160,7 +160,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
"bundle",
"--no-check",
"--unstable",
- "test_util/std/http/file_server_test.ts",
+ "test_util/std/examples/chat/server_test.ts",
],
None,
),
@@ -314,7 +314,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"),
- ("gist", "./cli/tests/testdata/welcome.ts"),
+ ("gist", "./test_util/std/examples/gist.ts"),
];
fn bundle_benchmark(deno_exe: &Path) -> Result<HashMap<String, i64>> {
let mut sizes = HashMap::<String, i64>::new();