Have you tried using the profiler in Creator?

From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Christian 
Nielsen
Sent: Thursday, 5 November 2015 7:52 AM
To: interest@qt-project.org
Subject: [Interest] Why does a single Text item increase start-up time of QML 
application by 21 seconds?

Hi,

We are struggling with very long start-up time of our application.

Some details:
Treq M4 screen, 624 MHz ARM
Windows CE 6.0 R3
Qt 5.4 shared libraries
No OpenGL ES 2 support so using 2D Renderer

In order to find the bottleneck we made some simple test applications. Here are 
the descriptions with measured start-up times:

Qt Widget application with single label: < 3 s
QQuickView with no content: < 3s
QQuickView with single Rectangle: < 3s
QQuickView with single Text item: ~24 s
QQuickView with two Text items:  ~24s

I am thinking that the issue is not the loading of the dlls. Because Widget 
application and Qt Quick Rectangle application loads fast enough.
The issue is not parsing QML. These sample QML files are just a few lines long.
It is not the instantiation of the Text item. Because adding a second Text item 
is instant.
So what can it be?

Thanks in advance
-Christian




_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to