Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: tools/perf/benchmarks/tracing.py

Issue 1868593002: [Telemetry] Reenable tracing.tracing_with_debug_overhead benchmark & disable its smoke test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/benchmarks/benchmark_smoke_unittest.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from telemetry.web_perf import timeline_based_measurement 7 from telemetry.web_perf import timeline_based_measurement
8 8
9 import page_sets 9 import page_sets
10 from telemetry import benchmark
11 10
12 11
13 @benchmark.Disabled('android')
14 class TracingWithDebugOverhead(perf_benchmark.PerfBenchmark): 12 class TracingWithDebugOverhead(perf_benchmark.PerfBenchmark):
15 13
16 page_set = page_sets.Top10PageSet 14 page_set = page_sets.Top10PageSet
17 15
18 def CreateTimelineBasedMeasurementOptions(self): 16 def CreateTimelineBasedMeasurementOptions(self):
19 options = timeline_based_measurement.Options( 17 options = timeline_based_measurement.Options(
20 timeline_based_measurement.DEBUG_OVERHEAD_LEVEL) 18 timeline_based_measurement.DEBUG_OVERHEAD_LEVEL)
21 options.SetTimelineBasedMetric('tracingMetric') 19 options.SetTimelineBasedMetric('tracingMetric')
22 return options 20 return options
23 21
24 @classmethod 22 @classmethod
25 def Name(cls): 23 def Name(cls):
26 return 'tracing.tracing_with_debug_overhead' 24 return 'tracing.tracing_with_debug_overhead'
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/benchmark_smoke_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698