Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. how to use Performance Analyzer on Windows
Forum Updated to NodeBB v4.3 + New Features

how to use Performance Analyzer on Windows

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shokarta
    wrote on last edited by
    #1

    Hello guys,

    Im on windows 11, and wants to try the Performance Analyzer for the first time as my listview has huge amount of JS scripts and during flicking it freezes/lags a little, so I want to see which functions takes how long to calculate

    when I start the debugger and select the Performance Analyzer, and hit "Play" to run the app, then selecting the "Performance Analyzer" and then when I want to start by "Start a performance anylsis" icon, it gives me errors:
    9fcb5216-f3a1-4e5c-b9f7-27289d24b78e-image.png
    2aa04e62-6747-4b38-9840-9562099e7b97-image.png
    bdaec692-8b13-484f-8e3d-e6c3d3e3df1f-image.png
    and then nothing happens...
    so is there anything I can do? or the Performance Analyzer is only for Linux?

    JonBJ 1 Reply Last reply
    0
    • S shokarta

      Hello guys,

      Im on windows 11, and wants to try the Performance Analyzer for the first time as my listview has huge amount of JS scripts and during flicking it freezes/lags a little, so I want to see which functions takes how long to calculate

      when I start the debugger and select the Performance Analyzer, and hit "Play" to run the app, then selecting the "Performance Analyzer" and then when I want to start by "Start a performance anylsis" icon, it gives me errors:
      9fcb5216-f3a1-4e5c-b9f7-27289d24b78e-image.png
      2aa04e62-6747-4b38-9840-9562099e7b97-image.png
      bdaec692-8b13-484f-8e3d-e6c3d3e3df1f-image.png
      and then nothing happens...
      so is there anything I can do? or the Performance Analyzer is only for Linux?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @shokarta
      perf is only available on Linux, not Windows. E.g. https://stackoverflow.com/questions/34641644/is-there-a-windows-equivalent-of-the-linux-command-perf-stat. I don't think MinGW offers a perf. You would have to search around for your own equivalent, and change command line. Basically you might want to try to do it externally from Creator.

      Linux perf I think would not tell you anything/much about what's going on in JS scripts. Don't know about Windows, MSVC has a profiler, don't know if you can use it best outside VS.

      https://forum.qt.io/topic/129737/qtcreator-5-performance-analysis-on-a-windows-10-platform
      https://training.kdab.com/portfolio/debugging-and-profiling-qt-applications-on-windows/
      https://wiki.qt.io/Profiling_and_Memory_Checking_Tools
      https://stackoverflow.com/a/34689067/489865

      1 Reply Last reply
      3
      • S shokarta has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved