Skip to content

[web_benchmarks] Refactor the test benchmark app to make the example easier to follow #7640

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 13 commits into from
Sep 12, 2024

Conversation

kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Sep 12, 2024

A breaking change to this package will follow that changes the structure of setting the initial path for the benchmark run. This was originally done in #7632, which was closed because there were more changes needed to get the tests to pass. This cleanup is part of that work.

This PR

  • moves the benchmark clients to test_app/benchmark following pub package guidance for naming conventions
  • regenerates the test_app web assets using flutter create to ensure the web configuration is up to date
  • adds more structure to the benchmark test_infra setup to provide a more thorough example of what a user of this package might need to do. I followed the structure that is used in DevTools benchmark tests.

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.

One nitpick about spelling, but otherwise LGTM!

@kenzieschmoll kenzieschmoll added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 12, 2024
@auto-submit auto-submit bot merged commit 330581f into flutter:main Sep 12, 2024
76 checks passed
@kenzieschmoll kenzieschmoll deleted the cleanup-structure branch September 12, 2024 23:38
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 13, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 13, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 13, 2024
flutter/packages@91caa7a...330581f

2024-09-12 [email protected] Refactor the test benchmark app to make the example easier to follow (flutter/packages#7640)
2024-09-12 [email protected] Fix an if statement with resumed video players on Android. (flutter/packages#7641)
2024-09-12 [email protected] Roll Flutter from 2e221e7 to 303f222 (77 revisions) (flutter/packages#7638)
2024-09-12 [email protected] [google_maps_flutter_android] Convert `PlatformCameraUpdate` to pigeon. (flutter/packages#7507)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@kenzieschmoll kenzieschmoll changed the title Refactor the test benchmark app to make the example easier to follow [web_benchmarks] Refactor the test benchmark app to make the example easier to follow Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: web_benchmarks platform-web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants