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

Issue 2769933002: V2 of //tools/binary_size rewrite (diffs). (Closed)

Created:
3 years, 9 months ago by agrieve
Modified:
3 years, 9 months ago
Reviewers:
estevenson
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

V2 of //tools/binary_size rewrite (diffs). Renames: analyze.py -> map2size.py symbols.py -> models.py query.py -> console.py mapfileparser.py -> linker_map_parser.py Main features: * Removes explain_binary_size_delta.py in favour of console.py. * Ability to diff two .size results. * Many improvements to console.py. * Added some integration tests. BUG=681694 Review-Url: https://codereview.chromium.org/2769933002 Cr-Commit-Position: refs/heads/master@{#459878} Committed: https://chromium.googlesource.com/chromium/src/+/35ed9edd145d324bdec5c10a1f99c5863b93b775

Patch Set 1 #

Patch Set 2 : integration tests #

Patch Set 3 : __add__, __sub__ #

Total comments: 3

Patch Set 4 : self-review #

Total comments: 8

Patch Set 5 : Add PrintStats to tests. #

Patch Set 6 : Add ninja to readme #

Total comments: 4

Patch Set 7 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1385 lines, -2316 lines) Patch
M tools/binary_size/README.md View 1 2 3 4 5 6 2 chunks +17 lines, -15 lines 0 comments Download
D tools/binary_size/analyze.py View 1 chunk +0 lines, -356 lines 0 comments Download
D tools/binary_size/binary_size_utils.py View 1 chunk +0 lines, -71 lines 0 comments Download
A tools/binary_size/console.py View 1 2 3 4 5 6 1 chunk +189 lines, -0 lines 0 comments Download
M tools/binary_size/create_html_breakdown.py View 1 2 7 chunks +20 lines, -17 lines 0 comments Download
A tools/binary_size/describe.py View 1 2 3 4 1 chunk +139 lines, -0 lines 0 comments Download
D tools/binary_size/explain_binary_size_delta.py View 1 chunk +0 lines, -484 lines 0 comments Download
D tools/binary_size/explain_binary_size_delta_unittest.py View 1 chunk +0 lines, -621 lines 0 comments Download
A tools/binary_size/file_format.py View 1 2 3 4 1 chunk +85 lines, -0 lines 0 comments Download
M tools/binary_size/function_signature_test.py View 1 1 chunk +0 lines, -1 line 0 comments Download
M tools/binary_size/helpers.py View 1 2 chunks +2 lines, -3 lines 0 comments Download
A tools/binary_size/integration_test.py View 1 2 3 4 1 chunk +114 lines, -0 lines 0 comments Download
A + tools/binary_size/linker_map_parser.py View 1 2 3 4 5 6 7 chunks +39 lines, -37 lines 0 comments Download
A + tools/binary_size/map2size.py View 1 2 3 4 5 6 8 chunks +55 lines, -163 lines 0 comments Download
D tools/binary_size/mapfileparser.py View 1 chunk +0 lines, -207 lines 0 comments Download
A tools/binary_size/models.py View 1 2 3 4 5 6 1 chunk +401 lines, -0 lines 0 comments Download
D tools/binary_size/query.py View 1 chunk +0 lines, -134 lines 0 comments Download
D tools/binary_size/symbols.py View 1 chunk +0 lines, -207 lines 0 comments Download
A tools/binary_size/testdata/ActualDiff.golden View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A tools/binary_size/testdata/ConsoleNullDiff.golden View 1 1 chunk +11 lines, -0 lines 0 comments Download
A tools/binary_size/testdata/Map2Size.golden View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A tools/binary_size/testdata/test.map View 1 1 chunk +251 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
agrieve
https://codereview.chromium.org/2769933002/diff/40001/tools/binary_size/file_format.py File tools/binary_size/file_format.py (right): https://codereview.chromium.org/2769933002/diff/40001/tools/binary_size/file_format.py#newcode1 tools/binary_size/file_format.py:1: # Copyright 2017 The Chromium Authors. All rights reserved. ...
3 years, 9 months ago (2017-03-24 16:43:52 UTC) #3
estevenson
lgtm! https://codereview.chromium.org/2769933002/diff/60001/tools/binary_size/console.py File tools/binary_size/console.py (right): https://codereview.chromium.org/2769933002/diff/60001/tools/binary_size/console.py#newcode128 tools/binary_size/console.py:128: 'Variables: %s' % ', '.join(variables), Most using this ...
3 years, 9 months ago (2017-03-27 17:50:41 UTC) #4
agrieve
Thanks for the thorough review. You found two real bugs! https://codereview.chromium.org/2769933002/diff/60001/tools/binary_size/console.py File tools/binary_size/console.py (right): https://codereview.chromium.org/2769933002/diff/60001/tools/binary_size/console.py#newcode128 ...
3 years, 9 months ago (2017-03-27 19:47:22 UTC) #5
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/2769933002/120001
3 years, 9 months ago (2017-03-27 19:48:19 UTC) #8
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/35ed9edd145d324bdec5c10a1f99c5863b93b775
3 years, 9 months ago (2017-03-27 21:14:30 UTC) #11
agrieve
3 years, 8 months ago (2017-03-28 13:50:25 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2778963003/ by agrieve@chromium.org.

The reason for reverting is: Typo'ed in final set of review comments :(.

Powered by Google App Engine
This is Rietveld 408576698