Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Using headless=new for Chrome macrobenchmarks #168256

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

Merged
merged 2 commits into from
May 5, 2025

Conversation

Markzipan
Copy link
Contributor

My newly added DDC macrobenchmarks tests have been timing out on the test infra. It turns out that headless Chrome is significantly slower than headful Chrome (reasons unknown, but perhaps related to hardware acceleration). Using --headless=new instead of flutter run's headless flag (which uses the old headless mode) makes my local runs significantly (10x+) faster.

This time for sure

@Markzipan Markzipan requested a review from matanlurey as a code owner May 3, 2025 02:28
@yjbanov yjbanov requested a review from eyebrowsoffire May 5, 2025 16:54
Copy link
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

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

LGTM

In general, we need to rethink our web benchmarks strategy. I am soon going to be looking into reworking our benchmarks to actually run on more representative real-world hardware, rather than cloud instances with no GPU.

@Markzipan
Copy link
Contributor Author

LGTM

In general, we need to rethink our web benchmarks strategy. I am soon going to be looking into reworking our benchmarks to actually run on more representative real-world hardware, rather than cloud instances with no GPU.

Sounds good! The Dart Web team's interested in allowing DDC to integrate with those benchmarks, so please keep us in the loop when those details emerge.

@yjbanov yjbanov added the autosubmit Merge PR when tree becomes green via auto submit App label May 5, 2025
@auto-submit auto-submit bot added this pull request to the merge queue May 5, 2025
Merged via the queue into flutter:master with commit f794a58 May 5, 2025
151 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label May 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
@Markzipan Markzipan deleted the ddc_benchmarks_fix3 branch May 6, 2025 18:20
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 6, 2025
mboetger pushed a commit to mboetger/flutter that referenced this pull request May 6, 2025
My newly added DDC macrobenchmarks tests have been timing out on the
test infra. It turns out that `headless` Chrome is significantly slower
than headful Chrome (reasons unknown, but perhaps related to hardware
acceleration). Using `--headless=new` instead of `flutter run`'s
headless flag (which uses the old headless mode) makes my local runs
significantly (10x+) faster.

*This time for sure*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants