Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make the default repetitions be 8, and concurrency 4 (#29576)
Richard Feldman04c68dc0cf0f
diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.ymlindex f614dde9d9b..8e36a62f3d9 100644--- a/.github/workflows/eval.yml+++ b/.github/workflows/eval.yml@@ -69,7 +69,7 @@ jobs:run: cargo build --package=eval- name: Run eval- run: cargo run --package=eval -- --repetitions=3 --concurrency=1+ run: cargo run --package=eval -- --repetitions=8 --concurrency=1# Even the Linux runner is not stateful, in theory there is no need to do this cleanup.# But, to avoid potential issues in the future if we choose to use a stateful Linux runner and forget to add codediff --git a/crates/eval/src/eval.rs b/crates/eval/src/eval.rsindex 482e94c902f..df3ed691aef 100644--- a/crates/eval/src/eval.rs+++ b/crates/eval/src/eval.rs@@ -52,10 +52,10 @@ struct Args {#[arg(long, value_delimiter = ',', default_value = "rs,ts")]languages: Vec<String>,/// How many times to run each example.- #[arg(long, default_value = "1")]+ #[arg(long, default_value = "8")]repetitions: usize,/// Maximum number of examples to run concurrently.- #[arg(long, default_value = "10")]+ #[arg(long, default_value = "4")]concurrency: usize,}