Unsolved QML Profiling for new app with QtQuickControls 2
-
Hello, I'm doing QML profiling to compare the launch time before & after I update my app to use QtQuickControls 2. What I notice is that the "Scene Graph" is not consistent. Sometimes it shows 350ms and sometimes 230ms at the end of rendering. This is hard tell if my upgrade to QtQuickControls 2 is actually more speedy than QtQuickControls 1.2
Any ideas? Thank you.
-
QML in Qt 5.9 is cached - so first run after compilation will be slower than all subsequent ones.
-
@sierdzio But I'm using Qt 5.7.1, does this version have the same behavior? So if that's the case, how would I accurately measure the startup time of my Qt app? Thanks
-
QML cache was added in Qt 5.8, so it is not affecting your startup times.
I don't know what causes the delta you see between runs, then.
-
The other problem I see is that Qt Creator crashes most of the time when I click stop analyzing.