Skip to content
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

Add a perf test for picture raster cache #45050

Merged
merged 2 commits into from
Nov 19, 2019
Merged

Conversation

liyuqian
Copy link
Contributor

This will catch issues like
#44252, and this test is
inspired by the list_demo sample app in
#43083 (comment)

This is tested locally on a Moto G4 before and after the fix
flutter/engine#13710

The average_frame_rasterizer_time_millis of this test drops from
~5.4ms to ~4.9ms after that fix.

@fluttergithubbot fluttergithubbot added the team Infra upgrades, team productivity, code health, technical debt. See also team: labels. label Nov 17, 2019
@liyuqian liyuqian added c: performance Relates to speed or footprint issues (see "perf:" labels) t: flutter driver "flutter driver", flutter_drive, or a driver test labels Nov 17, 2019
This will catch issues like
flutter#44252, and this test is
inspired by the `list_demo` sample app in
flutter#43083 (comment)

This is tested locally on a Moto G4 before and after the fix
flutter/engine#13710

The `average_frame_rasterizer_time_millis` of this test drops from
~5.4ms to ~4.9ms after that fix.
@liyuqian liyuqian merged commit a32fc98 into flutter:master Nov 19, 2019
@liyuqian liyuqian deleted the test_cache branch November 20, 2019 00:40
liyuqian added a commit to flutter/engine that referenced this pull request Nov 21, 2019
Previously, we're also counting the pictures that are already raster
cached.

This fixes flutter/flutter#44252 and helps
solving the GPU thread issue of flutter/flutter#43083

flutter/flutter#45050 is a performance test in the framework repo to reveal this bug.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: performance Relates to speed or footprint issues (see "perf:" labels) t: flutter driver "flutter driver", flutter_drive, or a driver test team Infra upgrades, team productivity, code health, technical debt. See also team: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants