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

Issue 2791433004: //tools/binary_size: source_path information, change file format, fixes (Closed)

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

Description

//tools/binary_size: source_path information, change file format, fixes Main Changes: * Parse .ninja files to find source_path information. * Optimized file format for size. Hopefully should be stable(ish) now. Other Changes: * Remove .size.gz. Enforce just .size to reduce complexity. * Improved how we deal with anonymous namespaces * Improved GroupBy() functions so they group by entire namespace / path. * Handling for data symbols that have function parameters in their name. * Fixed typo in create_html_breakdown.py that made it entirely broken. BUG=681694 Review-Url: https://codereview.chromium.org/2791433004 Cr-Commit-Position: refs/heads/master@{#461491} Committed: https://chromium.googlesource.com/chromium/src/+/36752bcf4156e76c6ad0424dfa1d4cc7d38121dd

Patch Set 1 #

Patch Set 2 : Record some metadata in .size files #

Patch Set 3 : Use json in header. gzip as separate step. #

Total comments: 4

Patch Set 4 : fix comment for _DetectToolPrefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+719 lines, -252 lines) Patch
M tools/binary_size/README.md View 3 chunks +2 lines, -5 lines 0 comments Download
M tools/binary_size/console.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/binary_size/create_html_breakdown.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/binary_size/describe.py View 1 4 chunks +20 lines, -2 lines 0 comments Download
M tools/binary_size/file_format.py View 1 2 1 chunk +158 lines, -62 lines 0 comments Download
M tools/binary_size/integration_test.py View 4 chunks +19 lines, -5 lines 0 comments Download
M tools/binary_size/linker_map_parser.py View 1 6 chunks +9 lines, -7 lines 0 comments Download
M tools/binary_size/map2size.py View 1 2 3 13 chunks +107 lines, -40 lines 0 comments Download
M tools/binary_size/models.py View 1 9 chunks +167 lines, -48 lines 0 comments Download
A tools/binary_size/ninja_parser.py View 1 chunk +89 lines, -0 lines 0 comments Download
M tools/binary_size/testdata/ActualDiff.golden View 1 2 chunks +6 lines, -5 lines 0 comments Download
M tools/binary_size/testdata/ConsoleNullDiff.golden View 1 2 chunks +2 lines, -1 line 0 comments Download
M tools/binary_size/testdata/Map2Size.golden View 1 chunk +44 lines, -42 lines 0 comments Download
A tools/binary_size/testdata/SymbolGroupMethods.golden View 1 chunk +46 lines, -0 lines 0 comments Download
A tools/binary_size/testdata/build.ninja View 1 chunk +8 lines, -0 lines 0 comments Download
A tools/binary_size/testdata/sub.ninja View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/binary_size/testdata/test.map View 4 chunks +37 lines, -32 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
agrieve
Sorry for another big one. I'll try and split them into smaller chunks going forward.
3 years, 8 months ago (2017-03-30 19:48:09 UTC) #3
estevenson
lgtm https://codereview.chromium.org/2791433004/diff/40001/tools/binary_size/file_format.py File tools/binary_size/file_format.py (right): https://codereview.chromium.org/2791433004/diff/40001/tools/binary_size/file_format.py#newcode164 tools/binary_size/file_format.py:164: if os.environ.get('MEASURE_GZIP') == '1': Was this for local ...
3 years, 8 months ago (2017-04-03 18:14:30 UTC) #4
agrieve
https://codereview.chromium.org/2791433004/diff/40001/tools/binary_size/file_format.py File tools/binary_size/file_format.py (right): https://codereview.chromium.org/2791433004/diff/40001/tools/binary_size/file_format.py#newcode164 tools/binary_size/file_format.py:164: if os.environ.get('MEASURE_GZIP') == '1': On 2017/04/03 18:14:30, estevenson wrote: ...
3 years, 8 months ago (2017-04-03 18:29:44 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/2791433004/60001
3 years, 8 months ago (2017-04-03 18:30:47 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 18:50:11 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/36752bcf4156e76c6ad0424dfa1d...

Powered by Google App Engine
This is Rietveld 408576698