tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
def WriteBrowserBenchmarkResults(self, test_name, test_data):
    "Insert a row with single test results"
    row = []
    for prop in test_props:
      if not row:
        row.append(test_name)
      else:
        row.append('')
      row.extend([str(x) for x in test_data[prop]])
      row.append(str(sum(test_data[prop]) / len(test_data[prop])))
    self._InsertRow(row)
Insert a row with single test results
Insert a row with single test results
Insert a row with single test results
def WriteBrowserBenchmarkResults(self, test_name, test_data):
    row = []
    for prop in test_props:
      if not row:
        row.append(test_name)
      else:
        row.append('')
      row.extend([str(x) for x in test_data[prop]])
      row.append(str(sum(test_data[prop]) / len(test_data[prop])))
    self._InsertRow(row)
def WriteBrowserBenchmarkResults ( self , test_name , test_data ) : row = [ ] for prop in test_props : if not row : row . append ( test_name ) else : row . append ( '' ) row . extend ( [ str ( x ) for x in test_data [ prop ] ] ) row . append ( str ( sum ( test_data [ prop ] ) / len ( test_data [ prop ] ) ) ) self . _InsertRow ( row )
Insert a row with single test results
Insert a row with single test results
"Insert a row with single test results"
self
test_name
test_data