Merge lp:~cjwatson/ubuntu-app-launch/libclick-manifest into lp:ubuntu-app-launch/14.04
Status: | Merged |
---|---|
Approved by: | Ted Gould |
Approved revision: | 139 |
Merged at revision: | 141 |
Proposed branch: | lp:~cjwatson/ubuntu-app-launch/libclick-manifest |
Merge into: | lp:ubuntu-app-launch/14.04 |
Prerequisite: | lp:~cjwatson/ubuntu-app-launch/libclick-pkgdir |
Diff against target: |
417 lines (+83/-117) 9 files modified
CMakeLists.txt (+2/-2) debian/control (+0/-2) helpers.c (+33/-35) libupstart-app-launch/CMakeLists.txt (+1/-0) libupstart-app-launch/upstart-app-launch.c (+41/-58) tests/click (+0/-7) tests/exec-util-test.cc (+0/-4) tests/helper-test.cc (+3/-4) tests/libual-test.cc (+3/-5) |
To merge this branch: | bzr merge lp:~cjwatson/ubuntu-app-launch/libclick-manifest |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+210520@code.launchpad.net |
Commit message
Use libclick to get package manifests, saving about 0.7 seconds from Click application startup (on mako).
Description of the change
This is the other half of the work started in https:/
I've tested this manually on mako after building on porter-armhf.c.c, and run some timings. Including previous results, the median of nine runs of "time upstart-app-launch com.ubuntu.
Before any libclick work: 1.772 seconds
With libclick-pkgdir: 1.037 seconds
With libclick-pkgdir and libclick-manifest: 0.355 seconds
The combined result of my two branches is therefore a total saving of about 1.4 seconds, or about 80% of upstart-
PASSED: Continuous integration, rev:139 jenkins. qa.ubuntu. com/job/ upstart- app-launch- ci/251/ jenkins. qa.ubuntu. com/job/ upstart- app-launch- trusty- amd64-ci/ 110 jenkins. qa.ubuntu. com/job/ upstart- app-launch- trusty- armhf-ci/ 110 jenkins. qa.ubuntu. com/job/ upstart- app-launch- trusty- i386-ci/ 111
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/upstart- app-launch- ci/251/ rebuild
http://