Closed diondokter closed 3 months ago
Expected tolerance same
but got worse
instead
===================================================================
--- ./binsizes/binsize_master.txt
+++ ./binsizes/binsize_new.txt
@@ -1,23 +1,39 @@
+warning: constant `MAP_FLASH_RANGE` is never used
+ --> src/main.rs:20:11
+ |
+20 | const MAP_FLASH_RANGE: Range<u32> = 0xFC000..0x100000;
+ | ^^^^^^^^^^^^^^^
+ |
+ = note: `#[warn(dead_code)]` on by default
+
+warning: function `run_map` is never used
+ --> src/main.rs:85:10
+ |
+85 | async fn run_map<E: defmt::Format>(
+ | ^^^^^^^
+
+warning: 2 warnings emitted
+
example :
section size addr
.vector_table 256 0x0
-.text 17904 0x100
-.rodata 72 0x46f0
+.text 11656 0x100
+.rodata 4 0x2e88
.data 56 0x20000000
-.gnu.sgstubs 0 0x4780
+.gnu.sgstubs 0 0x2ee0
.bss 32784 0x20000038
.uninit 1024 0x20008048
-.defmt 33 0x0
-.debug_loc 109431 0x0
-.debug_abbrev 4115 0x0
-.debug_info 276379 0x0
-.debug_aranges 10336 0x0
-.debug_ranges 37264 0x0
-.debug_str 264706 0x0
+.defmt 24 0x0
+.debug_loc 99922 0x0
+.debug_abbrev 3993 0x0
+.debug_info 242751 0x0
+.debug_aranges 9920 0x0
+.debug_ranges 32440 0x0
+.debug_str 243194 0x0
.comment 72 0x0
.ARM.attributes 58 0x0
-.debug_frame 17568 0x0
-.debug_line 56222 0x0
-Total 828280
+.debug_frame 16444 0x0
+.debug_line 50320 0x0
+Total 744918
FILE SIZE VM SIZE
-------------- --------------
-8.0% -9 [ = ] 0 .defmt
-31.2% -20 [ = ] 0 [Unmapped]
-60.7% -68 -94.4% -68 .rodata
-2.9% -122 [ = ] 0 .debug_abbrev
-4.0% -416 [ = ] 0 .debug_aranges
-6.4% -1.10Ki [ = ] 0 .debug_frame
-25.7% -2.06Ki [ = ] 0 .symtab
-12.9% -4.71Ki [ = ] 0 .debug_ranges
-10.5% -5.76Ki [ = ] 0 .debug_line
-30.5% -5.96Ki [ = ] 0 .strtab
-34.8% -6.10Ki -34.9% -6.10Ki .text
-8.7% -9.29Ki [ = ] 0 .debug_loc
-8.1% -21.0Ki [ = ] 0 .debug_str
-12.2% -32.8Ki [ = ] 0 .debug_info
-11.1% -89.4Ki -12.1% -6.17Ki TOTAL
FILE SIZE VM SIZE
-------------- --------------
[ = ] 0 [ = ] 0 TOTAL
FILE SIZE VM SIZE
-------------- --------------
[ = ] 0 [ = ] 0 TOTAL
FILE SIZE VM SIZE
-------------- --------------
[ = ] 0 [ = ] 0 TOTAL
FILE SIZE VM SIZE
-------------- --------------
[ = ] 0 [ = ] 0 TOTAL
Smart Diff: Success
Check succeeded with tolerance
same
(expectedsame
or better)