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

Unified Diff: tools/telemetry/telemetry/benchmark.py

Issue 1371403004: CL for perf tryjob on mac Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/__init__.py ('k') | tools/telemetry/telemetry/page/shared_page_state.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/benchmark.py
diff --git a/tools/telemetry/telemetry/benchmark.py b/tools/telemetry/telemetry/benchmark.py
index 6ea2196659b72e58275039311f03307a69156d51..0f2616f5301df468ea1eadea454954a579ea4c63 100644
--- a/tools/telemetry/telemetry/benchmark.py
+++ b/tools/telemetry/telemetry/benchmark.py
@@ -201,7 +201,7 @@ class Benchmark(command_line.Command):
Otherwise, a TimelineBasedMeasurement instance.
"""
is_page_test = issubclass(self.test, page_test.PageTest)
- is_tbm = self.test == timeline_based_measurement.TimelineBasedMeasurement
+ is_tbm = True
if not is_page_test and not is_tbm:
raise TypeError('"%s" is not a PageTest or a TimelineBasedMeasurement.' %
self.test.__name__)
@@ -213,7 +213,7 @@ class Benchmark(command_line.Command):
opts = self.CreateTimelineBasedMeasurementOptions()
self.SetupTraceRerunOptions(options, opts)
- return timeline_based_measurement.TimelineBasedMeasurement(opts)
+ return self.test(opts)
def CreateStorySet(self, options):
"""Creates the instance of StorySet used to run the benchmark.
« no previous file with comments | « tools/telemetry/telemetry/__init__.py ('k') | tools/telemetry/telemetry/page/shared_page_state.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698