| |
- Method resolution order:
- SummarizableValue
- telemetry.value.Value
- __builtin__.object
Methods defined here:
- AsDict(self)
- AsDictWithoutBaseClassEntries(self)
- GetBuildbotDataType(self, output_context)
- Returns the buildbot's equivalent data_type.
This should be one of the values accepted by perf_tests_results_helper.py.
- GetBuildbotValue(self)
- Returns the buildbot's equivalent value.
- GetRepresentativeNumber(self)
- Gets a single scalar value that best-represents this value.
Returns None if not possible.
- GetRepresentativeString(self)
- Gets a string value that best-represents this value.
Returns None if not possible.
- __init__(self, page, name, units, important, description, tir_label, improvement_direction)
- A summarizable value result from a test.
Class methods defined here:
- MergeLikeValuesFromDifferentPages(cls, values) from __builtin__.type
- MergeLikeValuesFromSamePage(cls, values) from __builtin__.type
Static methods defined here:
- GetJSONTypeName()
Data descriptors defined here:
- improvement_direction
Methods inherited from telemetry.value.Value:
- GetChartAndTraceNameForComputedSummaryResult(self, trace_tag)
- GetChartAndTraceNameForPerPageResult(self)
- IsMergableWith(self, that)
- __eq__(self, other)
- __hash__(self)
Static methods inherited from telemetry.value.Value:
- FromDict(value_dict, page_dict)
- Produces a value from a value dict and a page dict.
Value dicts are produced by serialization to JSON, and must be accompanied
by a dict mapping page IDs to pages, also produced by serialization, in
order to be completely deserialized. If deserializing multiple values, use
ListOfValuesFromListOfDicts instead.
value_dict: a dictionary produced by AsDict() on a value subclass.
page_dict: a dictionary mapping IDs to page objects.
- GetConstructorKwArgs(value_dict, page_dict)
- Produces constructor arguments from a value dict and a page dict.
Takes a dict parsed from JSON and an index of pages and recovers the
keyword arguments to be passed to the constructor for deserializing the
dict.
value_dict: a dictionary produced by AsDict() on a value subclass.
page_dict: a dictionary mapping IDs to page objects.
- ListOfValuesFromListOfDicts(value_dicts, page_dict)
- Takes a list of value dicts to values.
Given a list of value dicts produced by AsDict, this method
deserializes the dicts given a dict mapping page IDs to pages.
This method performs memoization for deserializing a list of values
efficiently, where FromDict is meant to handle one-offs.
values: a list of value dicts produced by AsDict() on a value subclass.
page_dict: a dictionary mapping IDs to page objects.
Data descriptors inherited from telemetry.value.Value:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- name_suffix
- Returns the string after a . in the name, or the full name otherwise.
|