| Index: build/android/pylib/perf_tests_helper.py
|
| diff --git a/build/android/pylib/perf_tests_helper.py b/build/android/pylib/perf_tests_helper.py
|
| index 7b296a855df8f58e3698f732731cd72c2eaf486f..cb4085035d8f77e36b5c35014e8dad371d0bdbcb 100644
|
| --- a/build/android/pylib/perf_tests_helper.py
|
| +++ b/build/android/pylib/perf_tests_helper.py
|
| @@ -19,7 +19,7 @@ RESULT_TYPES = {'unimportant': 'RESULT ',
|
|
|
| def _EscapePerfResult(s):
|
| """Escapes |s| for use in a perf result."""
|
| - return re.sub('[\:|=/#&]', '_', s)
|
| + return re.sub('[\:|=/#&,]', '_', s)
|
|
|
|
|
| def GeomMeanAndStdDevFromHistogram(histogram_json):
|
| @@ -66,6 +66,11 @@ def _MeanAndStdDevFromList(values):
|
| return value, avg, sd
|
|
|
|
|
| +def PrintPages(page_list):
|
| + """Prints list of pages to stdout in the format required by perf tests."""
|
| + print 'Pages: [%s]' % ','.join([_EscapePerfResult(p) for p in page_list])
|
| +
|
| +
|
| def PrintPerfResult(measurement, trace, values, units, result_type='default',
|
| print_to_stdout=True):
|
| """Prints numerical data to stdout in the format required by perf tests.
|
|
|