tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
def ProcessBrowserPostData(self, data):
    "Convert dromaeo test results in internal format"
    tests = json.loads(data[0])
    for test in tests:
      test_name = test['name']
      if test_name not in self.data:
        # Test is encountered for the first time.
        self.data[test_name] = dict([(prop, []) for prop in test_props])
      # Append current run results.
      for prop in test_props:
        value = -1
        if prop in test: value = test[prop] # workaround for Opera 10.5
        self.data[test_name][prop].append(value)
Convert dromaeo test results in internal format
Convert dromaeo test results in internal format
Convert dromaeo test results in internal format
def ProcessBrowserPostData(self, data):
    tests = json.loads(data[0])
    for test in tests:
      test_name = test['name']
      if test_name not in self.data:
        self.data[test_name] = dict([(prop, []) for prop in test_props])
      for prop in test_props:
        value = -1
        if prop in test: value = test[prop] 
        self.data[test_name][prop].append(value)
def ProcessBrowserPostData ( self , data ) : tests = json . loads ( data [ 0 ] ) for test in tests : test_name = test [ 'name' ] if test_name not in self . data : self . data [ test_name ] = dict ( [ ( prop , [ ] ) for prop in test_props ] ) for prop in test_props : value = - 1 if prop in test : value = test [ prop ] self . data [ test_name ] [ prop ] . append ( value )
Convert dromaeo test results in internal format
Convert dromaeo test results in internal format
"Convert dromaeo test results in internal format" # Test is encountered for the first time. # Append current run results. # workaround for Opera 10.5
self
data