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

perfparser unnecessarily passes on time order violations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 4.7.0-beta1
    • Qt Creator 4.7.0-beta1
    • Perfparser
    • None
    • 15e0c94820acdb276e5a6285cdf203dfb5df8107

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes