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

Issue 6873034: Add a tool that estimates the size of a file after all #includes have been resolved. (Closed)

Created:
9 years, 8 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, tfarina, tonyg, Robert Sesek, Elliot Glaysher
Visibility:
Public.

Description

Add a tool that estimates the size of a file after all #includes have been resolved. This is meant to be used mostly to measure how much IWYU saves on some files, so that we can brag about it. Based on an almost identical script by jyrki@google.com (Jyrki Alakuijala) BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82006

Patch Set 1 #

Patch Set 2 : -Is #

Total comments: 6

Patch Set 3 : comments #

Total comments: 4

Patch Set 4 : more comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -0 lines) Patch
A tools/include_tracer.py View 1 2 3 1 chunk +199 lines, -0 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
Nico
Is this useful? cc'ing folks who might care about this. I learned that browser.h is ...
9 years, 8 months ago (2011-04-18 21:00:31 UTC) #1
Nico
(forgot some ccs)
9 years, 8 months ago (2011-04-18 21:01:38 UTC) #2
James Hawkins
On 2011/04/18 21:01:38, Nico wrote: > (forgot some ccs) I do think this is useful. ...
9 years, 8 months ago (2011-04-18 21:04:06 UTC) #3
Evan Martin
There's little harm in checking it in, right? Better than losing it... http://codereview.chromium.org/6873034/diff/3/tools/include_tracer.py File tools/include_tracer.py ...
9 years, 8 months ago (2011-04-18 21:05:55 UTC) #4
Nico
http://codereview.chromium.org/6873034/diff/3/tools/include_tracer.py File tools/include_tracer.py (right): http://codereview.chromium.org/6873034/diff/3/tools/include_tracer.py#newcode2 tools/include_tracer.py:2: # Copyright 2011 Google Inc. On 2011/04/18 21:05:55, Evan ...
9 years, 8 months ago (2011-04-18 21:20:23 UTC) #5
Evan Martin
LGTM minus sort-headers http://codereview.chromium.org/6873034/diff/4002/tools/include_tracer.py File tools/include_tracer.py (right): http://codereview.chromium.org/6873034/diff/4002/tools/include_tracer.py#newcode2 tools/include_tracer.py:2: # Copyright (c) 2010 The Chromium ...
9 years, 8 months ago (2011-04-18 21:46:47 UTC) #6
Nico
reverted the sort-headers change http://codereview.chromium.org/6873034/diff/4002/tools/include_tracer.py File tools/include_tracer.py (right): http://codereview.chromium.org/6873034/diff/4002/tools/include_tracer.py#newcode2 tools/include_tracer.py:2: # Copyright (c) 2010 The ...
9 years, 8 months ago (2011-04-18 21:54:28 UTC) #7
Evan Martin
On 2011/04/18 21:54:28, Nico wrote: > I opened this file to copy the license header, ...
9 years, 8 months ago (2011-04-18 21:55:12 UTC) #8
viettrungluu
http://codereview.chromium.org/6873034/diff/5006/tools/include_tracer.py File tools/include_tracer.py (right): http://codereview.chromium.org/6873034/diff/5006/tools/include_tracer.py#newcode197 tools/include_tracer.py:197: bytes = Walk(set(), sys.argv[1], '', 0) Is it so ...
9 years, 8 months ago (2011-04-19 00:16:30 UTC) #9
Nico
9 years, 8 months ago (2011-04-19 00:18:53 UTC) #10
On Mon, Apr 18, 2011 at 5:16 PM,  <viettrungluu@chromium.org> wrote:
>
> http://codereview.chromium.org/6873034/diff/5006/tools/include_tracer.py
> File tools/include_tracer.py (right):
>
>
http://codereview.chromium.org/6873034/diff/5006/tools/include_tracer.py#newc...
> tools/include_tracer.py:197: bytes = Walk(set(), sys.argv[1], '', 0)
> Is it so hard to iterate over the arguments, so people can use
> command-line globbing?

I don't think the output is useful for more than 1 file.

Powered by Google App Engine
This is Rietveld 408576698