Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67056

QV4_PROFILE_WRITE_PERF_MAP no longer working

    XMLWordPrintable

Details

    • d5c7229339a916b2f1f004ec4ea9de89995c003d

    Description

      The QML/JS engine had the feature to write a perf map file for all its JIT-compiled JS functions. This could be turned on with QV4_PROFILE_WRITE_PERF_MAP=1.

      This feature seems to no longer exist.

      A workaround to still record usable perf traces is to disable the JIT compiler with QV4_FORCE_INTERPRETER=1. However that changes the result as it slows down code execution - and for profiling, one should always measure as close to a normal execution as possible.

      Note that this is documented to work on https://doc.qt.io/qtcreator/creator-cpu-usage-analyzer.html.

      Attachments

        For Gerrit Dashboard: QTBUG-67056
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            tmcguire Thomas McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes