2018-05-23 12:43:04 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"cmd": [
|
2019-09-09 22:36:05 +00:00
|
|
|
"vpython",
|
2018-05-23 12:43:04 +00:00
|
|
|
"-u",
|
2019-04-24 18:14:27 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\tmp"
|
2018-05-23 12:43:04 +00:00
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "makedirs tmp_dir"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
2019-09-09 22:36:05 +00:00
|
|
|
"vpython",
|
2018-05-23 12:43:04 +00:00
|
|
|
"-u",
|
2019-04-24 18:14:27 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
|
2018-05-23 12:43:04 +00:00
|
|
|
"/path/to/tmp/"
|
|
|
|
],
|
|
|
|
"infra_step": true,
|
2019-10-30 21:44:56 +00:00
|
|
|
"name": "Get skp VERSION",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@VERSION@42@@@",
|
|
|
|
"@@@STEP_LOG_END@VERSION@@@"
|
|
|
|
]
|
2018-05-23 12:43:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
2019-09-09 22:36:05 +00:00
|
|
|
"vpython",
|
2018-05-23 12:43:04 +00:00
|
|
|
"-u",
|
2019-04-24 18:14:27 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
|
|
|
"42",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\tmp\\SKP_VERSION"
|
2018-05-23 12:43:04 +00:00
|
|
|
],
|
|
|
|
"infra_step": true,
|
2019-06-25 11:15:57 +00:00
|
|
|
"name": "write SKP_VERSION",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@SKP_VERSION@42@@@",
|
|
|
|
"@@@STEP_LOG_END@SKP_VERSION@@@"
|
|
|
|
]
|
2018-05-23 12:43:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
2019-09-09 22:36:05 +00:00
|
|
|
"vpython",
|
2018-05-23 12:43:04 +00:00
|
|
|
"-u",
|
2019-04-24 18:14:27 +00:00
|
|
|
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\[SWARM_OUT_DIR]"
|
2018-05-23 12:43:04 +00:00
|
|
|
],
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "makedirs perf_dir"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\skia\\tools\\skpbench\\skpbench.py",
|
|
|
|
"[START_DIR]\\build\\skpbench",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--resultsfile",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\[SWARM_OUT_DIR]\\table",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--config",
|
|
|
|
"vk",
|
2020-09-24 17:42:47 +00:00
|
|
|
"--internalSamples",
|
|
|
|
"8",
|
2018-05-23 12:43:04 +00:00
|
|
|
"-v5",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\skp"
|
2018-05-23 12:43:04 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
2019-04-24 18:14:27 +00:00
|
|
|
"PATH": "<PATH>;RECIPE_REPO[depot_tools]"
|
2018-05-23 12:43:04 +00:00
|
|
|
},
|
|
|
|
"name": "skpbench"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
|
|
|
|
],
|
|
|
|
"name": "get swarming bot id",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
|
|
|
|
"@@@STEP_LOG_END@python.inline@@@"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
|
|
|
|
],
|
|
|
|
"name": "get swarming task id",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
|
|
|
"@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
|
|
|
|
"@@@STEP_LOG_END@python.inline@@@"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\skia\\tools\\skpbench\\skiaperf.py",
|
|
|
|
"[START_DIR]\\[SWARM_OUT_DIR]\\table",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--properties",
|
|
|
|
"gitHash",
|
|
|
|
"abc123",
|
|
|
|
"swarming_bot_id",
|
|
|
|
"skia-bot-123",
|
|
|
|
"swarming_task_id",
|
|
|
|
"123456",
|
|
|
|
"--outfile",
|
2019-04-24 18:14:27 +00:00
|
|
|
"[START_DIR]\\[SWARM_OUT_DIR]\\skpbench_abc123_1337000001.json",
|
2018-05-23 12:43:04 +00:00
|
|
|
"--key",
|
|
|
|
"arch",
|
|
|
|
"x86_64",
|
|
|
|
"compiler",
|
|
|
|
"Clang",
|
|
|
|
"cpu_or_gpu",
|
|
|
|
"GPU",
|
|
|
|
"cpu_or_gpu_value",
|
|
|
|
"QuadroP400",
|
|
|
|
"extra_config",
|
|
|
|
"Vulkan_Skpbench",
|
|
|
|
"model",
|
|
|
|
"Golo",
|
|
|
|
"os",
|
|
|
|
"Win10",
|
|
|
|
"test_filter",
|
|
|
|
"All"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
2019-04-24 18:14:27 +00:00
|
|
|
"PATH": "<PATH>;RECIPE_REPO[depot_tools]"
|
2018-05-23 12:43:04 +00:00
|
|
|
},
|
|
|
|
"name": "Parse skpbench output into Perf json"
|
|
|
|
},
|
|
|
|
{
|
2018-10-30 22:22:37 +00:00
|
|
|
"name": "$result"
|
2018-05-23 12:43:04 +00:00
|
|
|
}
|
|
|
|
]
|