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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_perf_fyi.py

Issue 2270563005: Clean up some discrepancies in the perf recipe configs (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: You know, expectations and stuff. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from . import chromium_perf 5 from . import chromium_perf
6 from . import steps
6 7
7 import DEPS 8 import DEPS
8 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 9 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
9 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX 10 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
10 11
11 12
12 SPEC = { 13 SPEC = {
13 'builders': {}, 14 'builders': {},
14 'settings': chromium_perf.SPEC['settings'], 15 'settings': chromium_perf.SPEC['settings'],
15 } 16 }
16 17
17 18
18 @CHROMIUM_CONFIG_CTX(includes=['chromium_win_clang_official']) 19 @CHROMIUM_CONFIG_CTX(includes=['chromium_win_clang_official'])
19 def chromium_perf_clang(c): 20 def chromium_perf_clang(c):
20 pass 21 pass
21 22
22 23
23 @GCLIENT_CONFIG_CTX(includes=['chromium_perf']) 24 @GCLIENT_CONFIG_CTX(includes=['chromium_perf'])
24 def chromium_perf_clang(c): 25 def chromium_perf_clang(c):
25 pass 26 pass
26 27
27 28
28 def _AddBuildSpec(name, perf_id, platform, config_name='chromium_perf', 29 def _AddBuildSpec(name, perf_id, platform, config_name='chromium_perf',
29 target_bits=64): 30 target_bits=64):
30 SPEC['builders'][name] = chromium_perf.BuildSpec( 31 SPEC['builders'][name] = chromium_perf.BuildSpec(
31 config_name, perf_id, platform, target_bits) 32 config_name, perf_id, platform, target_bits)
32 33
33 34
34 def _AddTestSpec(name, perf_id, platform, 35 def _AddTestSpec(name, perf_id, platform, parent_buildername=None, target_bits=6 4):
RobertoCN 2016/08/30 21:08:01 Is this line long, or is my browser wrapping it wr
dtu 2016/08/31 08:36:34 Done.
35 parent_builder=None, target_bits=64): 36 tests = [steps.DynamicPerfTests(
36 parent_buildername = (parent_builder or 37 perf_id, platform, target_bits,
37 chromium_perf.builders[platform][target_bits]) 38 num_device_shards=1, num_host_shards=1, shard_index=0)]
38 spec = chromium_perf.TestSpec('chromium_perf', parent_buildername, perf_id, 39
39 platform, target_bits, 0, 1, 1) 40 spec = chromium_perf.TestSpec(
40 if not parent_builder: 41 'chromium_perf', platform, target_bits,
42 parent_buildername=parent_buildername, tests=tests)
43 if not parent_buildername:
41 spec['parent_mastername'] = 'chromium.perf' 44 spec['parent_mastername'] = 'chromium.perf'
42 spec['disable_tests'] = True 45
43 SPEC['builders'][name] = spec 46 SPEC['builders'][name] = spec
44 47
45 48
46 _AddTestSpec('Android Galaxy S5 Perf (1)', 'fyi-android-galaxy-s5', 'android', 49 _AddTestSpec('Android Galaxy S5 Perf (1)', 'fyi-android-galaxy-s5', 'android',
47 target_bits=32) 50 target_bits=32)
48 51
49 52
50 _AddTestSpec('Win 7 Intel GPU Perf (Xeon)', 'chromium-rel-win7-gpu-intel', 53 _AddTestSpec('Win 7 Intel GPU Perf (Xeon)', 'chromium-rel-win7-gpu-intel',
51 'win') 54 'win')
52 _AddTestSpec('Win Power High-DPI Perf', 'win-power-high-dpi', 'win') 55 _AddTestSpec('Win Power High-DPI Perf', 'win-power-high-dpi', 'win')
53 56
54 57
55 _AddTestSpec('Mac Power Dual-GPU Perf', 'mac-power-dual-gpu', 'mac') 58 _AddTestSpec('Mac Power Dual-GPU Perf', 'mac-power-dual-gpu', 'mac')
56 _AddTestSpec('Mac Power Low-End Perf', 'mac-power-low-end', 'mac') 59 _AddTestSpec('Mac Power Low-End Perf', 'mac-power-low-end', 'mac')
57 _AddTestSpec('Mac Test Retina Perf', 'mac-test-retina', 'mac') 60 _AddTestSpec('Mac Test Retina Perf', 'mac-test-retina', 'mac')
58 61
59 62
60 _AddBuildSpec('Win Clang Builder', 'win-clang-builder', 'win', 63 _AddBuildSpec('Win Clang Builder', 'win-clang-builder', 'win',
61 config_name='chromium_perf_clang', target_bits=32) 64 config_name='chromium_perf_clang', target_bits=32)
62 _AddTestSpec('Win Clang Perf', 'chromium-win-clang', 'win', 65 _AddTestSpec('Win Clang Perf', 'chromium-win-clang', 'win',
63 parent_builder='Win Clang Builder', target_bits=32) 66 parent_buildername='Win Clang Builder', target_bits=32)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698