← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[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
SDK bug tracking, 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


References