codesize

command
v0.0.0-...-e3dfcd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL