diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-08-19 09:56:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 09:56:12 +0530 |
commit | c2259f78eb8180731bb562740695ab6e58c790e7 (patch) | |
tree | b080b42ef86b3aa3802e7b3b7309d31cdf5f7ef8 /cli/bench/main.rs | |
parent | 0e4469c7a1d9afcffc53d714e6db4491e552d5c9 (diff) |
chore: remove third_party submodule (#20201)
removes third_party submodule, tools are installed on-demand.
- removed `load_test` and websocket benchmark (covered by benchy)
- removed node/bun http benchmarks (covered by benchy)
- `dlint` & `dprint` downloaded on-demand.
- `wrk` & `hyperfine` downloaded before CI benchmark run.
Install locally using: `./tools/install_prebuilt.js wrk hyperfine`
#### updating dlint/dprint
update version in `tools/util.js` and place binary in
`denoland/deno_third_party`.
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r-- | cli/bench/main.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index fdeb588f4..7ecef2b6f 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -18,7 +18,6 @@ include!("../util/time.rs"); mod http; mod lsp; -mod websocket; fn read_json(filename: &Path) -> Result<Value> { let f = fs::File::open(filename)?; @@ -403,7 +402,6 @@ struct BenchResult { max_memory: HashMap<String, i64>, lsp_exec_time: HashMap<String, i64>, req_per_sec: HashMap<String, i64>, - ws_msg_per_sec: HashMap<String, f64>, syscall_count: HashMap<String, i64>, thread_count: HashMap<String, i64>, } @@ -419,7 +417,6 @@ async fn main() -> Result<()> { "cargo_deps", "lsp", "http", - "websocket", "strace", "mem_usage", ]; @@ -459,11 +456,6 @@ async fn main() -> Result<()> { ..Default::default() }; - if benchmarks.contains(&"websocket") { - let ws = websocket::benchmark()?; - new_data.ws_msg_per_sec = ws; - } - if benchmarks.contains(&"bundle") { let bundle_size = bundle_benchmark(&deno_exe)?; new_data.bundle_size = bundle_size; |