You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones too) #30625
which is much slower than the iPhone4S and iPhone6 in our device lab. For example:
| iPhone4S | iPhone6 | iPhone6S
average frame build time | 5.76ms | 2.6ms | 22.6ms
The slow build time seems to only happen during the first animation (which is what our driver test is measuring).
This issue was found because of a customer complaint in #28113 (comment) . According to that, this seems to also happen on newer iPhones such as iPhone X.
Actions to be taken:
Test this on other newer iPhones such as iPhoneX to see how wide this issue is.
Add iPhone6S or newer iPhones to our device lab. (Maybe create a separate issue to track this.)
Add more tracings to our UI thread frame build process to figure out why it's slow.
changed the title [-]flutter_gallery's frame build time is super slow on iPhone6S (and possibly all newer iPhones than iPhone6)[/-][+]flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones than iPhone6)[/+]on Apr 6, 2019
changed the title [-]flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones than iPhone6)[/-][+]flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones too)[/+]on Apr 6, 2019
@dnfield : I just found another issue: the driver test isn't showing any image resources (#30641). That's probably why our driver test is so fast while in practice the app is much slower on first animation build. BTW, here's the profile-mode driver test's benchmark (without showing any images).
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]flutter_gallery's frame build time is super slow on iPhone6S (and possibly all newer iPhones than iPhone6)[/-][+]flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones than iPhone6)[/+][-]flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones than iPhone6)[/-][+]flutter_gallery's frame build time is super slow on iPhone6S (and possibly other newer iPhones too)[/+]liyuqian commentedon Apr 6, 2019
CC @cbracken @dnfield @digiter for adding iPhone6S or newer iPhones.
liyuqian commentedon Apr 6, 2019
Nevermind, I forgot to add
--profiletoflutter driveso it's in debug mode... Close this issue.dnfield commentedon Apr 6, 2019
Well don't leave us hanging - what are the times in profile mode? 😃
liyuqian commentedon Apr 7, 2019
@dnfield : I just found another issue: the driver test isn't showing any image resources (#30641). That's probably why our driver test is so fast while in practice the app is much slower on first animation build. BTW, here's the profile-mode driver test's benchmark (without showing any images).
Print warning if flutter drive is run in debug (#30747)
github-actions commentedon Aug 30, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.