• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:file +full:- +full:lines

2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 """Writes a Perf-formated json file with stats about Skia's size in flutter."""
17 # This should be the stripped file from
47 print('Report by file, then by symbol with ellided/combined templates')
48 lines = subprocess.check_output([bloaty_path, stripped_file,
49 '-d', 'compileunits,symbols', '-s', 'file',
50 '-n', '0', '--tsv', '--demangle=short',
51 '--debug-file=%s' % symbols_file])
52 grand_total = print_skia_lines_file_symbol(lines)
54 print('Report by file, then by symbol with full templates')
55 lines = subprocess.check_output([bloaty_path, stripped_file,
56 '-d', 'compileunits,symbols', '-s', 'file',
57 '-n', '0', '--tsv', '--demangle=full',
58 '--debug-file=%s' % symbols_file])
59 print_skia_lines_file_symbol(lines)
62 print('Report by symbol, then by file with ellided/combined templates')
63 lines = subprocess.check_output([bloaty_path, stripped_file,
64 '-d', 'symbols,compileunits', '-s', 'file',
65 '-n', '0', '--tsv', '--demangle=short',
66 '--debug-file=%s' % symbols_file])
67 print_skia_lines_symbol_file(lines)
70 print('Report by symbol, then by file with full templates')
71 lines = subprocess.check_output([bloaty_path, stripped_file,
72 '-d', 'symbols,compileunits', '-s', 'file',
73 '-n', '0', '--tsv', '--demangle=full',
74 '--debug-file=%s' % symbols_file])
75 print_skia_lines_symbol_file(lines)
101 def print_skia_lines_file_symbol(lines): argument
102 lines = lines.split('\n')
107 for line in lines:
109 # ../../third_party/skia/src/file.cpp\tSkTSect<>::intersects()\t1224\t1348
124 print('\t%-100s: %s' % ('Total File Size', bytes_or_kb(sub_total)))
129 print('\t%-100s: %s' % (symbol, bytes_or_kb(filesize)))
133 print('\t%-100s: %s' % ('Total File Size', bytes_or_kb(sub_total)))
135 print('Grand Total File Size: %s' % bytes_or_kb(grand_total))
139 def print_skia_lines_symbol_file(lines): argument
140 lines = lines.split('\n')
142 for line in lines:
144 # SkTSect<>::intersects()\t../../third_party/skia/src/file.cpp\t1224\t1348
158 print('%-10s: %-80s in %s' % (bytes_or_kb(filesize), symbol, this_file))