My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 9350: Investigate compiler optimization flags for improving performance
12 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2010
Cc:  de...@chromium.org, jamesr@chromium.org

Restricted
  • Only users with Commit permission may comment.


Sign in to add a comment
 
Project Member Reported by evan@chromium.org, Mar 26, 2009
We're not looking at perf yet, but once we do there are many tricks we can
do.  I'll use this bug as a dumping ground for them.

LWN -- Optimizing Linker Load Times  http://lwn.net/Articles/192624/ 
Apr 8, 2009
#1 j...@chromium.org
(No comment was entered for this change.)
Labels: Mstone-Linux
Apr 9, 2009
#2 j...@chromium.org
(No comment was entered for this change.)
Labels: -Area-DevTools Area-Infrastructure
May 4, 2009
#3 j...@chromium.org
Removing the mstone:Linux label which is no longer used.  The new 
mstone:LinuxBeta label indicates issues which should be resolved before the 
release of the Linux build to the beta channel.  There is also a 
mstone:LinuxDev label for issues that should be resolved before the release 
of the build to testers and then the dev channel.

The initial assignment was based on the priority.  The entire list should 
be triaged to insure things are in the right bucket.
Labels: mstoneLinuxBeta
May 4, 2009
#4 j...@chromium.org
(No comment was entered for this change.)
Labels: -mstoneLinuxBeta Mstone-LinuxBeta
Jun 16, 2009
#5 thestig@chromium.org
Is the startup_tests an appropriate benchmark for this? The article mentioned
optimizing linking can be expensive, so perhaps it would be something we only enable
on official builds.
Jun 17, 2009
#6 evan@chromium.org
Yeah, I think if anything this should affect startup.

(We need a test that also involves dropping the disk cache before running, since 
otherwise we're just testing in-memory perf...)
Jun 22, 2009
#7 evan@chromium.org
http://ridiculousfish.com/blog/archives/2009/06/22/i-didnt-order-that-so-why-is-it-on-
my-bill-episode-1/ discusses -fvisibility-inlines-hidden
Cc: de...@chromium.org
Jul 7, 2009
#8 mikesm...@chromium.org
Can you look into this, please? Thanks
Status: Assigned
Owner: thes...@chromium.org
Jul 17, 2009
#9 evan@chromium.org
Unassigning because assigning to thestig didn't really make sense.
Status: Available
Owner: ---
Jul 20, 2009
#10 thestig@chromium.org
In my unscientific StartupTest.PerfCold test, -Wl,-O1 and -Wl,--hash-style=gnu were
comparable, both about 10% faster.
Aug 24, 2009
#11 daniel.r...@gmail.com
Did they bloat the executable any?
If not, let's pick one, check it in, and see how the official perf bot likes it...

Sep 1, 2009
#12 evan@chromium.org
Rearranging bugs to eliminate LinuxBeta label.
Labels: -Mstone-LinuxBeta ReleaseBlock-Beta Mstone-4
Sep 2, 2009
#13 evan@chromium.org
Demoting bugs that wouldn't block a beta release.
Labels: -ReleaseBlock-Beta
Oct 13, 2009
#14 j...@chromium.org
Moving this out of mstone-4 and into mstone-5 after talking to the Linux 
team.
Labels: -mstone-4 mstone-5
Dec 18, 2009
#15 mal.chromium@gmail.com
(No comment was entered for this change.)
Labels: -Area-Infrastructure Area-BuildTools
Mar 17, 2010
#16 nsylv...@chromium.org
(No comment was entered for this change.)
Labels: -mstone-5 Mstone-X
Apr 1, 2010
#17 evan@chromium.org
(No comment was entered for this change.)
Cc: jam...@chromium.org
Apr 1, 2010
#18 jamesr@chromium.org
Switching from -O2 to -O3 in common.gypi grew the stripped size of the 'chrome' binary by 4%, which doesn't 
seem too bad.  I haven't checked the perf impact yet.
Aug 6, 2010
#19 evan@chromium.org
The original article discusses a few different things.

-Wl,O1: this seems to help in my local testing, http://i.imgur.com/VvQsP.png
I committed the change.

--hash-style=gnu: this seems to be the default on the gccs I could find (hardy and later -- well, hardy does hash-style=both which includes gnu-style AFAICT).

I later posted about -fvisibility-inlines-hidden, which is already on in the tree.

That covers everything reported here.  I think in the future I should make bugs more specific, like "see if hash-style=gnu helps", to make them easier to close.

Status: Fixed
Mar 18, 2011
#20 lafo...@chromium.org
(No comment was entered for this change.)
Labels: -Area-BuildTools bulkmove Area-Build
Oct 12, 2012
#21 bugdroid1@chromium.org
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Labels: Restrict-AddIssueComment-Commit
Mar 9, 2013
#22 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Area-Build Build
Sign in to add a comment

Powered by Google Project Hosting