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

Unified Diff: telemetry/telemetry/record_wpr.py

Issue 3003183002: Modify record_wpr to record benchmark once only (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/record_wpr.py
diff --git a/telemetry/telemetry/record_wpr.py b/telemetry/telemetry/record_wpr.py
index 4f1589c5b800d63b94058c12e01eb3133e5a4552..aae4e5ed49fcf995ff39644bc82c7a54626bac1f 100644
--- a/telemetry/telemetry/record_wpr.py
+++ b/telemetry/telemetry/record_wpr.py
@@ -240,6 +240,8 @@ class WprRecorder(object):
'explicitly is no longer necessary. Please file crbug against '
'xunjeli@ & nednguyen@ if you encounter issue with recording.')
+ # Always record the benchmark one time only.
+ self._options.pageset_repeat = 1
self._story_set.wpr_archive_info.is_using_wpr_go_archives = True
self._story_set.wpr_archive_info.AddNewTemporaryRecording()
self._record_page_test.CustomizeBrowserOptions(self._options)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698