diff options
author | 2017-10-20 12:39:11 -0600 | |
---|---|---|
committer | 2017-10-20 19:34:17 +0000 | |
commit | 1e6b36eb574d859c51968ff0c5bc3c17773857a1 (patch) | |
tree | b7dbfa670b69fa0b93e5ca253b18634e000a0903 /infra/bots/recipes/skpbench.py | |
parent | 955ed3d9b6d4dc5450ce0c6c86c610f831b0c38a (diff) |
Add skpbench jobs for CCPR
Adds new runs that benchmark just a handful of skps with CCPR.
This will also be Pixel's small debut on skpbench.
Bug: skia:
Change-Id: I7e4c3aeaa083ffe29c275f1c021ee62d177b6172
Reviewed-on: https://skia-review.googlesource.com/62302
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'infra/bots/recipes/skpbench.py')
-rw-r--r-- | infra/bots/recipes/skpbench.py | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/infra/bots/recipes/skpbench.py b/infra/bots/recipes/skpbench.py index 7ada90be81..70e1f671a7 100644 --- a/infra/bots/recipes/skpbench.py +++ b/infra/bots/recipes/skpbench.py @@ -46,19 +46,30 @@ def skpbench_steps(api): skpbench_dir = api.vars.slave_dir.join('skia', 'tools', 'skpbench') table = api.path.join(api.vars.swarming_out_dir, 'table') - config = 'gles,glesinst4' if 'Vulkan' in api.vars.builder_name: config = 'vk' + elif 'CCPR' in api.vars.builder_name: + config = 'gles' + else: + config = 'gles,glesinst4' skpbench_args = [ api.path.join(api.vars.android_bin_dir, 'skpbench'), - api.path.join(api.vars.android_data_dir, 'skps'), '--adb', '--adb_binary', ADB_BINARY, '--resultsfile', table, '--config', config, # TODO(dogben): Track down what's causing bots to die. - '-v', '5'] + '-v5'] + if 'CCPR' in api.vars.builder_name: + skpbench_args += [ + '--pr', 'ccpr', + '--nocache', + api.path.join(api.vars.android_data_dir, 'skps/desk_*svg.skp'), + api.path.join(api.vars.android_data_dir, 'skps/desk_chalkboard.skp')] + else: + skpbench_args += [ + api.path.join(api.vars.android_data_dir, 'skps')] api.run(api.python, 'skpbench', script=skpbench_dir.join('skpbench.py'), @@ -115,6 +126,8 @@ TEST_BUILDERS = [ 'Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-All-Android_Skpbench', ('Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-All-' 'Android_Vulkan_Skpbench'), + ('Perf-Android-Clang-Pixel-GPU-Adreno530-arm64-Release-All-' + 'Android_CCPR_Skpbench'), ] |