tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
def PrepareSpreadsheet(self, run_count):
    """Update cells in worksheet topmost row with service information.

    Calculate column count corresponding to run_count and create worksheet
    column titles [c0, c1, ...] in the topmost row to speed up spreadsheet
    updates (it allows to insert a whole row with a single request)
    """

    # Calculate the number of columns we need to present all test results.
    self.columns_count = (run_count + 2) * len(test_props)
    if self.columns_count > max_spreadsheet_columns:
      # Google spreadsheet has just max_spreadsheet_columns columns.
      max_run_count = max_spreadsheet_columns / len(test_props) - 2
      raise Exception('maximum run count is %i' % max_run_count)
    # Create worksheet column titles [c0, c1, ..., cn].
    for i in xrange(self.columns_count):
      self.gd_client.UpdateCell(1, i + 1, 'c' + str(i), self.spreadsheet_key,
                                self.worksheet_key)
Update cells in worksheet topmost row with service information.

    Calculate column count corresponding to run_count and create worksheet
    column titles [c0, c1, ...] in the topmost row to speed up spreadsheet
    updates (it allows to insert a whole row with a single request)
    
Update cells in worksheet topmost row with service information.
Calculate column count corresponding to run_count and create worksheet
column titles [c0, c1, ...] in the topmost row to speed up spreadsheet
updates (it allows to insert a whole row with a single request)
Update cells in worksheet topmost row with service information . Calculate column count corresponding to run_count and create worksheet column titles [ c0 c1 ... ] in the topmost row to speed up spreadsheet updates ( it allows to insert a whole row with a single request )
def PrepareSpreadsheet(self, run_count):
    self.columns_count = (run_count + 2) * len(test_props)
    if self.columns_count > max_spreadsheet_columns:
      max_run_count = max_spreadsheet_columns / len(test_props) - 2
      raise Exception('maximum run count is %i' % max_run_count)
    for i in xrange(self.columns_count):
      self.gd_client.UpdateCell(1, i + 1, 'c' + str(i), self.spreadsheet_key,
                                self.worksheet_key)
def PrepareSpreadsheet ( self , run_count ) : self . columns_count = ( run_count + 2 ) * len ( test_props ) if self . columns_count > max_spreadsheet_columns : max_run_count = max_spreadsheet_columns / len ( test_props ) - 2 raise Exception ( 'maximum run count is %i' % max_run_count ) for i in xrange ( self . columns_count ) : self . gd_client . UpdateCell ( 1 , i + 1 , 'c' + str ( i ) , self . spreadsheet_key , self . worksheet_key )
Update cells in worksheet topmost row with service information.
Update cells in worksheet topmost row with service information .
"""Update cells in worksheet topmost row with service information.

    Calculate column count corresponding to run_count and create worksheet
    column titles [c0, c1, ...] in the topmost row to speed up spreadsheet
    updates (it allows to insert a whole row with a single request)
    """ # Calculate the number of columns we need to present all test results. # Google spreadsheet has just max_spreadsheet_columns columns. # Create worksheet column titles [c0, c1, ..., cn].
self
run_count