[Development] Qt 5.2 Beta - is it really much slower to parse qml/javascript on android?

Björn Breitmeyer bjoern.breitmeyer at kdab.com
Wed Oct 30 08:56:34 CET 2013


I think i know whats the issue if its still not fixed.

My guess is that you don't use the resource system of Qt but the android
application assets to store your components, the last time i had issues
with this all the time was lost in the horrible slow fileengine for assets on 
android. It looked to me it was reopening the assets all the time which seems
expensive.

I haven't tried it since 5.1 but if it is not fixed its very likely the cause 
of your problem.

Björn
Am Mittwoch, 30. Oktober 2013, 07:07:41 schrieb Koehne Kai:
> > -----Original Message-----
> > From: development-bounces+kai.koehne=digia.com at qt-project.org
> > [mailto:development-bounces+kai.koehne=digia.com at qt-project.org] On
> > Behalf Of Felipe Crochik
> > Sent: Tuesday, October 29, 2013 7:13 PM
> > To: Hausmann Simon
> > Cc: development at qt-project.org
> > Subject: Re: [Development] Qt 5.2 Beta - is it really much slower to parse
> > qml/javascript on android?
> > 
> > Simon,
> > Quick update:
> > I tried arm7va and got almost the same results (a very small improvement
> > but still over 3seconds).
> > 
> > It doesn't seem to be related at all to my code. It seems that it is
> > adding some "fixed amount" of time for each component than has to parse.
> > It doesn't look like is related to what they are or how complex. For
> > instance in one of my tests I had a component that was a Rectangle with a
> > Text inside, by just refactoring the Text to become another component I
> > went from 1.2s load time to almost 2. The example does not include any
> > javascript!!!!
> 
> Have you tried running the app with the QML Profiler attached?
> 
> See
> 
> http://qt-project.org/doc/qtcreator-2.8/creator-qml-performance-monitor.html
> 
> Regards
> 
> Kai
> 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Björn Breitmeyer | bjoern.breitmeyer at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Germany: +49-30-521325470, Sweden (HQ): +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4854 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131030/ceaa07f9/attachment.bin>


More information about the Development mailing list