-
Notifications
You must be signed in to change notification settings - Fork 65
bench_tools: run and compare benchmark #9699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bench_tools: run and compare benchmark #9699
Conversation
22fdd6e to
8c3ca65
Compare
473e17c to
ebe62e6
Compare
8c3ca65 to
7e56c55
Compare
ebe62e6 to
f42b99a
Compare
7e56c55 to
87beeaa
Compare
f42b99a to
c85fcbc
Compare
87beeaa to
c9df6fa
Compare
c85fcbc to
d47a32f
Compare
c9df6fa to
595e682
Compare
d47a32f to
54cdcf1
Compare
595e682 to
84e9328
Compare
26f8f7c to
d21ba87
Compare
84e9328 to
947e4cc
Compare
avi-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avi-starkware reviewed 3 of 5 files at r1, 1 of 2 files at r2, all commit messages.
Reviewable status: 4 of 5 files reviewed, all discussions resolved (waiting on @meship-starkware)
avi-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avi-starkware reviewed 1 of 2 files at r2.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @meship-starkware)
crates/bench_tools/src/comparison_test.rs line 5 at r2 (raw file):
#[test] fn test_get_regression_percentage() {
I don't think this test is needed
(it's just a function that multiplies by 100)
Better to test check_regressions
Code quote:
fn test_get_regression_percentage() {crates/bench_tools/src/comparison.rs line 51 at r2 (raw file):
bench_names: &[&str], regression_limit: f64, ) -> Result<Vec<BenchmarkComparison>, (String, Vec<BenchmarkComparison>)> {
Consider defining a RegressionError type
Suggestion:
) -> Result<(), RegressionError> {crates/bench_tools/src/runner.rs line 118 at r2 (raw file):
/// Runs benchmarks and compares them against previous results, failing if regression exceeds limit. pub async fn run_and_compare_benchmarks(
Suggestion:
pub fn run_and_compare_benchmarks(crates/bench_tools/src/main.rs line 91 at r2 (raw file):
regression_limit, ) .await;
Suggestion:
);947e4cc to
a033588
Compare
168fbdc to
bf4411b
Compare
a033588 to
47a9439
Compare
47a9439 to
fbfbf8e
Compare
8b610b7 to
2e27b8d
Compare
AvivYossef-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 5 files reviewed, 4 unresolved discussions (waiting on @avi-starkware and @meship-starkware)
crates/bench_tools/src/comparison_test.rs line 5 at r2 (raw file):
Previously, avi-starkware (Avi Cohen) wrote…
I don't think this test is needed
(it's just a function that multiplies by 100)
Better to testcheck_regressions
Done.
crates/bench_tools/src/runner.rs line 158 at r2 (raw file):
Previously, avi-starkware (Avi Cohen) wrote…
Please remove emojis
Why? look here
it looks nice
crates/bench_tools/src/main.rs line 91 at r2 (raw file):
regression_limit, ) .await;
Done.
crates/bench_tools/src/runner.rs line 118 at r2 (raw file):
/// Runs benchmarks and compares them against previous results, failing if regression exceeds limit. pub async fn run_and_compare_benchmarks(
Done.
dd8f4fb to
2ce2e4a
Compare
fbfbf8e to
8f40da5
Compare
avi-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avi-starkware reviewed 1 of 3 files at r3, 4 of 4 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @meship-starkware)
crates/bench_tools/src/runner.rs line 158 at r2 (raw file):
Previously, AvivYossef-starkware wrote…
Why? look here
it looks nice
Nevermind
I retracted this comment
8f40da5 to
9cbf781
Compare
2ce2e4a to
f0235b0
Compare
Merge activity
|

No description provided.