diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-07-02 03:24:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 03:24:54 +0200 |
commit | bc381572d11d5861f78215a639f80fa250384087 (patch) | |
tree | 33ca5236f0e5305b2e78c042d50d46108d6889ed /cli/bench | |
parent | cfbc9b471f9ae0a00639b69623068021a6cfcbbd (diff) |
build: remove stale benchmark (#19681)
With https://github.com/denoland/deno/pull/19658 we can't bench it
anymore.
Diffstat (limited to 'cli/bench')
-rw-r--r-- | cli/bench/http.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cli/bench/http.rs b/cli/bench/http.rs index 909c4937c..243ea3154 100644 --- a/cli/bench/http.rs +++ b/cli/bench/http.rs @@ -28,9 +28,6 @@ pub fn benchmark( let hyper_hello_exe = target_path.join("test_server"); let hyper_hello_exe = hyper_hello_exe.to_str().unwrap(); - let core_http_json_ops_exe = target_path.join("examples/http_bench_json_ops"); - let core_http_json_ops_exe = core_http_json_ops_exe.to_str().unwrap(); - let mut res = HashMap::new(); let manifest_dir = Path::new(env!("CARGO_MANIFEST_DIR")); let http_dir = manifest_dir.join("bench").join("http"); @@ -112,12 +109,6 @@ pub fn benchmark( } } - // "core_http_json_ops" previously had a "bin op" counterpart called "core_http_bin_ops", - // which was previously also called "deno_core_http_bench", "deno_core_single" - res.insert( - "core_http_json_ops".to_string(), - core_http_json_ops(core_http_json_ops_exe)?, - ); res.insert("hyper".to_string(), hyper_http(hyper_hello_exe)?); Ok(res) @@ -198,12 +189,6 @@ fn server_addr(port: u16) -> String { format!("0.0.0.0:{port}") } -fn core_http_json_ops(exe: &str) -> Result<HttpBenchmarkResult> { - // let port = get_port(); - println!("http_benchmark testing CORE http_bench_json_ops"); - run(&[exe], 4570, None, None, None) -} - fn hyper_http(exe: &str) -> Result<HttpBenchmarkResult> { let port = get_port(); println!("http_benchmark testing RUST hyper"); |