telemetry.web_perf.metrics.layout | index telemetry/web_perf/metrics/layout.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.web_perf.metrics.single_event |  |  |

Classes
`` |  | telemetry.web_perf.metrics.single_event._SingleEventMetric(telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric) LayoutMetric
class LayoutMetric(telemetry.web_perf.metrics.single_event._SingleEventMetric)
`` | `Reports directly durations of FrameView::performLayout events. layout: Durations of FrameView::performLayout events that were caused by and start during user interaction. Layout happens no more than once per frame, so per-frame-ness is implied.`
| Method resolution order: LayoutMetric telemetry.web_perf.metrics.single_event._SingleEventMetric telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric __builtin__.object Methods defined here: __init__(self) Methods inherited from telemetry.web_perf.metrics.single_event._SingleEventMetric: AddResults(self, _model, renderer_thread, interactions, results) 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)`

Data
`` |  | EVENT_NAME = 'FrameView::performLayout' METRIC_NAME = 'layout'