diff options
author | Kevin Lubick <kjlubick@google.com> | 2017-06-15 15:21:17 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-15 20:07:19 +0000 |
commit | b6d09b72c3e3f44061e04b8d4f4f7e17a6a8f276 (patch) | |
tree | cfb2d47e3b209699d928828996be5d9f3d14e6c7 | |
parent | 1f8796dbde0dd2cd146e051e88def2c1c23f5d9c (diff) |
Add CPU Chromecast Perf Job
Bug: skia:
NOTRY=true
Change-Id: Ieb4c05b5f430c125ad8fd1a360d82385279dcf29
Reviewed-on: https://skia-review.googlesource.com/20049
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
-rw-r--r-- | infra/bots/jobs.json | 2 | ||||
-rw-r--r-- | infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug.json (renamed from infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug.json) | 2 | ||||
-rw-r--r-- | infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json | 2 | ||||
-rw-r--r-- | infra/bots/recipes/perf.py | 11 | ||||
-rw-r--r-- | infra/bots/tasks.json | 103 |
5 files changed, 118 insertions, 2 deletions
diff --git a/infra/bots/jobs.json b/infra/bots/jobs.json index 617b56a8c7..cff7bd4fd2 100644 --- a/infra/bots/jobs.json +++ b/infra/bots/jobs.json @@ -129,6 +129,8 @@ "Perf-ChromeOS-Clang-Chromebook_CB5_311-GPU-TegraK1-arm-Release", "Perf-ChromeOS-Clang-Chromebook_513C24_K01-GPU-MaliT860-arm-Debug", "Perf-ChromeOS-Clang-Chromebook_513C24_K01-GPU-MaliT860-arm-Release", + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug", + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release", "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug", "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release", "Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Debug", diff --git a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug.json b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug.json index 91ef9e27b5..036f318048 100644 --- a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug.json +++ b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug.json @@ -298,7 +298,9 @@ "root@192.168.1.2", "/cache/skia/nanobench", "--config", + "8888", "gles", + "--nogpu", "-i", "/cache/skia/resources", "--images", diff --git a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json index 303bcf09aa..d4240f1f76 100644 --- a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json +++ b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json @@ -334,7 +334,9 @@ "root@192.168.1.2", "/cache/skia/nanobench", "--config", + "8888", "gles", + "--nocpu", "-i", "/cache/skia/resources", "--images", diff --git a/infra/bots/recipes/perf.py b/infra/bots/recipes/perf.py index 37fe468997..d9f4c7f882 100644 --- a/infra/bots/recipes/perf.py +++ b/infra/bots/recipes/perf.py @@ -239,7 +239,14 @@ def perf_steps(api): args = [ target, '--config', + '8888', 'gles', + ] + if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': + args.extend(['--nogpu']) + elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': + args.extend(['--nocpu']) + args.extend([ '-i', api.flavor.device_dirs.resource_dir, '--images', api.flavor.device_path_join( api.flavor.device_dirs.resource_dir, 'color_wheel.jpg'), @@ -250,7 +257,7 @@ def perf_steps(api): '~blur_image_filter', '~blur_0.01', '~GM_animated-image-blurs', - ] + ]) if api.vars.upload_perf_results: now = api.time.utcnow() @@ -335,7 +342,7 @@ TEST_BUILDERS = [ 'Perf-Android-Clang-NexusPlayer-GPU-PowerVR-x86-Release-Android_Vulkan', 'Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android', 'Perf-ChromeOS-Clang-Chromebook_C100p-GPU-MaliT764-arm-Release', - 'Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug', + 'Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug', 'Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release', 'Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release', 'Perf-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Debug-CommandBuffer', diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json index ccc919c2b4..67c53ccb51 100644 --- a/infra/bots/tasks.json +++ b/infra/bots/tasks.json @@ -783,6 +783,18 @@ "Upload-Perf-ChromeOS-Clang-Chromebook_CB5_311-GPU-TegraK1-arm-Release" ] }, + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug": { + "priority": 0.8, + "tasks": [ + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug" + ] + }, + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release": { + "priority": 0.8, + "tasks": [ + "Upload-Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release" + ] + }, "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug": { "priority": 0.8, "tasks": [ @@ -6192,6 +6204,70 @@ "max_attempts": 1, "priority": 0.8 }, + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug": { + "dependencies": [ + "Build-Ubuntu-GCC-arm-Debug-Chromecast", + "Housekeeper-PerCommit-BundleRecipes", + "Housekeeper-PerCommit-IsolateSKP" + ], + "dimensions": [ + "device_os:1.24_82923", + "device_type:chorizo", + "os:Android", + "pool:Skia" + ], + "execution_timeout_ns": 14400000000000, + "expiration_ns": 72000000000000, + "extra_args": [ + "--workdir", + "../../..", + "perf", + "repository=<(REPO)", + "buildername=Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug", + "swarm_out_dir=${ISOLATED_OUTDIR}", + "revision=<(REVISION)", + "patch_repo=<(PATCH_REPO)", + "patch_storage=<(PATCH_STORAGE)", + "patch_issue=<(ISSUE)", + "patch_set=<(PATCHSET)" + ], + "io_timeout_ns": 2400000000000, + "isolate": "perf_skia_bundled_unix.isolate", + "max_attempts": 1, + "priority": 0.8 + }, + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release": { + "dependencies": [ + "Build-Ubuntu-GCC-arm-Release-Chromecast", + "Housekeeper-PerCommit-BundleRecipes", + "Housekeeper-PerCommit-IsolateSKP" + ], + "dimensions": [ + "device_os:1.24_82923", + "device_type:chorizo", + "os:Android", + "pool:Skia" + ], + "execution_timeout_ns": 14400000000000, + "expiration_ns": 72000000000000, + "extra_args": [ + "--workdir", + "../../..", + "perf", + "repository=<(REPO)", + "buildername=Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release", + "swarm_out_dir=${ISOLATED_OUTDIR}", + "revision=<(REVISION)", + "patch_repo=<(PATCH_REPO)", + "patch_storage=<(PATCH_STORAGE)", + "patch_issue=<(ISSUE)", + "patch_set=<(PATCHSET)" + ], + "io_timeout_ns": 2400000000000, + "isolate": "perf_skia_bundled_unix.isolate", + "max_attempts": 1, + "priority": 0.8 + }, "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug": { "dependencies": [ "Build-Ubuntu-GCC-arm-Debug-Chromecast", @@ -17912,6 +17988,33 @@ "isolate": "upload_nano_results.isolate", "priority": 0.8 }, + "Upload-Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release": { + "dependencies": [ + "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release" + ], + "dimensions": [ + "cpu:x86-64-avx2", + "gpu:none", + "os:Ubuntu-14.04", + "pool:Skia" + ], + "extra_args": [ + "--workdir", + "../../..", + "upload_nano_results", + "repository=<(REPO)", + "buildername=Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release", + "swarm_out_dir=${ISOLATED_OUTDIR}", + "revision=<(REVISION)", + "patch_repo=<(PATCH_REPO)", + "patch_storage=<(PATCH_STORAGE)", + "patch_issue=<(ISSUE)", + "patch_set=<(PATCHSET)", + "gs_bucket=skia-perf" + ], + "isolate": "upload_nano_results.isolate", + "priority": 0.8 + }, "Upload-Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release": { "dependencies": [ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release" |