tools/perf/experimental/representative_perf_test_limit_adjuster/adjust_upper_limits.py
def CreateDataframe(benchmark, tags, limit):
  """Creates the dataframe of values recorded in recent runs.

  Given the tags, benchmark this function fetches the data of last {limit}
  runs, and returns a dataframe of values for focused metrics such as
  frame_times and CPU_wall_time_ratio.

  Args:
    benchmark: The benchmark these task are on (desktop/mobile).
    tags: The tags which describe the tasks such as OS and buildername.
    limit: The number of runs to look at.

  Returns:
    A dataframe with averages and confidence interval of frame_times, and
    average value of CPU_wall_time_ratio of each story of each run.
  """
  items = []
  for tag_set in tags:
    items.extend(FetchItemIds(tag_set, limit))

  dfs = []
  try:
    temp_dir = tempfile.mkdtemp('perf_csvs')
    for idx, item in enumerate(items):
      dfs.append(FetchItemData(item['task_id'], benchmark, idx, temp_dir))
      idx += 1
  finally:
    shutil.rmtree(temp_dir)
  return pandas.concat(dfs, ignore_index=True)
Creates the dataframe of values recorded in recent runs.

  Given the tags, benchmark this function fetches the data of last {limit}
  runs, and returns a dataframe of values for focused metrics such as
  frame_times and CPU_wall_time_ratio.

  Args:
    benchmark: The benchmark these task are on (desktop/mobile).
    tags: The tags which describe the tasks such as OS and buildername.
    limit: The number of runs to look at.

  Returns:
    A dataframe with averages and confidence interval of frame_times, and
    average value of CPU_wall_time_ratio of each story of each run.
  
Creates the dataframe of values recorded in recent runs.
Given the tags, benchmark this function fetches the data of last {limit}
runs, and returns a dataframe of values for focused metrics such as
frame_times and CPU_wall_time_ratio.
Creates the dataframe of values recorded in recent runs . Given the tags benchmark this function fetches the data of last { limit } runs and returns a dataframe of values for focused metrics such as frame_times and CPU_wall_time_ratio .
def CreateDataframe(benchmark, tags, limit):
  items = []
  for tag_set in tags:
    items.extend(FetchItemIds(tag_set, limit))
  dfs = []
  try:
    temp_dir = tempfile.mkdtemp('perf_csvs')
    for idx, item in enumerate(items):
      dfs.append(FetchItemData(item['task_id'], benchmark, idx, temp_dir))
      idx += 1
  finally:
    shutil.rmtree(temp_dir)
  return pandas.concat(dfs, ignore_index=True)
def CreateDataframe ( benchmark , tags , limit ) : items = [ ] for tag_set in tags : items . extend ( FetchItemIds ( tag_set , limit ) ) dfs = [ ] try : temp_dir = tempfile . mkdtemp ( 'perf_csvs' ) for idx , item in enumerate ( items ) : dfs . append ( FetchItemData ( item [ 'task_id' ] , benchmark , idx , temp_dir ) ) idx += 1 finally : shutil . rmtree ( temp_dir ) return pandas . concat ( dfs , ignore_index = True )
Creates the dataframe of values recorded in recent runs.
Creates the dataframe of values recorded in recent runs .
"""Creates the dataframe of values recorded in recent runs.

  Given the tags, benchmark this function fetches the data of last {limit}
  runs, and returns a dataframe of values for focused metrics such as
  frame_times and CPU_wall_time_ratio.

  Args:
    benchmark: The benchmark these task are on (desktop/mobile).
    tags: The tags which describe the tasks such as OS and buildername.
    limit: The number of runs to look at.

  Returns:
    A dataframe with averages and confidence interval of frame_times, and
    average value of CPU_wall_time_ratio of each story of each run.
  """
A dataframe with averages and confidence interval of frame_times, and
average value of CPU_wall_time_ratio of each story of each run.
A dataframe with averages and confidence interval of frame_times and average value of CPU_wall_time_ratio of each story of each run .
benchmark
The benchmark these task are on (desktop/mobile).
The benchmark these task are on ( desktop / mobile ) .
tags
The tags which describe the tasks such as OS and buildername.
The tags which describe the tasks such as OS and buildername .
limit
The number of runs to look at.
The number of runs to look at .