1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

chore(lsp): Include new benchmark in the collected benchmark data (#23420)

So it will actually show up on the [deno benchmarks
site](http://deno.com/benchmarks)
This commit is contained in:
Nathan Whitaker 2024-04-17 12:55:56 -07:00 committed by GitHub
parent 71a1fa4c2e
commit 2dc3f6f57a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -421,6 +421,7 @@ pub fn benchmarks(deno_exe: &Path) -> HashMap<String, i64> {
let mean =
(times.iter().sum::<Duration>() / times.len() as u32).as_millis() as i64;
println!(" ({} runs, mean: {}ms)", times.len(), mean);
exec_times.insert("deco_apps_edits_nav".to_string(), mean);
println!("<- End benchmarking lsp");