| Index: slave/skia_slave_scripts/bench_pictures.py
|
| diff --git a/slave/skia_slave_scripts/bench_pictures.py b/slave/skia_slave_scripts/bench_pictures.py
|
| index e8ffd7710e7ce106229c0a0df1db7b3c82b95097..451cdd50408ec7f94c382ad56448d0b324a87a64 100644
|
| --- a/slave/skia_slave_scripts/bench_pictures.py
|
| +++ b/slave/skia_slave_scripts/bench_pictures.py
|
| @@ -5,12 +5,10 @@
|
|
|
| """ Run the Skia bench_pictures executable. """
|
|
|
| +from build_step import BuildStep
|
| +from run_bench import BenchArgs
|
| import os
|
| import sys
|
| -
|
| -from build_step import BuildStep
|
| -from run_bench import BenchArgs
|
| -from utils import gclient_utils
|
|
|
|
|
| BENCH_REPEAT_COUNT = 10
|
| @@ -30,17 +28,10 @@
|
| filename.replace('-', '').replace(':', '-'))
|
| return full_path
|
|
|
| - def _BuildJSONDataFile(self, args):
|
| - git_timestamp = gclient_utils.GetGitRepoPOSIXTimestamp()
|
| - return '{}_{}.json'.format(
|
| - self._BuildDataFile(args),
|
| - git_timestamp)
|
| -
|
| def _DoBenchPictures(self, args):
|
| arguments = ['-r', self._device_dirs.SKPDir()] + args
|
| if self._perf_data_dir:
|
| arguments.extend(BenchArgs(data_file=self._BuildDataFile(args)))
|
| - arguments.extend(['--jsonLog', self._BuildJSONDataFile(args)])
|
| # For bench_pictures we use the --repeat and --logPerIter flags so that we
|
| # can compensate for noisy performance.
|
| arguments.extend(['--repeat', str(BENCH_REPEAT_COUNT), '--logPerIter'])
|
|
|