Skip to content

Conversation

@hellohuanlin
Copy link
Contributor

@hellohuanlin hellohuanlin commented Mar 7, 2024

This benchmark is to measure the platform view performance improvement.

This project displays multiple AdMob banners in a scrollable list. There will be around 4-5 standard banners (320x50) on screen at the same time.

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.

Fixes #143534
Fixes #143257

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added the f: scrolling Viewports, list views, slivers, etc. label Mar 7, 2024
@hellohuanlin hellohuanlin force-pushed the platform_view_devicelab_ad_banner_scroll_list_real_ads branch 7 times, most recently from b97d3ad to 31a95d8 Compare March 7, 2024 23:17
@jonahwilliams
Copy link
Contributor

@hellohuanlin is this ready for review? Are you blocked on something?

@hellohuanlin
Copy link
Contributor Author

hellohuanlin commented Mar 8, 2024

@jonahwilliams I am still trying to solve the infra issue #144339 (comment)

But yes the code itself is ready for review.

@jonahwilliams
Copy link
Contributor

I can't follow the link you sent, you can @me in the internal chat

@jonahwilliams
Copy link
Contributor

If the code is ready for review you need to mark it ready for review and ask someone to review it, otherwise everyone will assume you are still tinkering on it.

@hellohuanlin
Copy link
Contributor Author

@jonahwilliams Sorry i linked wrongly, so here you go: #144745

If the code is ready for review you need to mark it ready for review and ask someone to review it, otherwise everyone will assume you are still tinkering on it.

Actually I am still tinkering on it, mainly on the infra side tho. The app side (dart code) should be ready.

@jonahwilliams
Copy link
Contributor

If you want feedback you should mark as ready for review. Don't wait until its 100% ready

@hellohuanlin hellohuanlin force-pushed the platform_view_devicelab_ad_banner_scroll_list_real_ads branch from 31a95d8 to a96063d Compare March 12, 2024 00:11
@jmagman
Copy link
Member

jmagman commented Mar 13, 2024

    info • Use 'const' with the constructor to improve performance • dev/benchmarks/platform_views_layout/lib/main_ad_banners.dart:35:17 • prefer_const_constructors
    info • Use a 'SizedBox' to add whitespace to a layout • dev/benchmarks/platform_views_layout/lib/main_ad_banners.dart:54:17 • sized_box_for_whitespace

@jonahwilliams jonahwilliams marked this pull request as ready for review March 13, 2024 19:29
@hellohuanlin hellohuanlin force-pushed the platform_view_devicelab_ad_banner_scroll_list_real_ads branch from 4c26d99 to 83ccadc Compare March 14, 2024 01:32
@gspencergoog
Copy link
Contributor

gspencergoog commented Mar 15, 2024

Reason for revert: appears to have broken the build. (Flutter Gardener)

@gspencergoog gspencergoog added the revert Autorevert PR (with "Reason for revert:" comment) label Mar 15, 2024
auto-submit bot pushed a commit that referenced this pull request Mar 15, 2024
@auto-submit auto-submit bot removed the revert Autorevert PR (with "Reason for revert:" comment) label Mar 15, 2024
auto-submit bot added a commit that referenced this pull request Mar 15, 2024
)" (#145189)

Reverts: #144745
Initiated by: gspencergoog
Reason for reverting: appears to have broken the build.

Original PR Author: hellohuanlin

Reviewed By: {jmagman, jonahwilliams}

This change reverts the following previous change:
This benchmark is to measure the platform view performance improvement. 

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

There's still a pending issue #144339

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes #143534
Fixes #143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
@jonahwilliams
Copy link
Contributor

I think we just need to update the gradle lockfiles for the android app

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2024
auto-submit bot pushed a commit that referenced this pull request Mar 15, 2024
…5224)

Reland #144745, which got reverted due to Android lockfile. Fixed by `dart dev/tools/bin/generate_gradle_lockfiles.dart`

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes #143534
Fixes #143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
auto-submit bot added a commit that referenced this pull request Mar 15, 2024
…ads" (#145224)" (#145228)

Reverts: #145224
Initiated by: hellohuanlin
Reason for reverting: breaks the tree
Original PR Author: hellohuanlin

Reviewed By: {gmackall, jmagman}

This change reverts the following previous change:
Reland #144745, which got reverted due to Android lockfile. Fixed by `dart dev/tools/bin/generate_gradle_lockfiles.dart`

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes #143534
Fixes #143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
auto-submit bot pushed a commit that referenced this pull request Mar 16, 2024
Reland #144745, which was reverted due to a the Android app ads not being set up correctly, crashing on launch: #145228

Add the missing [`com.google.android.gms.ads.APPLICATION_ID` `meta-data` tag](https://developers.google.com/admob/android/quick-start#import_the_mobile_ads_sdk) to the manifest.

Validated both `platform_views_scroll_perf__timeline_summary` and `platform_views_scroll_perf_impeller__timeline_summary` ran locally on an Android emulator.

Successful presubmit runs:
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20platform_views_scroll_perf__timeline_summary/4/overview
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20platform_views_scroll_perf_impeller__timeline_summary/4/overview

Original commit message:
_________
This benchmark is to measure the platform view performance improvement. 

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

There's still a pending issue #144339

Fixes #143534
Fixes #143257
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 16, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 16, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 14, 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 f: scrolling Viewports, list views, slivers, etc.

Projects

None yet

4 participants