New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 695449 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

gcc gets 7% faster in third_party/WebKit if gc tuning is used

Project Member Reported by brat...@opera.com, Feb 23 2017

Issue description

For some reason the Document class triggers a time consuming garbage collect with gcc 5.4.0 (only one I've tried).

This was seen by compiling precompiled versions of VideoTrack.cpp with and without the Document class using the -ftime-report flag to gcc.

When Document is included the compilation takes 2.2 seconds instead of 2.0 seconds otherwise. -ftime-report says that 160ms of those 200ms is "garbage collect".

If gcc is called with --param ggc-min-expand=200 or with --param ggc-min-heapsize=256000 the gc is avoided and the compilation is 160 milliseconds faster. 

Setting a heapsize seems harmless but might of course result in a slightly higher memory usage.

Since clang is the default compiler I'm not going to do anything else but I wanted to document it before I forgot about it.
 
Components: Build

Comment 2 by brat...@opera.com, May 2 2018

Status: WontFix (was: Untriaged)
clang has been default for a while now. It is also not running at full speed, but I don't think there is anything to do here for now.

Sign in to add a comment