1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6 class ProgressReporter(object):
7 """A class that reports progress of a benchmark.
9 The reporter produces output whenever a significant event happens
10 during the progress of a benchmark, including (but not limited to):
11 when a page run is started, when a page run finished, any failures
14 The default implementation outputs nothing.
17 def DidAddValue(self
, value
):
20 def WillRunPage(self
, page_test_results
):
23 def DidRunPage(self
, page_test_results
):
26 def DidFinishAllTests(self
, page_test_results
):