Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28162

QML Profiler: Opening large number of events takes long time

    XMLWordPrintable

Details

    • 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

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

        Activity

          People

            anmaatta Antti Määttä
            anmaatta Antti Määttä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes