eliminate lsb_release from chromium startup
Bug #608253 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Low
|
Fabien Tassin | ||
Lucid |
Fix Released
|
Undecided
|
Fabien Tassin |
Bug Description
Binary package hint: chromium-browser
While evaluating boot charts (on armel) I just noticed that starting chromium entails a two second I/O block where it calls lsb_release twice. lsb_release is an utterly heavy program, since it invokes Python. If I eliminate this and hardcode DISTRO and RELEASE, I can halve the startup time from 2.2 s to just over a second.
I think we should instead source /etc/lsb-release and use $DISTRIB_ID and $DISTRIB_RELEASE.
Changed in chromium-browser (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.
Chris, do you think that's a reasonable thing to do? I'm happy to work on this.