diff options
author | qyearsley@chromium.org <qyearsley@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 05:37:27 +0000 |
---|---|---|
committer | qyearsley@chromium.org <qyearsley@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 05:37:27 +0000 |
commit | e2f23bf8d7b6f1ab19ec2d8f351ec48cc80aef0f (patch) | |
tree | c7e18e60abea2cc7f452f920ae146cb01f72adcc /tools/perf | |
parent | 0e565a979c87c9b8b25cb96d3206e49e57e4b8b5 (diff) | |
download | chromium_src-e2f23bf8d7b6f1ab19ec2d8f351ec48cc80aef0f.zip chromium_src-e2f23bf8d7b6f1ab19ec2d8f351ec48cc80aef0f.tar.gz chromium_src-e2f23bf8d7b6f1ab19ec2d8f351ec48cc80aef0f.tar.bz2 |
Change endure benchmark to count by number of repetitions instead of time.
It's expected that the results should be slightly more steady. (I didn't measure this on my local machine before-hand, but after the new version of the Endure benchmarks are being run, we could see the results.)
Note: I should wait until crrev.com/187173002 is submitted and merge in those changes before submitting this.
BUG=
Review URL: https://codereview.chromium.org/183663029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/benchmarks/endure.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/tools/perf/benchmarks/endure.py b/tools/perf/benchmarks/endure.py index 5e0f444..2f49114 100644 --- a/tools/perf/benchmarks/endure.py +++ b/tools/perf/benchmarks/endure.py @@ -2,18 +2,30 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +"""The Endure benchmarks measure memory performance over a period of time. + +In each Endure benchmark, one page action is performed repeatedly and memory +usage is measured periodically. The specific page actions are defined in the +page sets, and the statistics that are gathered are determined by the Endure +measurement class. +""" + from telemetry import test from measurements import endure class _EndureBenchmark(test.Test): + """Base class which sets options for endure benchmarks below.""" test = endure.Endure # Default options for endure benchmarks. Could be overridden in subclasses. options = { 'skip_navigate_on_repeat': True, - 'page_repeat_secs': 7200, - 'perf_stats_interval': '100s' + # Depending on the page and the actions performed on the page, + # 2000 iterations should be between 1 and 2 hours. + 'page_repeat_iters': 2000, + # One sample per 10 iterations -> 200 points per run. + 'perf_stats_interval': '10' } @@ -58,4 +70,3 @@ class EndureGmailRefresh(test.Test): 'perf_stats_interval': '1' } page_set = 'page_sets/endure_gmail_refresh.json' - |