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

Performance analyzer only shows top of stack for flame graphs and timelines.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt Creator 9.0.1
    • Qt Creator 9.0.0
    • FlameGraph & Timeline
    • None
    • Arch Linux, KDE
    • Linux/X11
    • d6484109b (9.0)

    Description

      When running the performance analyzer, the flame graph only shows the top of the stack trace. As a result, it's impossible to fully analyze where the bottlenecks are.

      For example, here's a flame graph taken in Qt Creator 8.0.2:

      Here is the same flame graph taken in Qt Creator 9.0.0:

      There is effectively no call stack information in the Qt Creator 9.0.0 flame graph, making it impossible to find where the bottlenecks actually occurred. The timeline view appears to be similarly shallow.

      I tried right clicking the flame graph and selecting "Show Full Range" and I get the same output. I've also tried all the different call graph modes and increasing the stack size to no avail. Toggling "Aggregate by functions" has little effect. When testing between 8.0.2 and 9.0.0, everything else on the system is the same: I only swapped out which package is installed for Qt Creator itself.

      Attachments

        1. image-2022-11-30-19-38-06-368.png
          image-2022-11-30-19-38-06-368.png
          191 kB
        2. image-2022-11-30-19-38-39-244.png
          image-2022-11-30-19-38-39-244.png
          62 kB
        3. trace-8.ptq
          11 kB
        4. trace-9.ptq
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            akb825 Aaron Barany
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes