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

Felipe Crochik qt-project at b2-4ac.com
Tue Oct 29 15:31:16 CET 2013


summary: some very simple "qml" code now is taking 4 seconds to "parse" and
get to the "component.onCompleted" on android. It is instantaneous using
qml 1.0/old necessitas. What is the best way to profile and found why?
Anybody seeing a much longer "parsing time"? can it be related to the
replacement of V8?

longer version:
I have this very simple game (
https://play.google.com/store/apps/details?id=com.crochik.lockcode) that I
had created using qml 1.0 and deployed to android using one of the alpha
releases of necessitas/qml 1.0. The game is just qml and javascript, using
only basic qml components.

I just created a new "qt quick 2.0" project, copied the qml files to the
project and changed the "headers"  to use qt quick 2.0 (instead of 1) and
now it takes 4 seconds to "parse the qml" and get to the top level
component.oncompleted. I am using a loader to "measure" the time between
setting the loader source and getting to the "oncompleted" on the "loaded
top level component"

Thanks,
Felipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131029/7a908930/attachment.html>


More information about the Development mailing list