Skip to content

Commit 5c5961a

Browse files
committed
fix bencher thresholds
1 parent c433e18 commit 5c5961a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

xtask/src/main.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,15 @@ impl Xtasks {
14281428
.args(["--threshold-upper-boundary", "0.99"])
14291429
.args(["--thresholds-reset"]);
14301430

1431+
if !is_main {
1432+
bencher_cmd
1433+
.args(["--branch", &branch])
1434+
.args(["--start-point", "main"])
1435+
.args(["--start-point-hash", "main"])
1436+
.args(["--start-point-clone-thresholds"])
1437+
.args(["--start-point-reset"]);
1438+
}
1439+
14311440
if let Some(token) = &github_token {
14321441
bencher_cmd.args(["--github-actions", token]);
14331442
}

0 commit comments

Comments
 (0)