src/build/lacros/lacros_resource_sizes.py
def _run_resource_sizes(args):
  """Main flow to extract and output size data."""
  chartjson = _BASE_CHART.copy()
  for item in _TRACKED_ITEMS:
    total_size = _get_total_pathsize(args.out_dir, item.paths)
    perf_tests_results_helper.ReportPerfResult(chart_data=chartjson,
                                               graph_title=item.title,
                                               trace_title='size',
                                               value=total_size,
                                               units='bytes')
  _dump_chart_json(args.output_dir, chartjson)
Main flow to extract and output size data.
Main flow to extract and output size data.
Main flow to extract and output size data .
def _run_resource_sizes(args):
  chartjson = _BASE_CHART.copy()
  for item in _TRACKED_ITEMS:
    total_size = _get_total_pathsize(args.out_dir, item.paths)
    perf_tests_results_helper.ReportPerfResult(chart_data=chartjson,
                                               graph_title=item.title,
                                               trace_title='size',
                                               value=total_size,
                                               units='bytes')
  _dump_chart_json(args.output_dir, chartjson)
def _run_resource_sizes ( args ) : chartjson = _BASE_CHART . copy ( ) for item in _TRACKED_ITEMS : total_size = _get_total_pathsize ( args . out_dir , item . paths ) perf_tests_results_helper . ReportPerfResult ( chart_data = chartjson , graph_title = item . title , trace_title = 'size' , value = total_size , units = 'bytes' ) _dump_chart_json ( args . output_dir , chartjson )
Main flow to extract and output size data.
Main flow to extract and output size data .
"""Main flow to extract and output size data."""
args