skia2/infra/bots/task_drivers
Leandro Lovisolo b7eaeadf3f [codesize] Add CodeSize-dm-Debian10-Clang-x86_64-Release task.
This CL adds the task driver and plumbing necessary to run CI tasks that upload build statistics to https://codesize.skia.org.

For now, a single CodeSize-dm-Debian10-Clang-x86_64-Release task is defined, which as the name suggests:

- Depends on Build-Debian10-Clang-x86_64-Release.
- Takes the "dm" binary built by the aforementioned job.
- Runs Bloaty against said binary.
- Uploads the Bloaty output, along with a JSON file with metadata, to the GCS bucket where https://codesize.skia.org gets its data from.

If one wishes to upload codesize statistics for another binary, the steps are as follows:

- Identify the target binary, for example "fm".
- Identify a compile task that builds said binary with the desired settings, for example "Build-Debian10-Clang-x86_64-Debug".
- Add a new job in //infra/bots/jobs.json named "CodeSize-<binary>-<compile task>", where <compile task> is the name of the compile task without the "Build-" prefix, for example "CodeSize-fm-Debian10-Clang-x86_64-Debug".
- Run "make train" from the //infra/bots directory.

Eventually the codesize.skia.org webserver will automatically pick up the output of any such CodeSize-* task and show it in the UI, with no additional steps needed.

One caveat is that the binary file name, and therefore the "<binary>" part of the task name, cannot contain dashes. This is due to how //infra/bots/gen_tasks_logic.go works. See comments in said Go file for ideas on how to work around this if we ever need to.

Bug: skia:12151
Change-Id: If406944ca7660c4dd15c8e6b8f34e48c65cbbe2f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502788
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
2022-02-11 22:05:19 +00:00
..
codesize [codesize] Add CodeSize-dm-Debian10-Clang-x86_64-Release task. 2022-02-11 22:05:19 +00:00
compile_wasm_gm_tests [canvaskit] Disable dynamic execution 2022-02-01 13:15:22 +00:00
fm_driver [infra] Make jobs use Gold's public hashes 2021-11-09 17:50:55 +00:00
g3_canary Add new g3_canary_infra_failure metric 2021-12-21 20:30:25 +00:00
perf_puppeteer_canvas [infra] Sync to latest infra repo. 2020-10-20 13:56:41 +00:00
perf_puppeteer_render_skps Skip motionmarkleaves SKP on WASM+CPU 2021-11-03 18:56:25 +00:00
perf_puppeteer_skottie_frames [skottie] Update lotties_with_assets to include all lotties from lottie-samples 2021-06-28 14:59:24 +00:00
push_apps_from_skia_image Setup autodeployment for api's bazel build 2022-01-14 00:21:29 +00:00
push_bazel_apps_from_wasm_image Setup autodeployment for fiddler's bazel build 2022-01-12 19:19:08 +00:00
recreate_skps Report metrics in RecreateSKPs bot 2021-12-23 15:32:51 +00:00
run_gn_to_bp [infra] Sync to latest infra repo. 2020-10-20 13:56:41 +00:00
run_wasm_gm_tests [infra] Make jobs use Gold's public hashes 2021-11-09 17:50:55 +00:00