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

Issue 2190813002: Add LC_ALL=C to gcc linker wrappers to speed up links (Closed)

Created:
4 years, 4 months ago by agrieve
Modified:
4 years, 4 months ago
CC:
chromium-reviews, Roland McGrath
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add LC_ALL=C to gcc linker wrappers to speed up links This speeds up an Android component build of libchrome.cr.so from 35s -> 10s on my z620. BUG=632230 Committed: https://crrev.com/52f2a85089d3e3a85cee112a6ee6c7423394644b Cr-Commit-Position: refs/heads/master@{#408549}

Patch Set 1 #

Total comments: 2

Patch Set 2 : target linker step onnly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M build/toolchain/gcc_link_wrapper.py View 1 2 chunks +5 lines, -2 lines 0 comments Download
M build/toolchain/gcc_solink_wrapper.py View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 29 (16 generated)
agrieve
On 2016/07/28 02:00:04, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 4 months ago (2016-07-28 02:26:52 UTC) #5
Dirk Pranke
lgtm. hopefully this is safe on mac as well ...
4 years, 4 months ago (2016-07-28 05:21:34 UTC) #8
pasko
https://codereview.chromium.org/2190813002/diff/1/build/toolchain/gcc_solink_wrapper.py File build/toolchain/gcc_solink_wrapper.py (right): https://codereview.chromium.org/2190813002/diff/1/build/toolchain/gcc_solink_wrapper.py#newcode104 build/toolchain/gcc_solink_wrapper.py:104: os.environ['LC_ALL'] = 'C' bring it back to the original ...
4 years, 4 months ago (2016-07-28 10:03:56 UTC) #9
agrieve
https://codereview.chromium.org/2190813002/diff/1/build/toolchain/gcc_solink_wrapper.py File build/toolchain/gcc_solink_wrapper.py (right): https://codereview.chromium.org/2190813002/diff/1/build/toolchain/gcc_solink_wrapper.py#newcode104 build/toolchain/gcc_solink_wrapper.py:104: os.environ['LC_ALL'] = 'C' On 2016/07/28 10:03:56, pasko wrote: > ...
4 years, 4 months ago (2016-07-28 14:14:40 UTC) #10
pasko
lgtm, thank you
4 years, 4 months ago (2016-07-28 15:33:14 UTC) #15
Roland McGrath
LC_ALL=C should be safe and conceivably a speedup for everything. The only potential downside is ...
4 years, 4 months ago (2016-07-28 18:25:28 UTC) #17
agrieve
On 2016/07/28 18:25:28, Roland McGrath wrote: > LC_ALL=C should be safe and conceivably a speedup ...
4 years, 4 months ago (2016-07-29 01:28:17 UTC) #18
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/2190813002/20001
4 years, 4 months ago (2016-07-29 01:28:44 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-29 01:32:28 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/52f2a85089d3e3a85cee112a6ee6c7423394644b Cr-Commit-Position: refs/heads/master@{#408549}
4 years, 4 months ago (2016-07-29 01:34:02 UTC) #25
Nico
That's really cool, thanks. Did we file a gold bug about this?
4 years, 4 months ago (2016-07-29 18:00:13 UTC) #27
agrieve
On 2016/07/29 18:00:13, Nico wrote: > That's really cool, thanks. Did we file a gold ...
4 years, 4 months ago (2016-08-05 20:26:27 UTC) #28
pasko
4 years, 4 months ago (2016-08-08 11:50:28 UTC) #29
Message was sent while issue was closed.
On 2016/08/05 20:26:27, agrieve wrote:
> On 2016/07/29 18:00:13, Nico wrote:
> > That's really cool, thanks. Did we file a gold bug about this?
> 
> I didn't. Just re-asked on original mailing-list thread.

Filed a bug just now: https://sourceware.org/bugzilla/show_bug.cgi?id=20447

Powered by Google App Engine
This is Rietveld 408576698