~mvo/software-center/refactor

« back to all changes in this revision

Viewing changes to software-center

  • Committer: Michael Vogt
  • Date: 2010-11-23 15:43:54 UTC
  • mfrom: (1303.1.6 startup-speed)
  • Revision ID: michael.vogt@ubuntu.com-20101123154354-ja3ebtn4arlvql98
mergedĀ fromĀ lp:~mvo/software-center/startup-time

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
import sys
41
41
 
42
42
from softwarecenter.enums import *
 
43
from softwarecenter.utils import ExecutionTime
43
44
from softwarecenter.version import *
44
45
 
45
46
import softwarecenter.log 
101
102
    
102
103
    # create the app
103
104
    from softwarecenter.app import SoftwareCenterApp
104
 
    app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
 
105
    with ExecutionTime("create SoftwareCenterApp"):
 
106
        app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
105
107
 
106
108
    # DEBUG/PROFILE mode 
107
109
    if options.measure_startup_time: