Skip to content

Conversation

@AvivYossef-starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

@AvivYossef-starkware AvivYossef-starkware marked this pull request as ready for review October 22, 2025 12:14
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 22fdd6e to 8c3ca65 Compare October 22, 2025 12:23
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch 2 times, most recently from 473e17c to ebe62e6 Compare October 22, 2025 12:25
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 8c3ca65 to 7e56c55 Compare October 22, 2025 12:25
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch from ebe62e6 to f42b99a Compare October 22, 2025 12:54
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 7e56c55 to 87beeaa Compare October 22, 2025 12:54
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch from f42b99a to c85fcbc Compare October 22, 2025 13:04
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 87beeaa to c9df6fa Compare October 23, 2025 09:36
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch from c85fcbc to d47a32f Compare October 23, 2025 09:36
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from c9df6fa to 595e682 Compare October 23, 2025 10:08
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch from d47a32f to 54cdcf1 Compare October 23, 2025 10:08
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 595e682 to 84e9328 Compare October 23, 2025 11:31
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch 2 times, most recently from 26f8f7c to d21ba87 Compare October 23, 2025 12:12
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 84e9328 to 947e4cc Compare October 23, 2025 12:12
Copy link
Collaborator

@avi-starkware avi-starkware left a 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)

Copy link
Collaborator

@avi-starkware avi-starkware left a 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:

            );

@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 947e4cc to a033588 Compare October 28, 2025 06:31
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch 2 times, most recently from 168fbdc to bf4411b Compare October 28, 2025 08:21
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from a033588 to 47a9439 Compare October 28, 2025 08:21
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from 47a9439 to fbfbf8e Compare October 29, 2025 07:18
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch 2 times, most recently from 8b610b7 to 2e27b8d Compare October 29, 2025 07:25
Copy link
Contributor Author

@AvivYossef-starkware AvivYossef-starkware left a 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 test check_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.

@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch 2 times, most recently from dd8f4fb to 2ce2e4a Compare October 29, 2025 07:40
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/support_deserialization_of_criterion_change branch from fbfbf8e to 8f40da5 Compare October 29, 2025 07:40
Copy link
Collaborator

@avi-starkware avi-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@avi-starkware reviewed 1 of 3 files at r3, 4 of 4 files at r4, all commit messages.
Reviewable status: :shipit: 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

@graphite-app graphite-app bot changed the base branch from aviv/support_deserialization_of_criterion_change to graphite-base/9699 October 30, 2025 08:46
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/run_and_compare_benchmark branch from 2ce2e4a to f0235b0 Compare October 30, 2025 09:15
@graphite-app graphite-app bot changed the base branch from graphite-base/9699 to main-v0.14.1 October 30, 2025 09:16
@graphite-app
Copy link

graphite-app bot commented Oct 30, 2025

Merge activity

  • Oct 30, 9:16 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

@AvivYossef-starkware AvivYossef-starkware added this pull request to the merge queue Oct 30, 2025
Merged via the queue into main-v0.14.1 with commit b321dff Oct 30, 2025
18 of 32 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants