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