diff --git a/builder/size-report.html b/builder/size-report.html index d9c4822b9..2afb5c43d 100644 --- a/builder/size-report.html +++ b/builder/size-report.html @@ -11,6 +11,12 @@ border-left: calc(var(--bs-border-width) * 2) solid currentcolor; } +/* Hover on only the rows that are clickable. */ +.row-package:hover > * { + --bs-table-color-state: var(--bs-table-hover-color); + --bs-table-bg-state: var(--bs-table-hover-bg); +} +
@@ -29,6 +35,9 @@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.
You can click on the rows below to see which files contribute to the binary size.
+| {{.Name}} | {{.Size.Code}} | {{.Size.ROData}} | @@ -53,6 +62,24 @@ {{.Size.Flash}}|||
| + {{if eq $filename ""}} + (unknown file) + {{else}} + {{$filename}} + {{end}} + | +{{$sizes.Code}} | +{{$sizes.ROData}} | +{{$sizes.Data}} | +{{$sizes.BSS}} | ++ {{$sizes.Flash}} + | +