Skip to content

ListView performance issues on WebAssembly #20956

Closed

Description

@w-ahmad

What would you like to be added? 💡

When running the same app on Desktop and WebAssembly with a ListView, it becomes clear that the ListView doesn't scroll efficiently. I've included an example app and a video comparison for both platforms. The app is in release mode, running without a debugger attached. This performance issue is causing slowness of my WinUI.TableView control on WebAssembly, despite no code differences between WebAssembly and other platforms.

see w-ahmad/WinUI.TableView#171

test app UnoApp1.zip

Screen.Recording.2025-07-06.170022.mp4

Why is this needed? 🤔

No response

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

WebAssembly

Anything else we need to know? 💬

No response

Activity

  1. added
    kind/enhancement
    triage/untriaged
    difficulty/tbd
    on Jul 6, 2025
  2. added
    platform/wasm 🌐
    area/listview 📃
    project/items 🧾
    area/performance 📈
    and removed
    triage/untriaged
    difficulty/tbd
    on Jul 7, 2025
  3. self-assigned this
    on Jul 7, 2025
  4. DevTKSS commented on Jul 7, 2025

    @DevTKSS
    Contributor

    Linking as very similar performance problem: #19034
    similar: both applications are docked to the Monitor + using skia and making this problems 🤔

  5. jeromelaban commented on Jul 7, 2025

    @jeromelaban
    Member

    @w-ahmad thanks for the report. It is likely that you'll need PG-AOT to get better performance. By default, the interpreter is not particularly fast. Also, make sure that you do not have the "enhanced security mode" enabled in Edge.

  6. removed their assignment
    on Jul 8, 2025
  7. 32 remaining items

  8. assigned and unassigned on Sep 24, 2025
  9. self-assigned this
    on Oct 21, 2025
  10. rajamatt commented on Jan 27, 2026

    @rajamatt
    Contributor

    With uno.sdk 6.5.11 in Release on Wasm, scrolling is very smooth when scrolling with the mouse wheel. However, scrolling by using the scroll bar directly is still pretty jumpy.

    Test6dot5.zip

    With 6.5.11 on Desktop, scrolling is very smooth with both methods of scrolling.

    Using mouse wheel Dragging scroll bar with pointer
    Wasm ✅ Very smooth ❌ Lags behind (jumpy)
    Desktop ✅ Very smooth ✅ Smooth

    See video (recorded in 60fps) below of scrolling on Wasm, first with the mouse wheel and then the scroll bar. Notice the significant difference.
    Image

  11. SHOEGAZEssb commented on Jan 27, 2026

    @SHOEGAZEssb

    The performance issue extens to linux using skia as well. Borderline unusable unfortunately
    Edit: performance using 6.6.0-dev.13 is waaaay better

  12. rajamatt commented on Jan 28, 2026

    @rajamatt
    Contributor

    Just adding that using uno.sdk 6.6.0-dev.13 does not seem to help on Windows.

    On my end, testing with 6.4.58, 6.5.xx and 6.6.0-dev.xx all behave the same on Windows and Linux (perf is good, except for using the scroll bar on Windows)

  13. rajamatt commented on Jan 28, 2026

    @rajamatt
    Contributor

    Opened #22495 to keep tracking scroll bar specific issues. Closing this one as most of the requested performance issues seem to be resolved after testing on Windows and Linux.


    Tested with:
    Templates/SDK: 6.4.58, 6.5.11, 6.6.0-dev.13/15
    IDE: Visual Studio 2026 18.2.1 and Rider 2025.3
    Platform(s): Wasm
    OS: Windows, Linux

  14. github-actions commented on Apr 30, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  15. locked as resolved and limited conversation to collaborators on Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/listview 📃area/performance 📈kind/enhancementplatform/wasm 🌐project/items 🧾renderer/skia

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions