def WillNavigateToPage(self, page, tab): self._timeline_controller = timeline_controller.TimelineController() if self._report_silk_details: # We need the other traces in order to have any details to report. self._timeline_controller.trace_categories = None else: self._timeline_controller.trace_categories = \ tracing_category_filter.CreateNoOverheadFilter().filter_string self._timeline_controller.SetUp(page, tab)
def WillNavigateToPage(self, page, tab): self._timeline_controller = timeline_controller.TimelineController( enable_auto_issuing_record=False) if self._report_silk_details: # We need the other traces in order to have any details to report. self._timeline_controller.trace_categories = None else: self._timeline_controller.trace_categories = \ chrome_trace_category_filter.CreateLowOverheadFilter().filter_string self._timeline_controller.SetUp(page, tab)
def WillRunActions(self, page, tab): self._timeline_controller = timeline_controller.TimelineController() if self.options.report_silk_details: # We need the other traces in order to have any details to report. self.timeline_controller.trace_categories = \ tracing_backend.DEFAULT_TRACE_CATEGORIES else: self._timeline_controller.trace_categories = \ tracing_backend.MINIMAL_TRACE_CATEGORIES self._timeline_controller.Start(page, tab)
def WillNavigateToPage(self, page, tab): self._timeline_controller = timeline_controller.TimelineController( enable_auto_issuing_record=False) if self._report_silk_details: # We need the other traces in order to have any details to report. self._timeline_controller.trace_categories = None if self.options and self.options.extra_chrome_categories: assert False, ('--extra_chrome_categories cannot be combined with' '--report-silk-details') else: category_filter = chrome_trace_category_filter.CreateLowOverheadFilter() if self.options and self.options.extra_chrome_categories: category_filter.AddFilterString(self.options.extra_chrome_categories) self._timeline_controller.trace_categories = category_filter.filter_string self._timeline_controller.SetUp(page, tab)
def __init__(self): super(_ServiceWorkerMeasurement, self).__init__() self._timeline_controller = timeline_controller.TimelineController() self._speed_index = speedindex.SpeedIndexMetric() self._page_open_times = collections.defaultdict(int)
def WillNavigateToPage(self, page, tab): self._controller = timeline_controller.TimelineController() self._controller.trace_categories = 'blink_style,blink.console' self._controller.SetUp(page, tab) self._controller.Start(tab)
def WillNavigateToPage(self, page, tab): super(_BlinkPerfPaintMeasurement, self).WillNavigateToPage(page, tab) self._controller = timeline_controller.TimelineController() self._controller.trace_categories = 'blink,blink.console' self._controller.SetUp(page, tab) self._controller.Start(tab)
def __init__(self, *args, **kwargs): super(LoadingTrace, self).__init__(*args, **kwargs) self._timeline_controller = timeline_controller.TimelineController()
def __init__(self): super(_ServiceWorkerMicroBenchmarkMeasurement, self).__init__() self._timeline_controller = timeline_controller.TimelineController()
def __init__(self): super(_ServiceWorkerMicroBenchmarkMeasurement, self).__init__( action_name_to_run='RunPageInteractions') self._timeline_controller = timeline_controller.TimelineController()