Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[web_benchmarks] Report correct expected metrics for wasm #10236

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

Open
mdebbar wants to merge 4 commits into main
base: main
Choose a base branch
Loading
from use_wasm_frames

Conversation

@mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Oct 15, 2025
edited
Loading

Depends on flutter/flutter@2e51c3f which will be part of the 3.38.0 release.

Fixes flutter/flutter#177057

Copy link

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

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 correctly fixes an issue where expected metrics for Wasm benchmarks were incomplete. The change removes incorrect conditional logic, ensuring prerollFrame and applyFrame are always included. The useWasm parameter is now deprecated, which is a good cleanup. The package version and Flutter SDK constraints are also updated accordingly. I've found one minor issue in the CHANGELOG.md with a duplicate entry.

@stuartmorgan-g stuartmorgan-g added the waiting for stable update Can't be landed until functionality reaches the stable channel label Oct 15, 2025

* Fixes the reported metrics in `expectedBenchmarkMetrics` for wasm.
* Updates minimum supported SDK version to Flutter 3.38/Dart 3.7.
* Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g Oct 21, 2025

Choose a reason for hiding this comment

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

This line should be removed since its obsoleted by the new line.

## 4.1.0

* Fixes the reported metrics in `expectedBenchmarkMetrics` for wasm.
* Updates minimum supported SDK version to Flutter 3.38/Dart 3.7.
Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g Oct 21, 2025

Choose a reason for hiding this comment

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

Dart 3.10

version: 4.1.0

environment:
sdk: ^3.7.0
Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g Oct 21, 2025

Choose a reason for hiding this comment

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

CI will fail unless these match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@stuartmorgan-g stuartmorgan-g stuartmorgan-g requested changes

+1 more reviewer

@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments

Reviewers whose approvals may not affect merge requirements

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

p: web_benchmarks waiting for stable update Can't be landed until functionality reaches the stable channel

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

package:web_benchmarks needs to be updated for unified skwasm/canvaskit renderers

AltStyle によって変換されたページ (->オリジナル) /