tools/fuchsia/comparative_tester/generate_perf_report.py
def LineFromList(lines: List[ResultLine]) -> LineStats:
  """Takes a list of ResultLines and generates statistics for them.

  Args:
    lines (List[ResultLine]): The list of lines to generate stats for.

  Returns:
    LineStats: the representation of statistical data for the lines.
  """

  desc = lines[0].desc
  unit = lines[0].unit
  times = [line.meas for line in lines]
  avg, dev, cv = GenStats(times)
  return LineStats(desc, unit, avg, dev, cv, len(lines))
Takes a list of ResultLines and generates statistics for them.

  Args:
    lines (List[ResultLine]): The list of lines to generate stats for.

  Returns:
    LineStats: the representation of statistical data for the lines.
  
Takes a list of ResultLines and generates statistics for them.
Takes a list of ResultLines and generates statistics for them .
def LineFromList(lines: List[ResultLine]) -> LineStats:
  desc = lines[0].desc
  unit = lines[0].unit
  times = [line.meas for line in lines]
  avg, dev, cv = GenStats(times)
  return LineStats(desc, unit, avg, dev, cv, len(lines))
def LineFromList ( lines : List [ ResultLine ] ) -> LineStats : desc = lines [ 0 ] . desc unit = lines [ 0 ] . unit times = [ line . meas for line in lines ] avg , dev , cv = GenStats ( times ) return LineStats ( desc , unit , avg , dev , cv , len ( lines ) )
Takes a list of ResultLines and generates statistics for them.
Takes a list of ResultLines and generates statistics for them .
"""Takes a list of ResultLines and generates statistics for them.

  Args:
    lines (List[ResultLine]): The list of lines to generate stats for.

  Returns:
    LineStats: the representation of statistical data for the lines.
  """
the representation of statistical data for the lines.
the representation of statistical data for the lines .
LineStats
lines
List[ResultLine]
The list of lines to generate stats for.
The list of lines to generate stats for .