Skip to content

Fix issue with compare_benchmarks.dart script - #9954

Merged
kenzieschmoll merged 1 commit into
flutter:masterfrom
kenzieschmoll:benchmark-script-fix
Aug 10, 2026
Merged

Fix issue with compare_benchmarks.dart script#9954
kenzieschmoll merged 1 commit into
flutter:masterfrom
kenzieschmoll:benchmark-script-fix

Conversation

@kenzieschmoll

Copy link
Copy Markdown
Member

A recent change to use a prettyPrintJson helper from devtools_app caused errors when running the benchmark comparison scripts since devtools_app introduces an unnecessary flutter dependency for this script.

This PR removes the import from devtools_app to inline the helper in the benchmark utils.

@kenzieschmoll
kenzieschmoll requested a review from a team as a code owner August 10, 2026 20:40
@kenzieschmoll
kenzieschmoll requested review from bkonyi and johnpryan and removed request for a team August 10, 2026 20:40

@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 removes an unused import of devtools_app/src/shared/primitives/utils.dart from compare_benchmarks.dart and introduces a prettyPrintJson utility function in utils.dart within the benchmark scripts. I have no feedback to provide.

@kenzieschmoll
kenzieschmoll merged commit 84c98b7 into flutter:master Aug 10, 2026
51 of 52 checks passed
@kenzieschmoll
kenzieschmoll deleted the benchmark-script-fix branch August 11, 2026 16:21
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