Applications Center starting too long

Bug #945524 reported by Nicholas Shatokhin
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Ubuntu 12.04 beta 1. Applications Center starting quickly than in Ubuntu 11.10, but it's still too slow.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Omer Akram (om26er)
affects: unity → software-center (Ubuntu)
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi Nicholas, and thank you for your report. It would be useful to get an idea of the startup time values you are seeing for Software Center on your machine. Could you please open a terminal and start Software Center with the following switch as shown?:

  $ software-center --measure-startup-time

In the terminal output, please cut and paste the following two values into this report (the values shown are for my machine):

** main window visible after: 1.25009989738 seconds
** main window fully ready after: 3.56165599823 seconds

We have sped up startup time quite a bit during the Precise cycle, but there's always room for improvement and we plan to do more work in the area in the next few weeks. It will be helpful to have objective data for different machines as we do this.

Thanks for your help, it is much appreciated!
Gary

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for software-center (Ubuntu) because there has been no activity for 60 days.]

Changed in software-center (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Nicholas Shatokhin (robotex) wrote :

I run it on PC with 8GB DDR3 memory. When I used 4GB and on my laptop with 2GB its too long.

robotex@robotex-work:~$ software-center --measure-startup-time
2012-05-22 12:36:42,312 - softwarecenter.performance - DEBUG - opening the pkginfo: 0.0156481266022
2012-05-22 12:36:42,394 - softwarecenter.performance - DEBUG - opening the xapiandb: 0.0819580554962
2012-05-22 12:36:42,397 - softwarecenter.performance - DEBUG - building the icon cache: 0.00217700004578
2012-05-22 12:36:42,415 - softwarecenter.performance - DEBUG - creating the backend: 0.018070936203
2012-05-22 12:36:42,415 - softwarecenter.performance - DEBUG - get the app-manager: 5.10215759277e-05
2012-05-22 12:36:42,444 - softwarecenter.performance - DEBUG - ViewManager: 0.0163090229034
2012-05-22 12:36:43,479 - softwarecenter.performance - DEBUG - building panes: 1.0348367691
2012-05-22 12:36:43,743 - softwarecenter.performance - DEBUG - create review loader: 0.262528896332
2012-05-22 12:36:43,743 - softwarecenter.performance - DEBUG - create plugin manager: 0.000274896621704
2012-05-22 12:36:43,780 - softwarecenter.performance - DEBUG - create SoftwareCenterApp: 1.54226899147
1337679403.94
2012-05-22 12:36:43,940 - softwarecenter.performance - DEBUG - ** main window visible after: 4.20129799843 seconds
2012-05-22 12:36:45,159 - softwarecenter.performance - DEBUG - open the apt cache (in event loop): 1.21880102158
2012-05-22 12:36:46,388 - softwarecenter.performance - DEBUG - calculate nr_apps and nr_pkgs: : 0.118890047073
2012-05-22 12:36:46,502 - softwarecenter.performance - DEBUG - append new matches to existing ones:: 0.000541925430298
2012-05-22 12:36:46,502 - softwarecenter.performance - DEBUG - populate model from query: 'Xapian::Query((<alldocuments> AND ATapplication))' (threaded: False): 0.233125209808
2012-05-22 12:36:46,782 - softwarecenter.performance - DEBUG - estimate item count for query: 'Xapian::Query(<alldocuments>)': 0.00111198425293
2012-05-22 12:36:47,009 - softwarecenter.performance - DEBUG - show() & gtk events until visible: 3.22925400734
7.27068400383
2012-05-22 12:36:47,010 - softwarecenter.performance - DEBUG - ** main window fully ready after: 7.27068400383 seconds

Changed in software-center (Ubuntu):
status: Expired → New
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Timothy Arceri (t-fridey) wrote :

Running software-center with --measure-startup-time I get the following:

software-center --measure-startup-time
2012-09-08 18:10:08,170 - softwarecenter.performance - DEBUG - opening the pkginfo: 0.0926611423492
2012-09-08 18:10:08,315 - softwarecenter.performance - DEBUG - opening the xapiandb: 0.144290924072
2012-09-08 18:10:08,326 - softwarecenter.performance - DEBUG - building the icon cache: 0.0107450485229
2012-09-08 18:10:08,474 - softwarecenter.performance - DEBUG - creating the backend: 0.146363019943
2012-09-08 18:10:08,475 - softwarecenter.performance - DEBUG - get the app-manager: 0.000198125839233
2012-09-08 18:10:08,566 - softwarecenter.performance - DEBUG - ViewManager: 0.0550661087036
2012-09-08 18:10:09,024 - softwarecenter.performance - DEBUG - building panes: 0.456971883774
2012-09-08 18:10:10,201 - softwarecenter.performance - DEBUG - create review loader: 1.17366814613
2012-09-08 18:10:10,208 - softwarecenter.performance - DEBUG - create plugin manager: 0.00152015686035
2012-09-08 18:10:10,372 - softwarecenter.performance - DEBUG - create SoftwareCenterApp: 2.48159313202
1347091811.46
2012-09-08 18:10:11,464 - softwarecenter.performance - DEBUG - ** main window visible after: 8.91763997078 seconds
2012-09-08 18:10:14,439 - softwarecenter.performance - DEBUG - open the apt cache (in event loop): 2.97348093987
2012-09-08 18:10:20,205 - softwarecenter.performance - DEBUG - calculate nr_apps and nr_pkgs: : 0.460212945938
2012-09-08 18:10:20,395 - softwarecenter.performance - DEBUG - append new matches to existing ones:: 0.0014967918396
2012-09-08 18:10:20,396 - softwarecenter.performance - DEBUG - populate model from query: 'Xapian::Query((<alldocuments> AND ATapplication))' (threaded: False): 0.662683010101
2012-09-08 18:10:21,344 - softwarecenter.performance - DEBUG - calculate nr_apps and nr_pkgs: : 0.352252006531
2012-09-08 18:10:22,130 - softwarecenter.performance - DEBUG - append new matches to existing ones:: 0.00371217727661
2012-09-08 18:10:22,130 - softwarecenter.performance - DEBUG - populate model from query: 'Xapian::Query((<alldocuments> AND ATapplication))' (threaded: False): 1.13835787773
2012-09-08 18:10:23,334 - softwarecenter.performance - DEBUG - estimate item count for query: 'Xapian::Query(<alldocuments>)': 0.140356779099
2012-09-08 18:10:24,610 - softwarecenter.performance - DEBUG - show() & gtk events until visible: 14.2379748821
22.0645909309
2012-09-08 18:10:24,611 - softwarecenter.performance - DEBUG - ** main window fully ready after: 22.0645909309 seconds

I'm trying to figure out how I can narrow the cause down further but I'm not a python coder so Matthew any hints on where this looks to be coming from would be great.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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