Documentation
¶
Overview ¶
This task driver takes a binary (e.g. "dm") built by a Build-* task (e.g. "Build-Debian10-Clang-x86_64-Release"), runs Bloaty against the binary, and uploads the resulting code size statistics to the GCS bucket belonging to the https://codesize.skia.org service.
When running as a tryjob, this task driver performs a size diff of said binary built at the tryjob's changelist/patchset vs. built at tip-of-tree. The binary built at tip-of-tree is produced by a *-NoPatch task (e.g. "Build-Debian10-Clang-x86_64-Release-NoPatch"), whereas the binary built at the tryjob's changelist/patchset is produced by a task of the same name except without the "-NoPatch" suffix (e.g. "Build-Debian10-Clang-x86_64-Release"). The size diff is calculated using Bloaty, see https://github.com/google/bloaty/blob/f01ea59bdda11708d74a3826c23d6e2db6c996f0/doc/using.md#size-diffs. The resulting diff is uploaded to the GCS bucket belonging to the https://codesize.skia.org service.