QTableView Show/Hide Row Performance Test / 10-10-2011 / Phil
See the test QTreeView dialog image below. This table has 10,000 rows. These are the results from toggling the "Show all rows" checkbox. When that checkbox is off, half the rows are hidden (every other group of 10 rows). It takes about 1.5 second to hide 5000 rows, and 1.0 seconds to reshow them. [On Phil's new 64-bit machine]. This speed is good -- this isn't demonstrating the problem we are having with the SlotQDlgTable Qt4 port.
TableViewRowTest::setShowAllRows [#1] SHOW; row changes: 0; msecs: 0 TableViewRowTest::setShowAllRows [#2] HIDE; row changes: 5000; msecs: 940 TableViewRowTest::setShowAllRows [#3] SHOW; row changes: 5000; msecs: 1100 TableViewRowTest::setShowAllRows [#4] HIDE; row changes: 5000; msecs: 1525 TableViewRowTest::setShowAllRows [#5] SHOW; row changes: 5000; msecs: 1103 TableViewRowTest::setShowAllRows [#6] HIDE; row changes: 5000; msecs: 1524 TableViewRowTest::setShowAllRows [#7] SHOW; row changes: 5000; msecs: 1104 TableViewRowTest::setShowAllRows [#8] HIDE; row changes: 5000; msecs: 1527 TableViewRowTest::setShowAllRows [#9] SHOW; row changes: 5000; msecs: 1099 TableViewRowTest::setShowAllRows [#10] HIDE; row changes: 5000; msecs: 1468 TableViewRowTest::setShowAllRows [#11] SHOW; row changes: 5000; msecs: 1098 TableViewRowTest::setShowAllRows [#12] HIDE; row changes: 5000; msecs: 1460 TableViewRowTest::setShowAllRows [#13] SHOW; row changes: 5000; msecs: 1097 TableViewRowTest::setShowAllRows [#14] HIDE; row changes: 5000; msecs: 1460 TableViewRowTest::setShowAllRows [#15] SHOW; row changes: 5000; msecs: 1098