[Webkit-unassigned] [Bug 59348] New: Find large header files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 25 14:48:20 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59348
Summary: Find large header files
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: thakis at chromium.org
CC: eric at webkit.org
Approach:
0.) Get a list of all interesting header files in webkit
1.) Port http://codesearch.google.com/codesearch/p?hl=en#OAMlx_jo-ck/src/tools/include_tracer.py&q=include_tracer.py&exact_package=chromium&sa=N&cd=1&ct=rc to webkit (this gives the "effective" file size of a header file)
2.) Have some simple grep command that counts how often a given header file is included
3.) run 1 & 2 for every file in 0, sort by file_size * num_includes
4.) Look at the files at the top of this list, make them smaller / cut dependencies
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list