xref: /aosp_15_r20/external/toolchain-utils/crosperf/experiment_files/telemetry-crosperf-suites.exp (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1*760c253cSXin Li# This example experiment file shows how to invoke sets of tests (a
2*760c253cSXin Li# set is a group of tests that can be invoked by a single alias).
3*760c253cSXin Li# There are currently three sets defined for crosperf_Telemetry:
4*760c253cSXin Li# all_perfv2, all_pagecyclers, and all_toolchain_perf.
5*760c253cSXin Li#
6*760c253cSXin Li# You should replace all the placeholders, marked by angle-brackets,
7*760c253cSXin Li# with the appropriate actual values.
8*760c253cSXin Li
9*760c253cSXin Li
10*760c253cSXin Liname: telemetry_crosperf_suites_example
11*760c253cSXin Liboard: <your-board-goes-here>
12*760c253cSXin Li
13*760c253cSXin Li# Note:  You can specify multiple remotes, to run your tests in parallel on
14*760c253cSXin Li# multiple machines. e.g. "remote: test-machine-1.com test-machine2.come
15*760c253cSXin Li# test-machine3.com"
16*760c253cSXin Liremote: <your-remote-goes-here>
17*760c253cSXin Li
18*760c253cSXin Li# The example below will run all the benchmarks in the perf_v2 suite.
19*760c253cSXin Li# The exact list of benchmarks that will be run can be seen in
20*760c253cSXin Li# crosperf/experiment_factory.py
21*760c253cSXin Libenchmark: all_perfv2 {
22*760c253cSXin Li  suite:telemetry_Crosperf
23*760c253cSXin Li  iterations: 2
24*760c253cSXin Li}
25*760c253cSXin Li
26*760c253cSXin Li# The example below will run all the Telemetry page_cycler benchmarks.
27*760c253cSXin Li# The exact list of benchmarks that will be run can be seen in
28*760c253cSXin Li# crosperf/experiment_factory.py
29*760c253cSXin Libenchmark: all_pagecyclers {
30*760c253cSXin Li  suite:telemetry_Crosperf
31*760c253cSXin Li  iterations: 1
32*760c253cSXin Li}
33*760c253cSXin Li
34*760c253cSXin Li# The example below will run all the Telemetry page_cycler benchmarks.
35*760c253cSXin Li# The exact list of benchmarks that will be run can be seen in
36*760c253cSXin Li# crosperf/experiment_factory.py
37*760c253cSXin Libenchmark: all_toolchain_perf {
38*760c253cSXin Li  suite:telemetry_Crosperf
39*760c253cSXin Li  iterations: 1
40*760c253cSXin Li}
41*760c253cSXin Li
42*760c253cSXin Li# Replace the chromeos image below with the actual path to your test image.
43*760c253cSXin Litest_image_1 {
44*760c253cSXin Li  chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
45*760c253cSXin Li}
46*760c253cSXin Li
47*760c253cSXin Li# Replace the chromeos image below with the actual path to your second
48*760c253cSXin Li# test image (if desired).
49*760c253cSXin Linew_image {
50*760c253cSXin Li  chromeos_image:<path-to-your-other-chroot-goes-here>/src/build/images/<board-goes-here>/latest/chromiumos_test_image.bin
51*760c253cSXin Li}
52*760c253cSXin Li
53*760c253cSXin Li
54*760c253cSXin Li
55