webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
webkitpy.benchmark_runner.benchmark_results.BenchmarkResults Class Reference
Inheritance diagram for webkitpy.benchmark_runner.benchmark_results.BenchmarkResults:

Public Member Functions

def __init__ (self, results)
 
def format (self, scale_unit=True)
 

Static Public Attributes

dictionary aggregators
 
dictionary metric_to_unit
 
list SI_prefixes = ['n', 'u', 'm', '', 'K', 'M', 'G', 'T', 'P', 'E']
 

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.benchmark_runner.benchmark_results.BenchmarkResults.__init__ (   self,
  results 
)

Member Function Documentation

◆ format()

def webkitpy.benchmark_runner.benchmark_results.BenchmarkResults.format (   self,
  scale_unit = True 
)

Member Data Documentation

◆ aggregators

dictionary webkitpy.benchmark_runner.benchmark_results.BenchmarkResults.aggregators
static
Initial value:
= {
'Total': (lambda values: sum(values)),
'Arithmetic': (lambda values: sum(values) / len(values)),
'Geometric': (lambda values: math.exp(sum(map(math.log, values)) / len(values))),
}

◆ metric_to_unit

dictionary webkitpy.benchmark_runner.benchmark_results.BenchmarkResults.metric_to_unit
static
Initial value:
= {
'FrameRate': 'fps',
'Runs': '/s',
'Time': 'ms',
'Duration': 'ms',
'Malloc': 'B',
'Heap': 'B',
'Allocations': 'B',
'Score': 'pt',
}

◆ SI_prefixes

list webkitpy.benchmark_runner.benchmark_results.BenchmarkResults.SI_prefixes = ['n', 'u', 'm', '', 'K', 'M', 'G', 'T', 'P', 'E']
static

The documentation for this class was generated from the following file: