• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/tmp"
13    ],
14    "infra_step": true,
15    "name": "makedirs tmp_dir"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "copy",
25      "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
26      "/path/to/tmp/"
27    ],
28    "infra_step": true,
29    "name": "Get skp VERSION"
30  },
31  {
32    "cmd": [
33      "python",
34      "-u",
35      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36      "--json-output",
37      "/path/to/tmp/json",
38      "copy",
39      "42",
40      "[START_DIR]/tmp/SKP_VERSION"
41    ],
42    "infra_step": true,
43    "name": "write SKP_VERSION"
44  },
45  {
46    "cmd": [
47      "python",
48      "-u",
49      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50      "--json-output",
51      "/path/to/tmp/json",
52      "ensure-directory",
53      "--mode",
54      "0777",
55      "[START_DIR]/[SWARM_OUT_DIR]"
56    ],
57    "infra_step": true,
58    "name": "makedirs perf_dir"
59  },
60  {
61    "cmd": [
62      "python",
63      "-u",
64      "[START_DIR]/skia/tools/skpbench/skpbench.py",
65      "[START_DIR]/build/skpbench",
66      "--resultsfile",
67      "[START_DIR]/[SWARM_OUT_DIR]/table",
68      "--config",
69      "vk",
70      "-v5",
71      "--ddl",
72      "--gpuThreads",
73      "0",
74      "--ddlNumAdditionalThreads",
75      "9",
76      "--ddlTilingWidthHeight",
77      "3",
78      "[START_DIR]/skp"
79    ],
80    "env": {
81      "CHROME_HEADLESS": "1",
82      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
83    },
84    "name": "skpbench"
85  },
86  {
87    "cmd": [
88      "python",
89      "-u",
90      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
91    ],
92    "name": "get swarming bot id",
93    "stdout": "/path/to/tmp/",
94    "~followup_annotations": [
95      "@@@STEP_LOG_LINE@python.inline@import os@@@",
96      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
97      "@@@STEP_LOG_END@python.inline@@@"
98    ]
99  },
100  {
101    "cmd": [
102      "python",
103      "-u",
104      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
105    ],
106    "name": "get swarming task id",
107    "stdout": "/path/to/tmp/",
108    "~followup_annotations": [
109      "@@@STEP_LOG_LINE@python.inline@import os@@@",
110      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
111      "@@@STEP_LOG_END@python.inline@@@"
112    ]
113  },
114  {
115    "cmd": [
116      "python",
117      "-u",
118      "[START_DIR]/skia/tools/skpbench/skiaperf.py",
119      "[START_DIR]/[SWARM_OUT_DIR]/table",
120      "--properties",
121      "gitHash",
122      "abc123",
123      "swarming_bot_id",
124      "skia-bot-123",
125      "swarming_task_id",
126      "123456",
127      "--outfile",
128      "[START_DIR]/[SWARM_OUT_DIR]/skpbench_abc123_1337000001.json",
129      "--key",
130      "arch",
131      "x86_64",
132      "compiler",
133      "Clang",
134      "cpu_or_gpu",
135      "GPU",
136      "cpu_or_gpu_value",
137      "QuadroP400",
138      "extra_config",
139      "Vulkan_Skpbench_DDLTotal_9x9",
140      "model",
141      "Golo",
142      "os",
143      "Win10",
144      "test_filter",
145      "All"
146    ],
147    "env": {
148      "CHROME_HEADLESS": "1",
149      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
150    },
151    "name": "Parse skpbench output into Perf json"
152  },
153  {
154    "jsonResult": null,
155    "name": "$result"
156  }
157]