Doesn't cold launch in <5 seconds on benchmark hardware

Bug #1021779 reported by Matthew Paul Thomas
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Triaged
High
Unassigned

Bug Description

1. Restart Ubuntu.
2. Simultaneously start a stopwatch and launch Ubuntu Software Center.
3. When the window appears, press Stop.

This is a sequel to bug 677088, where developers did excellent work reducing Ubuntu Software Center's warm launch time.
<http://people.canonical.com/~mvo/software-center/mini10-startup/startup-times.png>

This time, we want to improve cold launch time -- because when people run USC, most often they will run it only once before logging out. And it's likely that we've regressed since March 2011.

So, the first step is to identify benchmark hardware. Is a Dell Mini 10 still relevant? If not, what should we use instead?

Next, find some way of automating a test where Ubuntu restarts (and waits for things to settle after login) before launching USC, timing how long it takes for the window to appear, and plotting the result on a graph linked from this bug report.

Then, accelerate essential tasks -- and postpone non-essential tasks -- to reduce the cold launch time.

To be clear, this is only about the time from launching until the main window opens. So anything you can possibly postpone until after the window opens, do it. Postpone reading package state, postpone reading package installation history, postpone delay setting up a xapian database, postpone reading an icon cache, postpone everything except the minimum necessary to open the window at its correct size. Making those other tasks quicker is good, but not as good as making the window appear sooner.

<https://wiki.ubuntu.com/SoftwareCenter#Launching>: "Otherwise, the main USC window should open within five seconds on benchmark hardware."

Tags: performance
Changed in software-center (Ubuntu):
importance: Undecided → High
Changed in software-center (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.