Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: scripts/slave/recipes/skia/ct_skps.py

Issue 2039213003: Add separate GPU BENCH builder for 10k SKPs (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Add test Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/skia/ct_skps.py
diff --git a/scripts/slave/recipes/skia/ct_skps.py b/scripts/slave/recipes/skia/ct_skps.py
index d91d1f82dcaa7c64f32cf90f8ec78fbe9964bb5d..2cb1d41aae7772934e12060f37e6bf5196c3bdcf 100644
--- a/scripts/slave/recipes/skia/ct_skps.py
+++ b/scripts/slave/recipes/skia/ct_skps.py
@@ -136,6 +136,7 @@ def RunSteps(api):
'TOOL_NAME': skia_tool,
'GIT_HASH': skia_hash,
'CONFIGURATION': configuration,
+ 'BUILDER': buildername,
}
api.skia_swarming.create_isolated_gen_json(
isolate_path, isolate_dir, 'linux', 'ct-%s-%s' % (skia_tool, slave_num),
@@ -159,8 +160,7 @@ def RunSteps(api):
# Trigger all swarming tasks.
dimensions={'os': 'Ubuntu-14.04', 'cpu': 'x86-64', 'pool': 'Chrome'}
- if skia_tool == 'nanobench':
- # Run on GPU bots for nanobench.
+ if 'GPU' in buildername:
dimensions['gpu'] = '10de:104a'
tasks = api.skia_swarming.trigger_swarming_tasks(
tasks_to_swarm_hashes, dimensions=dimensions)
@@ -219,7 +219,7 @@ def GenTests(api):
)
yield(
- api.test('CT_BENCH_10k_SKPs') +
+ api.test('CT_CPU_BENCH_10k_SKPs') +
api.properties(
buildername=
'Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-CT_BENCH_10k_SKPs',
@@ -233,6 +233,20 @@ def GenTests(api):
)
yield(
+ api.test('CT_GPU_BENCH_10k_SKPs') +
+ api.properties(
+ buildername=
+ 'Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_10k_SKPs',
+ ct_num_slaves=ct_num_slaves,
+ revision=skia_revision,
+ ) +
+ api.path.exists(
+ api.path['slave_build'].join('skia'),
+ api.path['slave_build'].join('src')
+ )
+ )
+
+ yield(
api.test('CT_DM_1m_SKPs') +
api.properties(
buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_1m_SKPs',
« no previous file with comments | « masters/master.client.skia/slaves.cfg ('k') | scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698