qt5base-lts/tests/benchmarks/widgets/itemviews
Christian Ehrlicher 43ed09fed5 QListView: Speedup handling of hidden items
Instead iterating through all rows to get the number of hidden items,
iterate over the hidden items which are fewer items.
Also don't create a temporary vector with visible flow positions by
remembering the count of hidden items before the working index and
adjusting them appropriately which gives a significant performance
boost when working with a large data set.

[ChangeLog][QtWidgets][QListWidget] Speedup handling of hidden items
when working with large data sets

Task-number: QTBUG-68977
Change-Id: I599b6e97945c245f02229145baad8363ec2bf2f5
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2018-09-17 14:01:31 +00:00
..
qheaderview Benchmark: move widgets benchmarks still in gui subdirectory to widgets 2018-03-27 16:50:44 +00:00
qlistview QListView: Speedup handling of hidden items 2018-09-17 14:01:31 +00:00
qtableview Benchmark: move widgets benchmarks still in gui subdirectory to widgets 2018-03-27 16:50:44 +00:00
itemviews.pro QListView: Speedup handling of hidden items 2018-09-17 14:01:31 +00:00