[Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

Curtis Mitch mitch.curtis at theqtcompany.com
Thu Nov 5 08:24:43 CET 2015


Have you tried using the profiler in Creator?

From: Interest [mailto:interest-bounces at qt-project.org] On Behalf Of Christian Nielsen
Sent: Thursday, 5 November 2015 7:52 AM
To: interest at 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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151105/422157e6/attachment.html>


More information about the Interest mailing list