[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Branch linked: lp:~ci-train-bot/ubuntu-ui-toolkit/ubuntu-ui-toolkit- ubuntu-yakkety-landing-070 -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in Canonical System Image: Fix Committed Status in ubuntu-ui-toolkit package in Ubuntu: Fix Committed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Tags added: unity8-desktop ** Changed in: canonical-devices-system-image Status: New => Fix Committed -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in Canonical System Image: Fix Committed Status in ubuntu-ui-toolkit package in Ubuntu: Fix Committed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: In Progress => Fix Committed -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: Fix Committed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => In Progress ** 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: In Progress Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Branch linked: lp:~aacid/ubuntu-ui-toolkit/prefer_image_if_it_exists -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Description changed: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually - open. + open.(which is the given path since there's no @GU files at all) -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
Can we verify the following assertion? if you specify "foo.png" and rely on scaling, on disk it will have to be "f...@18.png" (replace 18 with any number(s)) and NEVER "foo.png". So why doesn't the lookup skip all the suffix search if the file "foo.png" exists verbatim? -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open.(which is the given path since there's no @GU files at all) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Confirmed -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
No, it's not a direct duplicate. -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
This might be a direct duplicate of bug 1494795. Because that was about 100% CPU on arale, which might be the same as only 23% CPU on a desktop or whatever you're using. ** Tags added: performance ** Changed in: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided => High -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
I have no magic fix for this though, suggestions include: * Remove this fuzzy matching of filenames * Somehow give the hability of opting out of this fuzzy filename matching * Caching the last X dirs, so at least repeat queries (like going up/down the same scope) are a bit faster. -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1604029] Re: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope
** Attachment added: "The said callgrind trace" https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+attachment/4702912/+files/callgrind.out.11868 -- 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/1604029 Title: UCUnits::resolveResource takes up to 23% of CPU time when scrolling a long Unity8-dash Scope Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: According to the attached callgrind trace (obtaining scrolling up/down the fake_ubrick_scope) one can see that calls to Image item setSource end up intercepted by UCQQuickImageExtension::setSource that goes ends up in UCUnits::resolveResource That takes 23% of the total CPU time looking for which file to actually open. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1604029/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp