• 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      "copy",
53      "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
54      "/path/to/tmp/"
55    ],
56    "infra_step": true,
57    "name": "Get skimage VERSION"
58  },
59  {
60    "cmd": [
61      "python",
62      "-u",
63      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
64      "--json-output",
65      "/path/to/tmp/json",
66      "copy",
67      "42",
68      "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
69    ],
70    "infra_step": true,
71    "name": "write SK_IMAGE_VERSION"
72  },
73  {
74    "cmd": [
75      "python",
76      "-u",
77      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
78      "--json-output",
79      "/path/to/tmp/json",
80      "copy",
81      "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
82      "/path/to/tmp/"
83    ],
84    "infra_step": true,
85    "name": "Get svg VERSION"
86  },
87  {
88    "cmd": [
89      "python",
90      "-u",
91      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
92      "--json-output",
93      "/path/to/tmp/json",
94      "copy",
95      "42",
96      "[START_DIR]\\tmp\\SVG_VERSION"
97    ],
98    "infra_step": true,
99    "name": "write SVG_VERSION"
100  },
101  {
102    "cmd": [
103      "python",
104      "-u",
105      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
106      "--json-output",
107      "/path/to/tmp/json",
108      "rmtree",
109      "[START_DIR]\\[SWARM_OUT_DIR]"
110    ],
111    "infra_step": true,
112    "name": "rmtree [SWARM_OUT_DIR]"
113  },
114  {
115    "cmd": [
116      "python",
117      "-u",
118      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
119      "--json-output",
120      "/path/to/tmp/json",
121      "ensure-directory",
122      "--mode",
123      "0777",
124      "[START_DIR]\\[SWARM_OUT_DIR]"
125    ],
126    "infra_step": true,
127    "name": "makedirs [SWARM_OUT_DIR]"
128  },
129  {
130    "cmd": [
131      "python",
132      "-u",
133      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
134    ],
135    "name": "get swarming bot id",
136    "stdout": "/path/to/tmp/",
137    "~followup_annotations": [
138      "@@@STEP_LOG_LINE@python.inline@import os@@@",
139      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
140      "@@@STEP_LOG_END@python.inline@@@"
141    ]
142  },
143  {
144    "cmd": [
145      "python",
146      "-u",
147      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
148    ],
149    "name": "get swarming task id",
150    "stdout": "/path/to/tmp/",
151    "~followup_annotations": [
152      "@@@STEP_LOG_LINE@python.inline@import os@@@",
153      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
154      "@@@STEP_LOG_END@python.inline@@@"
155    ]
156  },
157  {
158    "cmd": [
159      "[START_DIR]\\build\\nanobench",
160      "-i",
161      "[START_DIR]\\skia\\resources",
162      "--skps",
163      "[START_DIR]\\skp",
164      "--images",
165      "[START_DIR]\\skimage\\nanobench",
166      "--svgs",
167      "[START_DIR]\\svg",
168      "--pre_log",
169      "--images",
170      "--gpuStatsDump",
171      "true",
172      "--scales",
173      "1.0",
174      "1.1",
175      "--nocpu",
176      "--config",
177      "angle_d3d11_es2",
178      "angle_d3d11_es2_msaa8",
179      "angle_gl_es2",
180      "angle_gl_es2_msaa8",
181      "--reduceOpListSplitting",
182      "--match",
183      "~inc0.gif",
184      "~inc1.gif",
185      "~incInterlaced.gif",
186      "~inc0.jpg",
187      "~incGray.jpg",
188      "~inc0.wbmp",
189      "~inc1.wbmp",
190      "~inc0.webp",
191      "~inc1.webp",
192      "~inc0.ico",
193      "~inc1.ico",
194      "~inc0.png",
195      "~inc1.png",
196      "~inc2.png",
197      "~inc12.png",
198      "~inc13.png",
199      "~inc14.png",
200      "~inc0.webp",
201      "~inc1.webp",
202      "--outResultsFile",
203      "[START_DIR]\\[SWARM_OUT_DIR]\\nanobench_abc123_1337000001.json",
204      "--properties",
205      "gitHash",
206      "abc123",
207      "swarming_bot_id",
208      "skia-bot-123",
209      "swarming_task_id",
210      "123456",
211      "--key",
212      "arch",
213      "x86_64",
214      "compiler",
215      "Clang",
216      "cpu_or_gpu",
217      "GPU",
218      "cpu_or_gpu_value",
219      "QuadroP400",
220      "extra_config",
221      "ANGLE",
222      "model",
223      "Golo",
224      "os",
225      "Win10"
226    ],
227    "env": {
228      "CHROME_HEADLESS": "1",
229      "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]"
230    },
231    "name": "nanobench"
232  },
233  {
234    "cmd": [
235      "python",
236      "-u",
237      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
238      "--json-output",
239      "/path/to/tmp/json",
240      "ensure-directory",
241      "--mode",
242      "0777",
243      "[START_DIR]\\[SWARM_OUT_DIR]"
244    ],
245    "infra_step": true,
246    "name": "makedirs perf_dir"
247  },
248  {
249    "jsonResult": null,
250    "name": "$result"
251  }
252]