~mvo/software-center/speedup2

« back to all changes in this revision

Viewing changes to software-center

  • Committer: Michael Vogt
  • Date: 2012-08-30 12:26:35 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120830122635-vhkx6p1r7p361s2f
software-center: time import and create seperately

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    Gtk.init_check(sys.argv)
129
129
 
130
130
    # create the app
 
131
    with ExecutionTime("import SoftwareCenterApp"):
 
132
        from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
131
133
    with ExecutionTime("create SoftwareCenterApp"):
132
 
        from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
133
134
        app = SoftwareCenterAppGtk3(datadir, xapian_base_path, options, args)
134
135
 
135
136
    # DEBUG/PROFILE mode