1 second lag when opening URLs from the command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Low
|
Olivier Tilloy |
Bug Description
When you, or another application, attempts to open a URL in Chromium, there is a very perceptible delay: over 1 second on my modern i7/ssds/>16gb ram desktop.
e.g.
chromium-browser http://
or:
xdg-open http://
This is annoying. It doesn't happen with Chrome Stable Channel, nor with Debian's Chromium packaging. This has become significantly worse since Chromium 45.
--
I had a go at diagnosing this on the Chrome upstream bug tracker: https:/
In summary: Chromium in Ubuntu is built with dynamic linking, which is apparently a big surprise to the Chromium people, as it is known to cause issues. Specifically, just loading libraries (like `ldd -r`) takes 900ms+, instead of the <100ms expected. This doesn't show up well in Chrome tracing, as it has to happen before Chrome tracing can start.
chrome-stable:
% time ldd -r /opt/google/
81
0.02s user 0.01s system 84% cpu 0.038 total
chromium-browser from Ubuntu:
% time ldd -r /usr/lib/
201
0.89s user 0.01s system 99% cpu 0.909 total
The choice to go shared_library is only in Ubuntu (i.e. not Debian). The debian/rules file in the package contains:
147 # Do this for every architecture. More than 4GB of memory is too much to expect
148 # of builders.
149 COMPONENT_
150
151 ifeq (1,$(COMPONENT_
152 BROWSER_GYP_DEFINES += component=
153 FFMPEG_GYP_DEFINES += component=
154 endif
--
Please remove this customisation and Make opening links Great Again.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: chromium-browser 47.0.2526.
Uname: Linux 4.3.0-040300-
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Thu Dec 31 15:25:30 2015
Desktop-Session:
'xsession'
'/etc/
'/usr/
DetectedPlugins:
Env:
'None'
'None'
InstalledPlugins:
/usr/lib/
=> libgnome-
(size: 18888 bytes, mtime: Mon Oct 19 13:43:03 2015)
Load-Avg-1min: 0.55
Load-Processes-
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: chromium-browser
UpgradeStatus: Upgraded to wily on 2015-08-28 (124 days ago)
dmi.bios.date: 12/19/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1805
dmi.board.
dmi.board.name: P8Z77-V
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
gconf-keys: /desktop/
modified.
modified.
mtime.conffile.
Changed in chromium-browser (Ubuntu): | |
importance: | Undecided → Low |
Changed in chromium-browser (Ubuntu): | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.