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 "~followup_annotations": [ 45 "@@@STEP_LOG_LINE@SKP_VERSION@42@@@", 46 "@@@STEP_LOG_END@SKP_VERSION@@@" 47 ] 48 }, 49 { 50 "cmd": [ 51 "python", 52 "-u", 53 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 54 "--json-output", 55 "/path/to/tmp/json", 56 "ensure-directory", 57 "--mode", 58 "0777", 59 "[START_DIR]\\[SWARM_OUT_DIR]" 60 ], 61 "infra_step": true, 62 "name": "makedirs perf_dir" 63 }, 64 { 65 "cmd": [ 66 "python", 67 "-u", 68 "[START_DIR]\\skia\\tools\\skpbench\\skpbench.py", 69 "[START_DIR]\\build\\skpbench", 70 "--resultsfile", 71 "[START_DIR]\\[SWARM_OUT_DIR]\\table", 72 "--config", 73 "vk", 74 "-v5", 75 "[START_DIR]\\skp" 76 ], 77 "env": { 78 "CHROME_HEADLESS": "1", 79 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 80 }, 81 "name": "skpbench" 82 }, 83 { 84 "cmd": [ 85 "python", 86 "-u", 87 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 88 ], 89 "name": "get swarming bot id", 90 "~followup_annotations": [ 91 "@@@STEP_LOG_LINE@python.inline@import os@@@", 92 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 93 "@@@STEP_LOG_END@python.inline@@@" 94 ] 95 }, 96 { 97 "cmd": [ 98 "python", 99 "-u", 100 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 101 ], 102 "name": "get swarming task id", 103 "~followup_annotations": [ 104 "@@@STEP_LOG_LINE@python.inline@import os@@@", 105 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 106 "@@@STEP_LOG_END@python.inline@@@" 107 ] 108 }, 109 { 110 "cmd": [ 111 "python", 112 "-u", 113 "[START_DIR]\\skia\\tools\\skpbench\\skiaperf.py", 114 "[START_DIR]\\[SWARM_OUT_DIR]\\table", 115 "--properties", 116 "gitHash", 117 "abc123", 118 "swarming_bot_id", 119 "skia-bot-123", 120 "swarming_task_id", 121 "123456", 122 "--outfile", 123 "[START_DIR]\\[SWARM_OUT_DIR]\\skpbench_abc123_1337000001.json", 124 "--key", 125 "arch", 126 "x86_64", 127 "compiler", 128 "Clang", 129 "cpu_or_gpu", 130 "GPU", 131 "cpu_or_gpu_value", 132 "QuadroP400", 133 "extra_config", 134 "Vulkan_Skpbench", 135 "model", 136 "Golo", 137 "os", 138 "Win10", 139 "test_filter", 140 "All" 141 ], 142 "env": { 143 "CHROME_HEADLESS": "1", 144 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 145 }, 146 "name": "Parse skpbench output into Perf json" 147 }, 148 { 149 "name": "$result" 150 } 151]