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

 
Classes
       
__builtin__.object
MainthreadJankStats

 
class MainthreadJankStats(__builtin__.object)
    Utility class for extracting main thread jank statistics from the timeline
(or other loggin facilities), and providing them in a common format to
classes that compute benchmark metrics from this data.
 
  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.
 
  Methods defined here:
__init__(self, renderer_thread, interaction_records)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
biggest_jank_thread_time
total_big_jank_thread_time

 
Data
        USER_PERCEIVABLE_DELAY_THRESHOLD_MS = 50