Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86069

QTableView perform bad on Windows 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.0
    • Widgets: Itemviews
    • None
    • Windows 10 1909 10.0.18363
      Microsoft Visual Studio Community 2019 Version 16.7.1
    • Windows

    Description

      I'm using QTableView with a very simple model, added about 10w rows with 100 columns,
      It need like 20+ secs to be loaded and eat up over 6000MB memory, and the selection of the rows is slow too.

      It reproducible on Windows 10 20H2 and 1909,

      but it also [confirm|https://forum.qt.io/topic/118086/slow-performance-and-large-memory-usage-with-qtableview-in-qt-5-15/2] that it run fast on both Windows 7 and Linux with Qt 5.15

       

      Also I happen to get very fast performance after reboot my desktop once, but after that , reboot does not help anymore

      The same code works well with Qt 5.9.9 build on both Windows 10 20H2 and 1909.

      I attached the code below.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            photonlili Li Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes