[performance] improve app startup time

Bug #1325001 reported by Bill Filler
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
address-book-app
Fix Released
High
Renato Araujo Oliveira Filho
camera-app
Fix Released
High
Florian Boucault
dialer-app
Fix Released
Critical
Gustavo Pichorim Boiko
gallery-app
Fix Released
High
Arthur Mello
messaging-app
Fix Released
Critical
Tiago Salem Herrmann
webbrowser-app
Fix Released
High
Olivier Tilloy
address-book-app (Ubuntu)
Fix Released
High
Renato Araujo Oliveira Filho
camera-app (Ubuntu)
Fix Released
High
Unassigned
dialer-app (Ubuntu)
Fix Released
Critical
Gustavo Pichorim Boiko
gallery-app (Ubuntu)
Fix Released
High
Arthur Mello
messaging-app (Ubuntu)
Fix Released
Critical
Tiago Salem Herrmann
webbrowser-app (Ubuntu)
Fix Released
High
Olivier Tilloy
webbrowser-app (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

use the profiling tools in QtCreator and tips suggested by Florian here:
https://docs.google.com/a/canonical.com/presentation/d/1H0_Y70jadTwz0bc6VXgZNzD1xsvHEX57lULWRm3-LM4/edit#slide=id.p

Defer as much as possible to happen until after the UI is displayed

Related branches

Bill Filler (bfiller)
Changed in address-book-app:
status: New → Confirmed
Changed in camera-app:
status: New → Confirmed
Changed in gallery-app:
status: New → Confirmed
Changed in messaging-app:
status: New → Confirmed
Changed in webbrowser-app:
status: New → Confirmed
Changed in address-book-app:
importance: Undecided → High
Changed in camera-app:
importance: Undecided → High
Changed in gallery-app:
importance: Undecided → High
Changed in messaging-app:
importance: Undecided → High
Changed in webbrowser-app:
importance: Undecided → High
Changed in address-book-app:
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Changed in camera-app:
assignee: nobody → Florian Boucault (fboucault)
Changed in gallery-app:
assignee: nobody → Arthur Mello (artmello)
Changed in messaging-app:
assignee: nobody → Tiago Salem Herrmann (tiagosh)
Changed in webbrowser-app:
assignee: nobody → Olivier Tilloy (osomon)
Bill Filler (bfiller)
Changed in dialer-app:
milestone: none → beta-freeze
Bill Filler (bfiller)
Changed in messaging-app:
milestone: none → beta-freeze
Bill Filler (bfiller)
Changed in webbrowser-app:
milestone: none → beta-freeze
Changed in camera-app:
importance: High → Medium
Bill Filler (bfiller)
Changed in messaging-app:
importance: High → Critical
Bill Filler (bfiller)
Changed in dialer-app:
importance: High → Critical
milestone: beta-freeze → rtm-freeze
Changed in gallery-app:
importance: High → Critical
Changed in webbrowser-app:
importance: High → Critical
milestone: beta-freeze → rtm-freeze
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Fixing this bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1346975, should help on the app performance.

Bill Filler (bfiller)
Changed in address-book-app (Ubuntu):
status: New → Confirmed
Changed in dialer-app (Ubuntu):
status: New → Confirmed
Changed in messaging-app (Ubuntu):
status: New → Confirmed
Changed in address-book-app (Ubuntu):
importance: Undecided → Critical
Changed in dialer-app (Ubuntu):
importance: Undecided → Critical
Changed in messaging-app (Ubuntu):
importance: Undecided → Critical
Changed in dialer-app (Ubuntu):
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Changed in messaging-app (Ubuntu):
assignee: nobody → Tiago Salem Herrmann (tiagosh)
Changed in address-book-app (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Bill Filler (bfiller)
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

in address book make sure the component that fetches frequently called numbers does that on demand and not when component is instantiated, as well as general profiling of the app startup.

Changed in dialer-app:
importance: Critical → High
Changed in gallery-app:
importance: Critical → High
Changed in webbrowser-app:
importance: Critical → High
Changed in address-book-app (Ubuntu):
importance: Critical → High
Changed in dialer-app:
importance: High → Critical
Changed in webbrowser-app (Ubuntu):
importance: Critical → High
Leo Arias (elopio)
tags: added: qa-daily-testing
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: Confirmed → In Progress
Changed in webbrowser-app (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+14.10.20140825.1-0ubuntu1

---------------
webbrowser-app (0.23+14.10.20140825.1-0ubuntu1) utopic; urgency=low

  [ Olivier Tilloy ]
  * Reduce startup time of both apps by means of a few tricks, all
    related to asynchronous loading: - ensure loaders on the critical
    path load their components asynchronously - instantiate the error
    sheets asynchronously, as they are not needed right away - use
    Component.incubateObject(…) instead of Component.createObject(…) to
    instantiate objects asynchronously where possible - instantiate the
    history and bookmarks models asynchronously (LP: #1325001)
 -- Ubuntu daily release <email address hidden> Mon, 25 Aug 2014 21:11:11 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+14.10.20140826~rtm-0ubuntu1

---------------
webbrowser-app (0.23+14.10.20140826~rtm-0ubuntu1) 14.09; urgency=low

  [ Olivier Tilloy ]
  * trunk → rtm-14.09 sync: - Instantiate webviews on demand, only when
    they really need to be shown. - Show placeholder artwork and text in
    empty tab previews. - Reduce startup time of both apps by means of a
    few tricks, all related to asynchronous loading: * ensure loaders on
    the critical path load their components asynchronously * instantiate
    the error sheets asynchronously, as they are not needed right away *
    use Component.incubateObject(…) instead of Component.createObject(…)
    to instantiate objects asynchronously where possible * instantiate
    the history and bookmarks models asynchronously (LP: #1325001)
 -- Ubuntu daily release <email address hidden> Tue, 26 Aug 2014 06:44:00 +0000

Changed in webbrowser-app (Ubuntu RTM):
status: New → Fix Released
Changed in camera-app:
importance: Medium → High
status: Confirmed → In Progress
milestone: none → rtm-freeze
Bill Filler (bfiller)
tags: added: touch-2014-09-04
Changed in camera-app (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Changed in address-book-app:
status: Confirmed → Fix Released
Changed in address-book-app (Ubuntu):
status: Confirmed → Fix Released
Changed in dialer-app (Ubuntu):
status: Confirmed → In Progress
Changed in messaging-app (Ubuntu):
status: Confirmed → In Progress
Changed in dialer-app:
status: Confirmed → In Progress
Changed in gallery-app (Ubuntu):
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Arthur Mello (artmello)
Changed in camera-app:
milestone: rtm-freeze → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package camera-app - 3.0.0+14.10.20140829-0ubuntu1

---------------
camera-app (3.0.0+14.10.20140829-0ubuntu1) utopic; urgency=low

  [ Brendan Donegan ]
  * Finally remove location prompts during testing

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Sergio Schvezov ]
  * Fix cross building with click chroot

  [ Florian Boucault ]
  * Significantly faster startup. (LP: #1325001)

  [ CI bot ]
  * Resync trunk

  [ Pawel Stolowski ]
  * Added X-Ubuntu-Default-Department-ID key to the desktop file. This
    is required by click scope to support departments for preinstalled
    applications.
 -- Ubuntu daily release <email address hidden> Fri, 29 Aug 2014 02:28:40 +0000

Changed in camera-app (Ubuntu):
status: Fix Committed → Fix Released
Bill Filler (bfiller)
tags: added: touch-2014-09-11
removed: touch-2014-09-04
Changed in camera-app:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package messaging-app - 0.1+14.10.20140904.1-0ubuntu1

---------------
messaging-app (0.1+14.10.20140904.1-0ubuntu1) utopic; urgency=low

  [ Ugo Riboni ]
  * Make sure the strings from the desktop file template are processed.
    Use paths relative to the po dir in the .pot file to match
    convention. Update the pot file.

  [ Tiago Salem Herrmann ]
  * Improve startup time (LP: #1325001)

  [ Martin Pitt ]
  * update POT

  [ Pawel Stolowski ]
  * Added X-Ubuntu-Default-Department-ID key to the desktop file. This
    is required by click scope to support departments for preinstalled
    applications.

  [ Gustavo Pichorim Boiko ]
  * Make sure the strings from the desktop file template are processed.
    Use paths relative to the po dir in the .pot file to match
    convention. Update the pot file.

  [ Renato Araujo Oliveira Filho ]
  * Make sure the strings from the desktop file template are processed.
    Use paths relative to the po dir in the .pot file to match
    convention. Update the pot file.
  * Replaced ContactListView used to display search result with a simple
    ListView.
  * Set root element as parent for MessageInfoDialog.
  * Format the message timestamp using the current system locale. Make
    sure that AM/PM format get correct formatted. (LP: #1353691)
  * Added "+ Create new" button on contact list. Hide contact switch
    "all" "favorites" during the search. (LP: #1234947)
 -- Ubuntu daily release <email address hidden> Thu, 04 Sep 2014 18:26:42 +0000

Changed in messaging-app (Ubuntu):
status: In Progress → Fix Released
Bill Filler (bfiller)
Changed in dialer-app:
status: In Progress → Fix Released
Changed in messaging-app:
status: Confirmed → Fix Released
Changed in dialer-app (Ubuntu):
status: In Progress → Fix Released
Bill Filler (bfiller)
tags: added: touch-2014-09-25
removed: touch-2014-09-11
summary: - improve app startup time
+ [performance] improve app startup time
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+14.10.20140922-0ubuntu1

---------------
gallery-app (0.0.67+14.10.20140922-0ubuntu1) utopic; urgency=low

  [ Arthur Mello ]
  * Move the Loading Screen to inside the tabs (LP: #1325001)
  * Fix the editing of the album name by setting the hint to turn off
    predictive text
 -- Ubuntu daily release <email address hidden> Mon, 22 Sep 2014 13:36:36 +0000

Changed in gallery-app (Ubuntu):
status: Confirmed → Fix Released
Bill Filler (bfiller)
Changed in gallery-app:
status: Confirmed → Fix Released
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.