Skip to content

Fix a bug in the benchmark script and enhance CSV output - #9955

Merged
kenzieschmoll merged 3 commits into
flutter:masterfrom
kenzieschmoll:benchmark-fix
Aug 11, 2026
Merged

Fix a bug in the benchmark script and enhance CSV output#9955
kenzieschmoll merged 3 commits into
flutter:masterfrom
kenzieschmoll:benchmark-fix

Conversation

@kenzieschmoll

Copy link
Copy Markdown
Member

This PR:

  • fixes a bug where the js compiler was not actually used in the baseline benchmark run
  • adds baseline and test columns to the CSV file instead of a single delta column
  • detects the current flutter version and devtools revision to include in the benchmark CSV file instead of forcing users to input those values manually

@kenzieschmoll
kenzieschmoll requested a review from a team as a code owner August 10, 2026 22:49
@kenzieschmoll
kenzieschmoll requested review from johnpryan and srawlins and removed request for a team August 10, 2026 22:49

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request automates the detection of Flutter and DevTools versions in the performance benchmark script, updates the CSV output format to clearly compare baseline and test metrics, and simplifies query parameter handling for benchmark paths. The review feedback suggests enhancing cross-platform compatibility on Windows by running shell commands with runInShell: true, and refactoring a complex nested ternary operator in the CSV generation logic into a more readable if-else block.

Comment thread packages/devtools_app/benchmark/scripts/utils.dart Outdated

@johnpryan johnpryan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kenzieschmoll
kenzieschmoll merged commit c867d15 into flutter:master Aug 11, 2026
51 of 52 checks passed
@kenzieschmoll
kenzieschmoll deleted the benchmark-fix branch August 11, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants