Size Report for {{.pkgName}}

How much space is used by Go packages, C libraries, and other bits to set up the program environment.

The binary size consists of code, read-only data, and data. On microcontrollers, this is exactly the size of the firmware image. On other systems, there is some extra overhead: binary metadata (headers of the ELF/MachO/COFF file), debug information, exception tables, symbol names, etc. Using -no-debug strips most of those.

Program breakdown

{{range .sizes}} {{end}}
Package Code Read-only data Data BSS Binary size
{{.Name}} {{.Size.Code}} {{.Size.ROData}} {{.Size.Data}} {{.Size.BSS}} {{.Size.Flash}}
Total {{.sizeTotal.code}} {{.sizeTotal.rodata}} {{.sizeTotal.data}} {{.sizeTotal.bss}} {{.sizeTotal.flash}}