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

perfparser unnecessarily passes on time order violations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.0-beta1
    • Fix Version/s: Qt Creator 4.7.0-beta1
    • Component/s: Perfparser
    • Labels:
      None
    • Commits:
      15e0c94820acdb276e5a6285cdf203dfb5df8107

      Description

      perfparser already has the capability to buffer and sort events in order to mitigate time order violations across buffer flushes. However, once it detects FINISHED_ROUND events it doesn't do this anymore, even if it subsequently detects more time order violations.

      This forces the receiver of the event stream to either do the same buffering again, or potentially replay the whole event stream from the beginning when a time order violation is detected.

      It would be much more practical if perfparser restarted the buffering upon detecting a time order violation, increasing the buffer size with each subsequent one. Then the output stream would get "better" over time and expensive reparsing of events on the client side would become less and less likely the further the stream advances.

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes