** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: (unassigned) => Albert Astals Cid (aacid)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1558663
Title:
Ubuntu Components is hard on the disk and CPU when loading images
Status in ubuntu-ui-toolkit package in Ubuntu:
In Progress
Bug description:
* Take the following simple example of a listview with an image.
* run it with strace qmlscene
* scroll the list to the bottom
When not including "import Ubuntu.Components 1.3" there is exactly one disk
access to load the image
open("/home/tsdgeos_work/test/face.png", O_RDONLY|O_CLOEXEC) = 19
When including "import Ubuntu.Components 1.3" there are around 500
disk access including stats for the file and listing the directory
containing the file (see disk_access file).
Also for each of those directory listings we're also creating and
destroying the same QRegExp again and again.
I understand that some of this overhead is needed since we have that
thing that loads the best possible file for the given grid units, but
doing it again and again for the same file seems a bit of overkill,
maybe we could cache that?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1558663/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp