telemetry.web_perf.metrics.responsiveness_metric | index telemetry/web_perf/metrics/responsiveness_metric.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.improvement_direction logging | telemetry.web_perf.metrics.mainthread_jank_stats telemetry.value.scalar | telemetry.web_perf.metrics.timeline_based_metric telemetry.web_perf.timeline_interaction_record |

Classes
`` |  | telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric(__builtin__.object) ResponsivenessMetric
class ResponsivenessMetric(telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric)
`` | `Computes metrics that measure respsonsiveness on the record ranges. total_big_jank_thread_time is the total thread duration of all top slices whose thread time ranges overlapped with any thread time ranges of the records and the overlapped thread duration is greater than or equal USER_PERCEIVABLE_DELAY_THRESHOLD_MS. biggest_jank_thread_time is the biggest thread duration of all top slices whose thread time ranges overlapped with any of records' thread time ranges. All *_time values are measured in milliseconds.`
| Method resolution order: ResponsivenessMetric telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric __builtin__.object Methods defined here: AddResults(self, _, renderer_thread, interaction_records, results) __init__(self) Methods inherited from telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric: AddWholeTraceResults(self, model, results) `Computes and adds metrics corresponding to the entire trace. Override this method to compute results that correspond to the whole trace. Args: model: An instance of telemetry.timeline.model.TimelineModel. results: An instance of page.PageTestResults.` VerifyNonOverlappedRecords(self, interaction_records) `This raises exceptions if interaction_records contain overlapped ranges.` Data descriptors inherited from telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`