aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-06-01 15:51:06 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-02 12:00:05 +0000
commitc78a2d70fc0a38876fa58da98ba109308e25f8b3 (patch)
treee54edb7f26ae1a86009ac3482571864e72bfbf25
parent18166eeaf2d088d494c4273b88107544166046fd (diff)
Rename Chromecast CPU tests to GPU tests
Also fix command flags to use skps instead of svgs Bug: skia:6706 Change-Id: Ie099abac738e6eb8808db9aef513a51940c5ccb1 Reviewed-on: https://skia-review.googlesource.com/18441 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
-rw-r--r--infra/bots/jobs.json4
-rw-r--r--infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug.json (renamed from infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug.json)4
-rw-r--r--infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json (renamed from infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release.json)12
-rw-r--r--infra/bots/recipes/perf.py6
-rw-r--r--infra/bots/tasks.json22
5 files changed, 24 insertions, 24 deletions
diff --git a/infra/bots/jobs.json b/infra/bots/jobs.json
index 223129f249..617b56a8c7 100644
--- a/infra/bots/jobs.json
+++ b/infra/bots/jobs.json
@@ -129,8 +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",
"Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release",
"Perf-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Debug",
diff --git a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug.json b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug.json
index 2d3682bf9e..91ef9e27b5 100644
--- a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug.json
+++ b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug.json
@@ -303,8 +303,8 @@
"/cache/skia/resources",
"--images",
"/cache/skia/resources/color_wheel.jpg",
- "--svgs",
- "/cache/skia/svgs",
+ "--skps",
+ "/cache/skia/skps",
"--pre_log",
"--match",
"~matrixconvolution",
diff --git a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release.json b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json
index 42971f5712..303bcf09aa 100644
--- a/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release.json
+++ b/infra/bots/recipes/perf.expected/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release.json
@@ -339,8 +339,8 @@
"/cache/skia/resources",
"--images",
"/cache/skia/resources/color_wheel.jpg",
- "--svgs",
- "/cache/skia/svgs",
+ "--skps",
+ "/cache/skia/skps",
"--pre_log",
"--match",
"~matrixconvolution",
@@ -362,7 +362,7 @@
"compiler",
"GCC",
"cpu_or_gpu",
- "CPU",
+ "GPU",
"cpu_or_gpu_value",
"Cortex_A7",
"model",
@@ -383,7 +383,7 @@
"python",
"-u",
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
- "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release/data",
+ "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release/data",
"511"
],
"name": "makedirs perf_dir",
@@ -405,7 +405,7 @@
"adb",
"pull",
"/cache/skia/perf",
- "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release/data"
+ "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release/data"
],
"cwd": "[START_DIR]/skia",
"env": {
@@ -415,7 +415,7 @@
"SKIA_OUT": "[START_DIR]/out"
},
"infra_step": true,
- "name": "pull /cache/skia/perf [CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release/data"
+ "name": "pull /cache/skia/perf [CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release/data"
},
{
"cmd": [
diff --git a/infra/bots/recipes/perf.py b/infra/bots/recipes/perf.py
index 09b4a4a7c5..304b3146a5 100644
--- a/infra/bots/recipes/perf.py
+++ b/infra/bots/recipes/perf.py
@@ -247,7 +247,7 @@ def perf_steps(api):
'-i', api.flavor.device_dirs.resource_dir,
'--images', api.flavor.device_path_join(
api.flavor.device_dirs.resource_dir, 'color_wheel.jpg'),
- '--svgs', api.flavor.device_dirs.svg_dir,
+ '--skps', api.flavor.device_dirs.skp_dir,
'--pre_log',
'--match', # skia:6581
'~matrixconvolution',
@@ -339,8 +339,8 @@ 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-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-Release',
'Perf-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Debug-CommandBuffer',
'Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release',
diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json
index 65cd3ab864..6cccd90b82 100644
--- a/infra/bots/tasks.json
+++ b/infra/bots/tasks.json
@@ -783,16 +783,16 @@
"Upload-Perf-ChromeOS-Clang-Chromebook_CB5_311-GPU-TegraK1-arm-Release"
]
},
- "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug": {
+ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug": {
"priority": 0.8,
"tasks": [
- "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug"
+ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug"
]
},
- "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release": {
+ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release": {
"priority": 0.8,
"tasks": [
- "Upload-Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release"
+ "Upload-Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release"
]
},
"Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Debug": {
@@ -6180,7 +6180,7 @@
"max_attempts": 1,
"priority": 0.8
},
- "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug": {
+ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug": {
"dependencies": [
"Build-Ubuntu-GCC-arm-Debug-Chromecast",
"Housekeeper-PerCommit-BundleRecipes",
@@ -6199,7 +6199,7 @@
"../../..",
"perf",
"repository=<(REPO)",
- "buildername=Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug",
+ "buildername=Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Debug",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)",
"patch_repo=<(PATCH_REPO)",
@@ -6212,7 +6212,7 @@
"max_attempts": 1,
"priority": 0.8
},
- "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release": {
+ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release": {
"dependencies": [
"Build-Ubuntu-GCC-arm-Release-Chromecast",
"Housekeeper-PerCommit-BundleRecipes",
@@ -6231,7 +6231,7 @@
"../../..",
"perf",
"repository=<(REPO)",
- "buildername=Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release",
+ "buildername=Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)",
"patch_repo=<(PATCH_REPO)",
@@ -17900,9 +17900,9 @@
"isolate": "upload_nano_results.isolate",
"priority": 0.8
},
- "Upload-Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release": {
+ "Upload-Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release": {
"dependencies": [
- "Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release"
+ "Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release"
],
"dimensions": [
"cpu:x86-64-avx2",
@@ -17915,7 +17915,7 @@
"../../..",
"upload_nano_results",
"repository=<(REPO)",
- "buildername=Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Release",
+ "buildername=Perf-Chromecast-GCC-Chorizo-GPU-Cortex_A7-arm-Release",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)",
"patch_repo=<(PATCH_REPO)",