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

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

Issue 962793004: [Telemetry] Make "discard_first_result" apply to user_stories too. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: tools/perf/benchmarks/startup.py
diff --git a/tools/perf/benchmarks/startup.py b/tools/perf/benchmarks/startup.py
index b68ae4c32adad60884a6c46d523501f55c29980b..3ad49a68b55c009fcbc996921b4ea1b265134b9d 100644
--- a/tools/perf/benchmarks/startup.py
+++ b/tools/perf/benchmarks/startup.py
@@ -27,6 +27,10 @@ class _StartupWarm(benchmark.Benchmark):
def Name(cls):
return 'startup'
+ @classmethod
+ def ProcessCommandLineArgs(cls, parser, args):
+ args.discard_first_result = True
nednguyen 2015/02/27 13:27:35 ditto, otherwise the options setting at line 24 is
+
def CreatePageTest(self, options):
return startup.Startup(cold=False)

Powered by Google App Engine
This is Rietveld 408576698