summaryrefslogtreecommitdiff
path: root/cli/bench/http.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-06-28 17:51:05 +0530
committerGitHub <noreply@github.com>2022-06-28 17:51:05 +0530
commitab11b45d1d2678cfea2217ac72fc24317eef777d (patch)
tree055861eb84d34a32268efc722f39f81022f5e9b3 /cli/bench/http.rs
parent00f4521b205bf25c79f0fa7c9a6840941342bda4 (diff)
refactor(bench): continuous benchmarking improvements (#14821)
Diffstat (limited to 'cli/bench/http.rs')
-rw-r--r--cli/bench/http.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bench/http.rs b/cli/bench/http.rs
index 770642907..3646f472c 100644
--- a/cli/bench/http.rs
+++ b/cli/bench/http.rs
@@ -44,7 +44,7 @@ pub fn benchmark(
if name.starts_with("node") {
// node <path> <port>
res.insert(
- name,
+ file_stem.to_string(),
run(
&["node", path, &port.to_string()],
port,
@@ -56,7 +56,7 @@ pub fn benchmark(
} else {
// deno run -A --unstable <path> <addr>
res.insert(
- name,
+ file_stem.to_string(),
run(
&[
deno_exe,