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

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed)

Created:
6 years, 3 months ago by Fabrice (no longer in Chrome)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, cc-bugs_chromium.org, erikwright+watch_chromium.org, dmikurube+memory_chromium.org, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Compile specific parts of the Android build with -O2. BUG=411909 Committed: https://crrev.com/75b3d0978299e1427b8ce49dae99eda071308c5a Cr-Commit-Position: refs/heads/master@{#295306}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comment #

Patch Set 3 : Remove test targets #

Patch Set 4 : Add GN changes #

Patch Set 5 : Rebase #

Patch Set 6 : Move gyp blocks to include file #

Patch Set 7 : Backport gpu to the new system #

Total comments: 9

Patch Set 8 : Review comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -12 lines) Patch
M base/BUILD.gn View 1 2 3 4 4 chunks +19 lines, -0 lines 0 comments Download
M base/allocator/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 6 7 6 chunks +18 lines, -2 lines 0 comments Download
M base/third_party/dynamic_annotations/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M base/third_party/dynamic_annotations/dynamic_annotations.gyp View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M base/third_party/nspr/BUILD.gn View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A build/android/increase_size_for_speed.gypi View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
M cc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 2 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M cc/surfaces/BUILD.gn View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer_service.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M skia/BUILD.gn View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 7 5 chunks +10 lines, -1 line 0 comments Download
M skia/skia_library_opts.gyp View 1 2 3 4 5 6 7 6 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 44 (3 generated)
Fabrice (no longer in Chrome)
There is a report with detailed results incoming. The tl;dr version of it being we ...
6 years, 3 months ago (2014-09-10 11:58:37 UTC) #2
Sami
Thanks Fabrice, this is great stuff. Do you have an idea about the code size ...
6 years, 3 months ago (2014-09-10 12:44:56 UTC) #3
Fabrice (no longer in Chrome)
On 2014/09/10 12:44:56, Sami wrote: > Thanks Fabrice, this is great stuff. Do you have ...
6 years, 3 months ago (2014-09-10 13:07:53 UTC) #4
Fabrice (no longer in Chrome)
I removed 2 files from the CL, as they seem to have no effect. https://codereview.chromium.org/555373004/diff/1/cc/blink/cc_blink.gyp ...
6 years, 3 months ago (2014-09-10 14:51:12 UTC) #5
Nico
Is there some page that lists which benchmarks we actually care about? We have a ...
6 years, 3 months ago (2014-09-10 14:57:04 UTC) #6
danakj
On Wed, Sep 10, 2014 at 10:57 AM, <thakis@chromium.org> wrote: > Is there some page ...
6 years, 3 months ago (2014-09-10 15:14:46 UTC) #7
brettw
This should do it for GN: if (is_android && !is_debug) { configs -= [ "//build/config/compiler:optimize" ...
6 years, 3 months ago (2014-09-10 22:55:31 UTC) #8
Fabrice (no longer in Chrome)
On 2014/09/10 22:55:31, brettw wrote: > This should do it for GN: > > if ...
6 years, 3 months ago (2014-09-12 11:29:57 UTC) #9
Nico
On Wed, Sep 10, 2014 at 7:57 AM, <thakis@chromium.org> wrote: > Is there some page ...
6 years, 3 months ago (2014-09-12 16:21:38 UTC) #10
danakj
On Fri, Sep 12, 2014 at 12:21 PM, Nico Weber <thakis@chromium.org> wrote: > On Wed, ...
6 years, 3 months ago (2014-09-12 16:38:34 UTC) #11
brettw
On Fri, Sep 12, 2014 at 4:29 AM, <fdegans@chromium.org> wrote: > FYI, with gyp, v8 ...
6 years, 3 months ago (2014-09-12 21:42:54 UTC) #12
Fabrice (no longer in Chrome)
Friendly ping everyone. Branch point is coming, I would like to push this by tomorrow ...
6 years, 3 months ago (2014-09-15 17:22:27 UTC) #13
Nico
(I've repeatedly asked a question on this CL that's so far been ignored.) On Mon, ...
6 years, 3 months ago (2014-09-15 17:23:11 UTC) #14
chromium-reviews
Dana's answered you twice. On Mon, Sep 15, 2014 at 10:23 AM, Nico Weber <thakis@chromium.org> ...
6 years, 3 months ago (2014-09-15 17:23:53 UTC) #15
Nico
Not as far as I can see: http://imgur.com/spLRte7 On Mon, Sep 15, 2014 at 10:23 ...
6 years, 3 months ago (2014-09-15 17:26:42 UTC) #16
danakj
On 2014/09/15 17:26:42, Nico (hiding) wrote: > Not as far as I can see: http://imgur.com/spLRte7 ...
6 years, 3 months ago (2014-09-15 17:27:39 UTC) #17
chromium-reviews
Hmm, Dana must be hellbanned. Oh well! On Mon, Sep 15, 2014 at 10:27 AM, ...
6 years, 3 months ago (2014-09-15 17:29:17 UTC) #18
Sami
:D In case you still want a list Nico, see here: https://sites.google.com/a/google.com/silk/home/benchmarks FWIW cc/ lgtm ...
6 years, 3 months ago (2014-09-15 17:32:35 UTC) #19
Fabrice (no longer in Chrome)
On 2014/09/15 17:23:11, Nico (hiding) wrote: > (I've repeatedly asked a question on this CL ...
6 years, 3 months ago (2014-09-15 17:56:51 UTC) #20
Nico
Thanks. Is there any plan for making sure that these settings don't bitrot? What makes ...
6 years, 3 months ago (2014-09-15 18:14:13 UTC) #21
Fabrice (no longer in Chrome)
On 2014/09/15 18:14:13, Nico (hiding) wrote: > Thanks. > > Is there any plan for ...
6 years, 3 months ago (2014-09-15 19:51:54 UTC) #22
Nico
On Mon, Sep 15, 2014 at 12:51 PM, <fdegans@chromium.org> wrote: > On 2014/09/15 18:14:13, Nico ...
6 years, 3 months ago (2014-09-15 20:00:48 UTC) #23
Fabrice (no longer in Chrome)
I think we can kill two birds with one stone. I added specific gypi file ...
6 years, 3 months ago (2014-09-16 11:10:08 UTC) #24
Fabrice (no longer in Chrome)
6 years, 3 months ago (2014-09-16 11:11:41 UTC) #26
pasko
LGTM looks even better to me with optimize_speed_template.gypi https://codereview.chromium.org/555373004/diff/120001/build/android/optimize_speed_template.gypi File build/android/optimize_speed_template.gypi (right): https://codereview.chromium.org/555373004/diff/120001/build/android/optimize_speed_template.gypi#newcode8 build/android/optimize_speed_template.gypi:8: # ...
6 years, 3 months ago (2014-09-16 11:41:34 UTC) #27
no sievers
https://codereview.chromium.org/555373004/diff/120001/gpu/gpu.gyp File gpu/gpu.gyp (right): https://codereview.chromium.org/555373004/diff/120001/gpu/gpu.gyp#newcode530 gpu/gpu.gyp:530: 'command_buffer_service.gypi', I think the change above only affects the ...
6 years, 3 months ago (2014-09-16 17:35:13 UTC) #28
Nico
lgtm, but as I said I'd name optimize_speed_template.gypi less positively. If someone sees a target ...
6 years, 3 months ago (2014-09-16 17:42:39 UTC) #29
pasko
https://codereview.chromium.org/555373004/diff/120001/gpu/gpu.gyp File gpu/gpu.gyp (right): https://codereview.chromium.org/555373004/diff/120001/gpu/gpu.gyp#newcode530 gpu/gpu.gyp:530: 'command_buffer_service.gypi', On 2014/09/16 17:42:39, Nico (hiding) wrote: > On ...
6 years, 3 months ago (2014-09-16 17:50:47 UTC) #30
no sievers
On 2014/09/16 17:50:47, pasko wrote: > https://codereview.chromium.org/555373004/diff/120001/gpu/gpu.gyp > File gpu/gpu.gyp (right): > > https://codereview.chromium.org/555373004/diff/120001/gpu/gpu.gyp#newcode530 > ...
6 years, 3 months ago (2014-09-16 18:02:06 UTC) #31
pasko
On 2014/09/16 18:02:06, sievers wrote: > > +1, I would say it is WAI, since ...
6 years, 3 months ago (2014-09-16 18:11:47 UTC) #32
no sievers
On 2014/09/16 18:11:47, pasko wrote: > On 2014/09/16 18:02:06, sievers wrote: > > > +1, ...
6 years, 3 months ago (2014-09-16 18:21:07 UTC) #33
no sievers
On 2014/09/16 18:21:07, sievers wrote: > On 2014/09/16 18:11:47, pasko wrote: > > On 2014/09/16 ...
6 years, 3 months ago (2014-09-16 18:26:19 UTC) #34
Fabrice (no longer in Chrome)
Alright, so I changed the test in the gypi file to not set -O2 when ...
6 years, 3 months ago (2014-09-16 19:17:18 UTC) #35
no sievers
lgtm. thanks! gpu/command_buffer/service/BUILD.gn already does the right thing, correct?
6 years, 3 months ago (2014-09-16 19:25:57 UTC) #36
Fabrice (no longer in Chrome)
On 2014/09/16 19:25:57, sievers wrote: > lgtm. thanks! gpu/command_buffer/service/BUILD.gn already does the right thing, > ...
6 years, 3 months ago (2014-09-16 19:29:18 UTC) #37
brettw
lgtm https://codereview.chromium.org/555373004/diff/140001/cc/BUILD.gn File cc/BUILD.gn (right): https://codereview.chromium.org/555373004/diff/140001/cc/BUILD.gn#newcode493 cc/BUILD.gn:493: if (!is_debug && (is_win || is_android)) { Can ...
6 years, 3 months ago (2014-09-16 19:35:52 UTC) #38
Fabrice (no longer in Chrome)
https://codereview.chromium.org/555373004/diff/140001/cc/BUILD.gn File cc/BUILD.gn (right): https://codereview.chromium.org/555373004/diff/140001/cc/BUILD.gn#newcode493 cc/BUILD.gn:493: if (!is_debug && (is_win || is_android)) { On 2014/09/16 ...
6 years, 3 months ago (2014-09-16 20:05:59 UTC) #39
brettw
On 2014/09/16 20:05:59, Fabrice de Gans wrote: > https://codereview.chromium.org/555373004/diff/140001/cc/BUILD.gn > File cc/BUILD.gn (right): > > ...
6 years, 3 months ago (2014-09-16 20:34:17 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/555373004/140001
6 years, 3 months ago (2014-09-17 17:25:48 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 1288aac95a27680d4fe5f2dbff5222806e32bfc5
6 years, 3 months ago (2014-09-17 18:36:03 UTC) #43
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 18:36:39 UTC) #44
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/75b3d0978299e1427b8ce49dae99eda071308c5a
Cr-Commit-Position: refs/heads/master@{#295306}

Powered by Google App Engine
This is Rietveld 408576698