telemetry.value.summary | index telemetry/value/summary.py

`# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |
telemetry.value.failure | telemetry.value.merge_values | telemetry.value.skip |

Classes
`` |  | __builtin__.object Summary
class Summary(__builtin__.object)
`` | `Computes summary values from the per-page-run values produced by a test. Some telemetry benchmark repeat a number of times in order to get a reliable measurement. The test does not have to handle merging of these runs: summarizer does it for you. For instance, if two pages run, 3 and 1 time respectively: ScalarValue(page1, 'foo', units='ms', 1) ScalarValue(page1, 'foo', units='ms', 1) ScalarValue(page1, 'foo', units='ms', 1) ScalarValue(page2, 'foo', units='ms', 2) Then summarizer will produce two sets of values. First, computed_per_page_values: [ ListOfScalarValues(page1, 'foo', units='ms', [1,1,1])], ListOfScalarValues(page2, 'foo', units='ms', [2])] ] In addition, it will produce a summary value: [ ListOfScalarValues(page=None, 'foo', units='ms', [1,1,1,2])] ]`
| Methods defined here: __init__(self, all_page_specific_values, key_func=<function DefaultKeyFunc>) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` computed_per_page_values computed_summary_values interleaved_computed_per_page_values_and_summaries `Returns the computed per page values and summary values interleaved. All the results for a given name are printed together. First per page values, then summary values.`