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

Unified Diff: tools/perf/benchmarks/v8.py

Issue 737403002: Revert of telemetry: Remove command line args from page test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/perf/benchmarks/thread_times.py ('k') | tools/perf/measurements/page_cycler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/v8.py
diff --git a/tools/perf/benchmarks/v8.py b/tools/perf/benchmarks/v8.py
index 36004b561599a27e124aa8c56d44339691e7367d..3b86416d1792e50b51d7c3e9a3f0c0f3b4cb682b 100644
--- a/tools/perf/benchmarks/v8.py
+++ b/tools/perf/benchmarks/v8.py
@@ -10,10 +10,11 @@
@benchmark.Disabled # crbug.com/416502
class V8GarbageCollectionCases(benchmark.Benchmark):
"""Measure V8 metrics on the garbage collection cases."""
- def CreatePageTest(self, options):
- # TODO(ernstm): Remove v8-overhead when benchmark relevant v8 events become
- # available in the 'benchmark' category.
- return timeline_based_measurement.TimelineBasedMeasurement(
- overhead_level='v8-overhead')
+ test = timeline_based_measurement.TimelineBasedMeasurement
+ page_set = page_sets.GarbageCollectionCasesPageSet
- page_set = page_sets.GarbageCollectionCasesPageSet
+ # TODO(ernstm): Remove this argument when benchmark relevant v8 events become
+ # available in the 'benchmark' category.
+ @classmethod
+ def SetArgumentDefaults(cls, parser):
+ parser.set_defaults(overhead_level='v8-overhead')
« no previous file with comments | « tools/perf/benchmarks/thread_times.py ('k') | tools/perf/measurements/page_cycler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698