Creation, loading and run time measurements with QML
Unsolved
QML and Qt Quick
-
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...
-
@Veepee what about contacting Risto Avila, the author of the blog posts? He may help you sharing tips or his experience so far.
-
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