telemetry.web_perf.metrics.blob_timeline | index telemetry/web_perf/metrics/blob_timeline.py

`# Copyright 2015 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 | telemetry.value.list_of_scalar_values | telemetry.web_perf.metrics.timeline_based_metric |

Classes
`` |  |

telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric(__builtin__.object)
  BlobTimelineMetric

class BlobTimelineMetric(telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric)
`` | `BlobTimelineMetric reports timing information about blob storage. The following metrics are added to the results: * blob write times (blob_writes) * blob read times (blob_reads)`

Method resolution order:
  BlobTimelineMetric
  telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric
  __builtin__.object

Methods defined here:

AddResults(self, model, renderer_thread, interactions, results)

__init__(self)

Static methods defined here:

IsEventInInteraction(event, interaction)

IsReadEvent(event)

IsWriteEvent(event)

ThreadDurationIfPresent(event)

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
`` |  | READ_EVENT_NAME = 'BlobRequest' WRITE_EVENT_NAME = 'Registry::RegisterBlob'