1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
7      "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
8      "/path/to/tmp/"
9    ],
10    "infra_step": true,
11    "name": "Get downloaded SKP VERSION"
12  },
13  {
14    "cmd": [
15      "python",
16      "-u",
17      "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
18      "42",
19      "[START_DIR]\\tmp\\SKP_VERSION"
20    ],
21    "infra_step": true,
22    "name": "write SKP_VERSION"
23  },
24  {
25    "cmd": [
26      "python",
27      "-u",
28      "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
29      "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
30      "/path/to/tmp/"
31    ],
32    "infra_step": true,
33    "name": "Get downloaded skimage VERSION"
34  },
35  {
36    "cmd": [
37      "python",
38      "-u",
39      "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
40      "42",
41      "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
42    ],
43    "infra_step": true,
44    "name": "write SK_IMAGE_VERSION"
45  },
46  {
47    "cmd": [
48      "python",
49      "-u",
50      "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
51      "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
52      "/path/to/tmp/"
53    ],
54    "infra_step": true,
55    "name": "Get downloaded SVG VERSION"
56  },
57  {
58    "cmd": [
59      "python",
60      "-u",
61      "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
62      "42",
63      "[START_DIR]\\tmp\\SVG_VERSION"
64    ],
65    "infra_step": true,
66    "name": "write SVG_VERSION"
67  },
68  {
69    "cmd": [
70      "python",
71      "-u",
72      "RECIPE_MODULE[build::file]\\resources\\fileutil.py",
73      "rmtree",
74      "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data"
75    ],
76    "env": {
77      "PYTHONPATH": "[START_DIR]\\skia\\infra\\bots\\.recipe_deps\\build\\scripts"
78    },
79    "infra_step": true,
80    "name": "rmtree data"
81  },
82  {
83    "cmd": [
84      "python",
85      "-u",
86      "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n  if os.path.exists(path):\n    print \"%s exists but is not a dir\" % path\n    sys.exit(1)\n  os.makedirs(path, mode)\n",
87      "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data",
88      "511"
89    ],
90    "infra_step": true,
91    "name": "makedirs data",
92    "~followup_annotations": [
93      "@@@STEP_LOG_LINE@python.inline@@@@",
94      "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
95      "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
96      "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
97      "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
98      "@@@STEP_LOG_LINE@python.inline@  if os.path.exists(path):@@@",
99      "@@@STEP_LOG_LINE@python.inline@    print \"%s exists but is not a dir\" % path@@@",
100      "@@@STEP_LOG_LINE@python.inline@    sys.exit(1)@@@",
101      "@@@STEP_LOG_LINE@python.inline@  os.makedirs(path, mode)@@@",
102      "@@@STEP_LOG_END@python.inline@@@"
103    ]
104  },
105  {
106    "cmd": [
107      "[START_DIR]\\out\\Release_x64\\nanobench",
108      "--undefok",
109      "-i",
110      "[START_DIR]\\skia\\resources",
111      "--skps",
112      "[START_DIR]\\skp",
113      "--images",
114      "[START_DIR]\\skimage\\nanobench",
115      "--svgs",
116      "[START_DIR]\\svg",
117      "--nocpu",
118      "--pre_log",
119      "--images",
120      "--gpuStatsDump",
121      "true",
122      "--scales",
123      "1.0",
124      "1.1",
125      "--config",
126      "vk",
127      "--match",
128      "~GM_varied_text_clipped_lcd",
129      "~GM_varied_text_ignorable_clip_lcd",
130      "~Xfermode_DstATop_aa",
131      "~Xfermode_SrcIn_aa",
132      "~Xfermode_SrcOut_aa",
133      "~Xfermode_Src_aa",
134      "~fontscaler_lcd",
135      "~rotated_rects_aa_alternating_transparent_and_opaque_src",
136      "~rotated_rects_aa_changing_transparent_src",
137      "~rotated_rects_aa_same_transparent_src",
138      "~shadermask_LCD_FF",
139      "~srcmode_rects_1",
140      "~text_16_LCD_88",
141      "~text_16_LCD_BK",
142      "~text_16_LCD_FF",
143      "~text_16_LCD_WT",
144      "~inc0.gif",
145      "~inc1.gif",
146      "~incInterlaced.gif",
147      "~inc0.jpg",
148      "~incGray.jpg",
149      "~inc0.wbmp",
150      "~inc1.wbmp",
151      "~inc0.webp",
152      "~inc1.webp",
153      "~inc0.ico",
154      "~inc1.ico",
155      "~inc0.png",
156      "~inc1.png",
157      "~inc2.png",
158      "~inc12.png",
159      "~inc13.png",
160      "~inc14.png",
161      "~inc0.webp",
162      "~inc1.webp",
163      "--outResultsFile",
164      "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data\\nanobench_abc123_1337000001.json",
165      "--properties",
166      "gitHash",
167      "abc123",
168      "build_number",
169      "5",
170      "--key",
171      "arch",
172      "x86_64",
173      "compiler",
174      "MSVC",
175      "cpu_or_gpu",
176      "GPU",
177      "cpu_or_gpu_value",
178      "IntelIris540",
179      "extra_config",
180      "Vulkan",
181      "model",
182      "NUC",
183      "os",
184      "Win10"
185    ],
186    "env": {
187      "BUILDTYPE": "Release_x64",
188      "CHROME_HEADLESS": "1",
189      "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
190      "SKIA_OUT": "[START_DIR]\\out"
191    },
192    "name": "nanobench"
193  },
194  {
195    "cmd": [
196      "python",
197      "-u",
198      "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n  if os.path.exists(path):\n    print \"%s exists but is not a dir\" % path\n    sys.exit(1)\n  os.makedirs(path, mode)\n",
199      "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data",
200      "511"
201    ],
202    "name": "makedirs perf_dir",
203    "~followup_annotations": [
204      "@@@STEP_LOG_LINE@python.inline@@@@",
205      "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
206      "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
207      "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
208      "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
209      "@@@STEP_LOG_LINE@python.inline@  if os.path.exists(path):@@@",
210      "@@@STEP_LOG_LINE@python.inline@    print \"%s exists but is not a dir\" % path@@@",
211      "@@@STEP_LOG_LINE@python.inline@    sys.exit(1)@@@",
212      "@@@STEP_LOG_LINE@python.inline@  os.makedirs(path, mode)@@@",
213      "@@@STEP_LOG_END@python.inline@@@"
214    ]
215  },
216  {
217    "name": "$result",
218    "recipe_result": null,
219    "status_code": 0
220  }
221]