how to use Performance Analyzer on Windows
-
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:
and then nothing happens...
so is there anything I can do? or the Performance Analyzer is only for Linux? -
@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 aperf
. 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 -