qt5base-lts/tests/benchmarks/widgets
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
..
graphicsview Benchmarks/QGraphicsView: re-enable graphicslayout/graphicslinearlayout 2018-04-04 06:54:39 +00:00
itemviews QListView: Speedup handling of hidden items 2018-09-17 14:01:31 +00:00
kernel Benchmark: move widgets benchmarks still in gui subdirectory to widgets 2018-03-27 16:50:44 +00:00
styles Benchmark: move widgets benchmarks still in gui subdirectory to widgets 2018-03-27 16:50:44 +00:00
widgets Revert "Emit updateBlock signal in QTextDocumentLayout" 2016-07-27 06:46:04 +00:00
widgets.pro Benchmark: move widgets benchmarks still in gui subdirectory to widgets 2018-03-27 16:50:44 +00:00