Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Issue 2963693002: Stop building the gold plugin and linking lld against tcmalloc. (Closed)

Created:
3 years, 5 months ago by pcc1
Modified:
3 years, 5 months ago
Reviewers:
hans, Nico
CC:
chromium-reviews, eugenis+clang_chromium.org, vmpstr+watch_chromium.org, Lei Zhang, dsinclair, yunlian, glider+clang_chromium.org, Nico, ukai+watch_chromium.org, Reid Kleckner, hans, dmikurube+clang_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop building the gold plugin and linking lld against tcmalloc. As far as I am aware, there are no remaining users of the gold plugin (v8, the last user I am aware of, stopped downloading it as part of its build in https://chromium-review.googlesource.com/547058 and removed build support in https://chromium-review.googlesource.com/549300), so we no longer need to build it. Also, now that we have started using ThinLTO in official builds, not only is the perf gain of linking lld against tcmalloc not as important, but I have also measured it to be smaller in relative terms. For base_unittests: With tcmalloc (median of 6): 42.29s With glibc malloc: 44.61s So about 5%, which is about half of what I measured for regular LTO. And of course the absolute delta is smaller as well. I think that justifies removing it. We can re-evaluate for the toolchain as a whole at a later time. BUG=607968 R=thakis@chromium.org,hans@chromium.org Review-Url: https://codereview.chromium.org/2963693002 Cr-Commit-Position: refs/heads/master@{#483149} Committed: https://chromium.googlesource.com/chromium/src/+/6489fe94c6edc435f5f0b291032c0e8883212afd

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -91 lines) Patch
M docs/updating_clang.md View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/clang/scripts/package.py View 6 chunks +3 lines, -28 lines 0 comments Download
M tools/clang/scripts/update.py View 1 9 chunks +34 lines, -61 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
pcc1
3 years, 5 months ago (2017-06-28 01:17:50 UTC) #1
Nico
Nice! lgtm https://codereview.chromium.org/2963693002/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/2963693002/diff/1/tools/clang/scripts/update.py#newcode37 tools/clang/scripts/update.py:37: CLANG_SUB_REVISION=2 Be sure to push the new ...
3 years, 5 months ago (2017-06-28 15:07:00 UTC) #2
pcc1
https://codereview.chromium.org/2963693002/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/2963693002/diff/1/tools/clang/scripts/update.py#newcode547 tools/clang/scripts/update.py:547: '-DCMAKE_RANLIB=' + ranlib, On 2017/06/28 15:06:59, Nico (vacation Jun ...
3 years, 5 months ago (2017-06-28 17:46:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2963693002/20001
3 years, 5 months ago (2017-06-28 21:27:12 UTC) #10
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 21:31:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6489fe94c6edc435f5f0b291032c...

Powered by Google App Engine
This is Rietveld 408576698