Lots of IO during startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-lens-applications |
Fix Committed
|
Medium
|
Michal Hruby | ||
6.0 |
Fix Committed
|
Medium
|
Michal Hruby | ||
unity-lens-applications (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Applications lens often loads very slowly, this is partially caused by doing lots of IO reading from the Software center's databases.
[Test Case]
There's no easy way to test this, with the fix, apps lens should start up to 15% faster, but this is hardware specific. Therefore the testing needs to ensure the applications lens can still be used as it used to before the fix.
[Regression potential]
- Previewing applications doesn't work
- Application rating is not displayed in the previews (or always shows 0 reviews).
=======
Original description:
When the system is starting up and lenses are launched, apps lens spends lots of time doing IO - opening the software center's xapian databases plus the ratings database.
Since the ratings filter was removed from apps lens, we now need the ratings database only when creating previews - therefore the ratings database is ideal candidate for lazy initialization (only when a preview is requested), which will improve the bad IO situation.
Related branches
- Paweł Stołowski (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 59 lines (+19/-9)1 file modifiedsrc/daemon.vala (+19/-9)
- Łukasz Zemczak: Approve
-
Diff: 59 lines (+19/-9)1 file modifiedsrc/daemon.vala (+19/-9)
Changed in unity-lens-applications: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Michal Hruby (mhr3) |
Changed in unity-lens-applications: | |
milestone: | none → 6.10.0 |
Changed in unity-lens-applications: | |
milestone: | 6.10.0 → 7.0.0 |
description: | updated |
Changed in unity-lens-applications: | |
status: | In Progress → Fix Committed |
description: | updated |
Hello Michal, or anyone else affected,
Accepted unity-lens- applications into quantal-proposed. The package will build now and be available at http:// launchpad. net/ubuntu/ +source/ unity-lens- applications/ 6.10.0- 0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!