• 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."""
16 # This should be the stripped file from
44 print 'Report by file, then by symbol with ellided/combined templates'
45 lines = subprocess.check_output([bloaty_path, stripped_file,
46 '-d', 'compileunits,symbols', '-s', 'file',
47 '-n', '0', '--tsv', '--demangle=short',
48 '--debug-file=%s' % symbols_file])
49 grand_total = print_skia_lines_file_symbol(lines)
51 print 'Report by file, then by symbol with full templates'
52 lines = subprocess.check_output([bloaty_path, stripped_file,
53 '-d', 'compileunits,symbols', '-s', 'file',
54 '-n', '0', '--tsv', '--demangle=full',
55 '--debug-file=%s' % symbols_file])
56 print_skia_lines_file_symbol(lines)
59 print 'Report by symbol, then by file with ellided/combined templates'
60 lines = subprocess.check_output([bloaty_path, stripped_file,
61 '-d', 'symbols,compileunits', '-s', 'file',
62 '-n', '0', '--tsv', '--demangle=short',
63 '--debug-file=%s' % symbols_file])
64 print_skia_lines_symbol_file(lines)
67 print 'Report by symbol, then by file with full templates'
68 lines = subprocess.check_output([bloaty_path, stripped_file,
69 '-d', 'symbols,compileunits', '-s', 'file',
70 '-n', '0', '--tsv', '--demangle=full',
71 '--debug-file=%s' % symbols_file])
72 print_skia_lines_symbol_file(lines)
99 def print_skia_lines_file_symbol(lines): argument
100 lines = lines.split('\n')
105 for line in lines:
107 # ../../third_party/skia/src/file.cpp\tSkTSect<>::intersects()\t1224\t1348
122 print '\t%-100s: %s' % ('Total File Size', bytes_or_kb(sub_total))
127 print '\t%-100s: %s' % (symbol, bytes_or_kb(filesize))
131 print '\t%-100s: %s' % ('Total File Size', bytes_or_kb(sub_total))
133 print 'Grand Total File Size: %s' % bytes_or_kb(grand_total)
137 def print_skia_lines_symbol_file(lines): argument
138 lines = lines.split('\n')
140 for line in lines:
142 # SkTSect<>::intersects()\t../../third_party/skia/src/file.cpp\t1224\t1348
156 print '%-10s: %-80s in %s' % (bytes_or_kb(filesize), symbol, this_file)