Skip to content

Janky GridView with remote images #121547

@delfme

Description

@delfme

Scrolling a gridView is janky

Tested with Impeller on latest stable and master 3.8.0-15.0.pre.25, iphone 13 pro, iose 16.1.

Steps to Reproduce

Please run this example here:
https://github.com/delfme/janky-gridview-scrolling

Expected results:
Smooth scrolling.

Actual results:
Scrolling janks are less evident on ios with Impeller but it is still not perfectly smooth and it janks at times.

RPReplay_Final1677533346.mp4

Profiling vid:
A few janks here and there, more janks from 0:12 on.

Untitled.mov

Screenshot 2023-02-27 at 22 18 43

Flutter doctor:

[✓] Flutter (Channel master, 3.8.0-15.0.pre.25, on macOS 12.2 21D49 darwin-arm64, locale en-IT)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: imagesLoading, displaying, rendering imagesc: performanceRelates to speed or footprint issues (see "perf:" labels)e: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.f: scrollingViewports, list views, slivers, etc.found in release: 3.8Found to occur in 3.8has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions