Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454542 - www-client/chromium should have USE=system-v8
Summary: www-client/chromium should have USE=system-v8
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 14:54 UTC by wbrana
Modified: 2013-01-31 11:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wbrana 2013-01-29 14:54:48 UTC
www-client/chromium is missing system-v8 use flag, which would allow to use statically linked v8, which is used by www-client/google-chrome
Statically linked libraries can be faster than dynamically linked.
Sunspider is 7% slower in chromium than in google-chrome.
Comment 1 wbrana 2013-01-29 19:57:09 UTC
Without custom-cflags Sunspider 0.9.1
is 12% slower on Chromium

25.0.1364.45 
Chrome 175.9ms
Chromium 196.3ms
Comment 2 wbrana 2013-01-30 13:52:37 UTC
tried to disable system v8 by removing all occurrences of v8 from ebuild
but it fails to build

make: *** No rule to make target `out/Release/obj.target/v8_base/v8/src/accessors.o', needed by `out/Release/obj.target/v8/tools/gyp/libv8_base.a'.  Stop.
make: *** Waiting for unfinished jobs....
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-01-30 15:54:17 UTC
We're going to continue using system v8.

Your benchmark results have possibly more to do with the way we compile dev-lang/v8 than the dynamic linking. After startup speed should be the same. Feel free to file a separate bug after figuring out why exactly the slowdown occurs.
Comment 4 wbrana 2013-01-30 18:25:01 UTC
Statically linked libraries are sometimes faster than dynamically linked.
app-benchmarks/nbench FOURIER is 6% faster when linked statically.

with -static
FOURIER             :           44168  :      50.23  :      28.21
without -static
FOURIER             :           41752  :      47.48  :      26.67

Do you know why chromium doesn't build without system v8?
Comment 5 Mike Gilbert gentoo-dev 2013-01-30 19:01:46 UTC
I believe we remove the v8 source files in src_prepare. Or possibly the chromium-lite tarballs do not include it.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-01-31 11:50:56 UTC
*** Bug 454720 has been marked as a duplicate of this bug. ***