Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 7.0.2
-
None
-
1b688b51fd (qt-creator/qt-creator/8.0) 1b688b51fd (qt-creator/qt-creator/master) 1b688b51fd (qt-creator/qt-creator/9.0) 1b688b51fd (qt-creator/qt-creator/qds-3.7)
Description
When profiling an application, which generates large number of events ~10000000, opening the profoling view takes a really long time, several seconds.
Most of that time is taken by one function: TimelineModelPrivate::incrementStartIndices.
Whenever a new event gets added into the timeline and it doesn't get added to the last index, that function gets called and it loops trough all previously added events even though it most like doesn't need to.
Attachments
For Gerrit Dashboard: QTCREATORBUG-28162 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
432075,5 | Optimize TimelineModelPrivate::incrementStartIndices | 8.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |