Unsolved Creation, loading and run time measurements with QML
-
Hi
I am trying to do a quick comparison between two different versions of Qt and would need to measure the creation time, loading and run time of a QML.
Creation time measurements were easily measured using QML profiler. Is there a way to measure loading time and runtime of a QML content as well ?
-
@Veepee what about profiling the QML applications? It's used even by Qt people themselves...
-
Yes, with QML Profiling, we were able to measure all the creation times but couldnt find a way to measure loading and run time measurements of QML file.
-
Hi @Veepee,
Component.onCompleted: { var d1 = new Date(); // do what you need var d2 = new Date(); console.log("tasks took: " + (d2.valueOf() - d1.valueOf()) + " milliseconds"); }
LA
-
@Veepee what about contacting Risto Avila, the author of the blog posts? He may help you sharing tips or his experience so far.
-
@LeLev i too do this for qml components' time to load along with profiler to identify script call freq's and times.