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

DataGrid is quite slow, takes ~1s to display 3 tables with 20 rows and 8 Columns #4925

Open
3 of 14 tasks
Trolldemorted opened this issue Aug 12, 2023 · 2 comments
Open
3 of 14 tasks
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior DataGrid 🔠 Issues on DataGrid control

Comments

@Trolldemorted
Copy link

Describe the bug

A simple demo app with a page that has 3 DataGrids with 20 rows and 8 columns takes ~1s to display, with 600ms going into layouting. It might be that I am doing something completely wrong, but I couldn't find a way to bring things up to speeds where users wouldn't notice the blocked UI thread.

Are 160 elements too many for DataGrid?

Regression

No response

Reproducible in sample app?

  • This bug can be reproduced in the sample app.

Steps to reproduce

- `git clone git@github.com:Trolldemorted/WinUI3DataGridTest.git`
- start with profiler
- click on the button to navigate to the test page

Expected behavior

New page renders quickly

Screenshots

grafik

grafik

Windows Build Number

  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)

Other Windows Build number

22H2 (Build 19045.3324)

App minimum and target SDK version

  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)

Other SDK version

No response

Visual Studio Version

2022

Visual Studio Build Number

17.6.4

Device form factor

Desktop

Nuget packages

CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2
Microsoft.WindowsAppSDK1.3.230724000
Microsoft.Windows.SDK.BuildTools 10.0.22621.756

Additional context

No response

Help us help you

No.

@Trolldemorted Trolldemorted added the bug 🐛 An unexpected issue that highlights incorrect behavior label Aug 12, 2023
@ghost ghost added the needs triage 🔍 label Aug 12, 2023
@ghost
Copy link

ghost commented Aug 12, 2023

Hello Trolldemorted, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@ghost ghost added the needs attention 👋 label Aug 27, 2023
@ghost
Copy link

ghost commented Aug 27, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior DataGrid 🔠 Issues on DataGrid control
Projects
None yet
Development

No branches or pull requests

2 participants