Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.6
-
-
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.