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

Performance issue with VXYModelMapper

    XMLWordPrintable

Details

    • All, macOS
    • bf1eae298e (qt/qtcharts/dev) bf1eae298e (qt/tqtc-qtcharts/dev) fcf0fc193a (qt/tqtc-qtcharts/5.15) 6226369b4a (qt/qtcharts/6.4) d98268b9b7 (qt/qtcharts/6.3) d98268b9b7 (qt/tqtc-qtcharts/6.3) 6226369b4a (qt/tqtc-qtcharts/6.4)

    Description

      Attached example reproduces big performance issue. If 

      Reset all and updateAll is clicked.

      Looks like  the function QXYModelMapperPrivate::modelUpdated there is a method
      called oldPoint = m_series->points().at(index.row() - m_first) for each iteration.
      This calling a function that is redundant and very slow because oldPoint is
      not using and m_series->points() is converting vector to list.

       

      Attachments

        1. qtbug99190.zip
          12 kB
        2. worksbetter.7z
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tokorpip Tomi Korpipää
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes