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

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

Issue 2318413002: Re-add perf-id and results-url. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 3 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 from . import steps
7 7
8 import DEPS 8 import DEPS
9 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 9 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
10 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX 10 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX
(...skipping 21 matching lines...) Expand all
32 config_name, perf_id, platform, target_bits) 32 config_name, perf_id, platform, target_bits)
33 33
34 34
35 def _AddTestSpec(name, perf_id, platform, 35 def _AddTestSpec(name, perf_id, platform,
36 parent_buildername=None, target_bits=64): 36 parent_buildername=None, target_bits=64):
37 tests = [steps.DynamicPerfTests( 37 tests = [steps.DynamicPerfTests(
38 perf_id, platform, target_bits, 38 perf_id, platform, target_bits,
39 num_device_shards=1, num_host_shards=1, shard_index=0)] 39 num_device_shards=1, num_host_shards=1, shard_index=0)]
40 40
41 spec = chromium_perf.TestSpec( 41 spec = chromium_perf.TestSpec(
42 'chromium_perf', platform, target_bits, 42 'chromium_perf', perf_id, platform, target_bits,
43 parent_buildername=parent_buildername, tests=tests) 43 parent_buildername=parent_buildername, tests=tests)
44 if not parent_buildername: 44 if not parent_buildername:
45 spec['parent_mastername'] = 'chromium.perf' 45 spec['parent_mastername'] = 'chromium.perf'
46 46
47 SPEC['builders'][name] = spec 47 SPEC['builders'][name] = spec
48 48
49 49
50 def _AddIsolatedTestSpec(name, platform, target_bits=64): 50 def _AddIsolatedTestSpec(name, platform, target_bits=64):
51 spec = chromium_perf.TestSpec('chromium_perf', platform, target_bits) 51 spec = chromium_perf.TestSpec('chromium_perf', None, platform, target_bits)
52 spec['parent_mastername'] = 'chromium.perf' 52 spec['parent_mastername'] = 'chromium.perf'
53 spec['enable_swarming'] = True 53 spec['enable_swarming'] = True
54 spec['test_generators'] = [steps.generate_isolated_script] 54 spec['test_generators'] = [steps.generate_isolated_script]
55 SPEC['builders'][name] = spec 55 SPEC['builders'][name] = spec
56 56
57 57
58 _AddTestSpec('Android Galaxy S5 Perf (1)', 'fyi-android-galaxy-s5', 'android', 58 _AddTestSpec('Android Galaxy S5 Perf (1)', 'fyi-android-galaxy-s5', 'android',
59 target_bits=32) 59 target_bits=32)
60 60
61 61
62 _AddTestSpec('Win 7 Intel GPU Perf (Xeon)', 'chromium-rel-win7-gpu-intel', 62 _AddTestSpec('Win 7 Intel GPU Perf (Xeon)', 'chromium-rel-win7-gpu-intel',
63 'win') 63 'win')
64 _AddTestSpec('Win Power High-DPI Perf', 'win-power-high-dpi', 'win') 64 _AddTestSpec('Win Power High-DPI Perf', 'win-power-high-dpi', 'win')
65 65
66 66
67 _AddTestSpec('Mac Power Dual-GPU Perf', 'mac-power-dual-gpu', 'mac') 67 _AddTestSpec('Mac Power Dual-GPU Perf', 'mac-power-dual-gpu', 'mac')
68 _AddTestSpec('Mac Power Low-End Perf', 'mac-power-low-end', 'mac') 68 _AddTestSpec('Mac Power Low-End Perf', 'mac-power-low-end', 'mac')
69 _AddTestSpec('Mac Test Retina Perf', 'mac-test-retina', 'mac') 69 _AddTestSpec('Mac Test Retina Perf', 'mac-test-retina', 'mac')
70 70
71 71
72 _AddBuildSpec('Win Clang Builder', 'win-clang-builder', 'win', 72 _AddBuildSpec('Win Clang Builder', 'win-clang-builder', 'win',
73 config_name='chromium_perf_clang', target_bits=32) 73 config_name='chromium_perf_clang', target_bits=32)
74 _AddTestSpec('Win Clang Perf', 'chromium-win-clang', 'win', 74 _AddTestSpec('Win Clang Perf', 'chromium-win-clang', 'win',
75 parent_buildername='Win Clang Builder', target_bits=32) 75 parent_buildername='Win Clang Builder', target_bits=32)
76 76
77 77
78 _AddIsolatedTestSpec('Win 10 Low-End 2 Core Perf', 'win') 78 _AddIsolatedTestSpec('Win 10 Low-End 2 Core Perf', 'win')
79 _AddIsolatedTestSpec('Win 10 Low-End 4 Core Perf', 'win') 79 _AddIsolatedTestSpec('Win 10 Low-End 4 Core Perf', 'win')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698