Performance issue occurs when selecting and un-selecting 10000 items in WINUI ListView control #7448
Replies: 5 comments
-
SelectedItems might be old school option from Windows 8. Try using SelectRange and see if it helps. I've noticed a significant performance improvement with that switch: https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.listviewbase.selectrange?view=winrt-20348 |
Beta Was this translation helpful? Give feedback.
-
@Subashini2129 what version(s) of Winui are you using wheen you see this poor performance? What version of Windows are you using? |
Beta Was this translation helpful? Give feedback.
-
@StephenLPeters please find the versions details below: WINUI version: Windows version |
Beta Was this translation helpful? Give feedback.
-
@JPTGamesAndApps, I have used |
Beta Was this translation helpful? Give feedback.
-
Hi Team, Any update on this issue? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am facing performance problem when selecting and un-selecting 1 lakh items in WINUI ListView control. Please find the sample and time taken details below:
Selecting 1 lakh item - 6.09 sec
Un-selecting 1 lakh item - 1.7 min
Adding 10,000 items using SelectedItems property - 2.7 min
Sample:
ListView-performance-sample.zip
Can you please suggest any solution to improvise the performance issue?
Regards,
Subashini M.
Beta Was this translation helpful? Give feedback.
All reactions