Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mrp] Fix #15799 - add exponential backoff. #16026

Merged
merged 14 commits into from
Mar 30, 2022
Merged

Conversation

turon
Copy link
Contributor

@turon turon commented Mar 9, 2022

Problem

Fix #15799 - implement exponential backoff in MRP..

#15800 is related, but would come as a separate PR.

Change overview

Implements the backoff algorithm as specified but in fixed point:

t = i⋅MRP_BACKOFF_BASE^max(0,n−MRP_BACKOFF_THRESHOLD) ⋅ (1.0+random(0,1)⋅MRP_BACKOFF_JITTER)

Where:

  t = the resultant retransmission timeout for this transmission
  n = the transmission count of the message, starting with 0 
  i = the base retry interval for the Exchange (either IDLE or ACTIVE)

MRP_BACKOFF_BASE      | 1.6  | The base number for the exponential backoff equation.
MRP_BACKOFF_JITTER    | 0.25 | The scaler for random jitter in the backoff equation.
MRP_BACKOFF_THRESHOLD | 1    | # of retransmissions before transition from linear to exponential backoff.

Testing

How was this tested? (at least one bullet point required)

  • CI
  • Includes Unit test
  • Working on unit tests in draft phase

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

PR #16026: Size comparison from 8a07515 to 87de146

Increases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8a07515 87de146 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602138 602226 88 0.0
.app_xip_area 506656 506744 88 0.0
lock cyw930739m2evb_01 (read/write) 560038 560126 88 0.0
.app_xip_area 466092 466180 88 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570146 570234 88 0.0
.app_xip_area 466504 466592 88 0.0
efr32 lighting-app BRD4161A (read only) 922536 922632 96 0.0
.text 922528 922624 96 0.0
BRD4161A+rpc (read only) 951348 951444 96 0.0
.text 951340 951436 96 0.0
window-app BRD4161A (read only) 854524 854620 96 0.0
.text 854516 854612 96 0.0
esp32 all-clusters-app c3devkit (read only) 958658 958770 112 0.0
.flash.text 958658 958770 112 0.0
m5stack (read only) 1013703 1013823 120 0.0
.flash.text 1008319 1008439 120 0.0
k32w light k32w061+release (read/write) 696128 696208 80 0.0
.text 610620 610700 80 0.0
lock k32w061+release (read/write) 696908 696988 80 0.0
.text 611440 611520 80 0.0
linux all-clusters-app debug (read only) 2432801 2433553 752 0.0
.text 2064050 2064802 752 0.0
bridge-app debug+rpc (read only) 1737365 1738101 736 0.0
.text 1479461 1480197 736 0.0
chip-tool debug (read only) 9937029 9937637 608 0.0
.text 8644725 8645333 608 0.0
chip-tool-ipv6only arm64 (read only) 9585564 9586092 528 0.0
.text 8050996 8051524 528 0.0
door-lock-app debug (read only) 1951665 1952401 736 0.0
.text 1629202 1629938 736 0.0
lighting-app debug+rpc (read only) 2084009 2084761 752 0.0
.text 1762306 1763058 752 0.0
ota-provider-app debug (read only) 1884521 1885257 736 0.0
.text 1574738 1575474 736 0.0
ota-requestor-app debug (read only) 1912065 1912801 736 0.0
.text 1606690 1607426 736 0.0
shell debug (read only) 2398945 2399697 752 0.0
.text 2036690 2037442 752 0.0
thermostat-no-ble arm64 (read only) 2180332 2180972 640 0.0
.text 1828544 1829184 640 0.0
tv-app debug (read only) 2624761 2625369 608 0.0
.text 2251026 2251634 608 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351868 2351932 64 0.0
.text 1314468 1314532 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153239 1153335 96 0.0
text 786700 786784 84 0.0
p6 all-clusters-app default (read/write) 2495808 2495904 96 0.0
.text 1454072 1454168 96 0.0
light-app default (read/write) 2399192 2399288 96 0.0
.text 1357456 1357552 96 0.0
lock-app default (read/write) 2362624 2362720 96 0.0
.text 1320888 1320984 96 0.0
telink lighting-app tlsr9518adk80d (read/write) 889718 889822 104 0.0
text 629024 629128 104 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8a07515 87de146 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602138 602226 88 0.0
.app_xip_area 506656 506744 88 0.0
.bss 78172 78172 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560038 560126 88 0.0
.app_xip_area 466092 466180 88 0.0
.bss 76676 76676 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570146 570234 88 0.0
.app_xip_area 466504 466592 88 0.0
.bss 86012 86012 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922536 922632 96 0.0
(read/write) 128888 128888 0 0.0
.bss 126808 126808 0 0.0
.data 2080 2080 0 0.0
.text 922528 922624 96 0.0
BRD4161A+rpc (read only) 951348 951444 96 0.0
(read/write) 144844 144844 0 0.0
.bss 142584 142584 0 0.0
.data 2260 2260 0 0.0
.text 951340 951436 96 0.0
window-app BRD4161A (read only) 854524 854620 96 0.0
(read/write) 126852 126852 0 0.0
.bss 124936 124936 0 0.0
.data 1916 1916 0 0.0
.text 854516 854612 96 0.0
esp32 all-clusters-app c3devkit (read only) 958658 958770 112 0.0
(read/write) 1393770 1393770 0 0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197056 197056 0 0.0
.flash.text 958658 958770 112 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013703 1013823 120 0.0
(read/write) 461028 461028 0 0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226032 226032 0 0.0
.flash.text 1008319 1008439 120 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696128 696208 80 0.0
.bss 77744 77744 0 0.0
.data 1964 1964 0 0.0
.text 610620 610700 80 0.0
lock k32w061+release (read/write) 696908 696988 80 0.0
.bss 77704 77704 0 0.0
.data 1964 1964 0 0.0
.text 611440 611520 80 0.0
linux all-clusters-app debug (read only) 2432801 2433553 752 0.0
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205765 0 0.0
.text 2064050 2064802 752 0.0
bridge-app debug+rpc (read only) 1737365 1738101 736 0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141932 141932 0 0.0
.text 1479461 1480197 736 0.0
chip-tool debug (read only) 9937029 9937637 608 0.0
(read/write) 356152 356152 0 0.0
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 323336 323336 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514420 514420 0 0.0
.text 8644725 8645333 608 0.0
chip-tool-ipv6only arm64 (read only) 9585564 9586092 528 0.0
(read/write) 472945 472945 0 0.0
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 369312 0 0.0
.dynamic 560 560 0 0.0
.got 54680 54680 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490436 490436 0 0.0
.text 8050996 8051524 528 0.0
door-lock-app debug (read only) 1951665 1952401 736 0.0
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173820 173820 0 0.0
.text 1629202 1629938 736 0.0
lighting-app debug+rpc (read only) 2084009 2084761 752 0.0
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 166044 0 0.0
.text 1762306 1763058 752 0.0
ota-provider-app debug (read only) 1884521 1885257 736 0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159059 159059 0 0.0
.text 1574738 1575474 736 0.0
ota-requestor-app debug (read only) 1912065 1912801 736 0.0
(read/write) 117832 117832 0 0.0
.bss 51552 51552 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154860 154860 0 0.0
.text 1606690 1607426 736 0.0
shell debug (read only) 2398945 2399697 752 0.0
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205682 205682 0 0.0
.text 2036690 2037442 752 0.0
thermostat-no-ble arm64 (read only) 2180332 2180972 640 0.0
(read/write) 148833 148833 0 0.0
.bss 65409 65409 0 0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133196 133196 0 0.0
.text 1828544 1829184 640 0.0
tv-app debug (read only) 2624761 2625369 608 0.0
(read/write) 251000 251000 0 0.0
.bss 168160 168160 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199645 199645 0 0.0
.text 2251026 2251634 608 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351868 2351932 64 0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314468 1314532 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153239 1153335 96 0.0
bss 146848 146848 0 0.0
rodata 144448 144448 0 0.0
text 786700 786784 84 0.0
p6 all-clusters-app default (read/write) 2495808 2495904 96 0.0
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1454072 1454168 96 0.0
light-app default (read/write) 2399192 2399288 96 0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357456 1357552 96 0.0
lock-app default (read/write) 2362624 2362720 96 0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320888 1320984 96 0.0
telink lighting-app tlsr9518adk80d (read/write) 889718 889822 104 0.0
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629024 629128 104 0.0

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

PR #16026: Size comparison from a8567aa to 69ece1b

Increases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a8567aa 69ece1b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 602290 88 0.0
.app_xip_area 506720 506808 88 0.0
lock cyw930739m2evb_01 (read/write) 560078 560166 88 0.0
.app_xip_area 466132 466220 88 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 570314 88 0.0
.app_xip_area 466584 466672 88 0.0
efr32 lighting-app BRD4161A (read only) 922240 922336 96 0.0
.text 922232 922328 96 0.0
BRD4161A+rpc (read only) 951076 951172 96 0.0
.text 951068 951164 96 0.0
window-app BRD4161A (read only) 854412 854508 96 0.0
.text 854404 854500 96 0.0
esp32 all-clusters-app c3devkit (read only) 958694 958806 112 0.0
.flash.text 958694 958806 112 0.0
m5stack (read only) 1013715 1013835 120 0.0
.flash.text 1008331 1008451 120 0.0
k32w light k32w061+release (read/write) 696264 696360 96 0.0
.text 610756 610852 96 0.0
lock k32w061+release (read/write) 697016 697096 80 0.0
.text 611548 611628 80 0.0
linux all-clusters-app debug (read only) 2432289 2433041 752 0.0
.text 2063538 2064290 752 0.0
bridge-app debug+rpc (read only) 1737061 1737813 752 0.0
.text 1479125 1479877 752 0.1
chip-tool debug (read only) 9937749 9938357 608 0.0
.text 8645413 8646021 608 0.0
chip-tool-ipv6only arm64 (read only) 9586076 9586604 528 0.0
.text 8051508 8052036 528 0.0
door-lock-app debug (read only) 1951521 1952273 752 0.0
.text 1629026 1629778 752 0.0
lighting-app debug+rpc (read only) 2083689 2084425 736 0.0
.text 1761986 1762722 736 0.0
ota-provider-app debug (read only) 1884793 1885545 752 0.0
.text 1574978 1575730 752 0.0
ota-requestor-app debug (read only) 1912225 1912961 736 0.0
.text 1606818 1607554 736 0.0
shell debug (read only) 2398465 2399217 752 0.0
.text 2036178 2036930 752 0.0
thermostat-no-ble arm64 (read only) 2180428 2181068 640 0.0
.text 1828608 1829248 640 0.0
tv-app debug (read only) 2624745 2625337 592 0.0
.text 2250978 2251570 592 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351892 2351956 64 0.0
.text 1314492 1314556 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1153459 80 0.0
text 786808 786892 84 0.0
p6 all-clusters-app default (read/write) 2495488 2495584 96 0.0
.text 1453752 1453848 96 0.0
light-app default (read/write) 2398960 2399056 96 0.0
.text 1357224 1357320 96 0.0
lock-app default (read/write) 2362520 2362616 96 0.0
.text 1320784 1320880 96 0.0
telink lighting-app tlsr9518adk80d (read/write) 889826 889930 104 0.0
text 629098 629202 104 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a8567aa 69ece1b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 602290 88 0.0
.app_xip_area 506720 506808 88 0.0
.bss 78172 78172 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560078 560166 88 0.0
.app_xip_area 466132 466220 88 0.0
.bss 76676 76676 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 570314 88 0.0
.app_xip_area 466584 466672 88 0.0
.bss 86012 86012 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922240 922336 96 0.0
(read/write) 128888 128888 0 0.0
.bss 126808 126808 0 0.0
.data 2080 2080 0 0.0
.text 922232 922328 96 0.0
BRD4161A+rpc (read only) 951076 951172 96 0.0
(read/write) 144844 144844 0 0.0
.bss 142584 142584 0 0.0
.data 2260 2260 0 0.0
.text 951068 951164 96 0.0
window-app BRD4161A (read only) 854412 854508 96 0.0
(read/write) 126852 126852 0 0.0
.bss 124936 124936 0 0.0
.data 1916 1916 0 0.0
.text 854404 854500 96 0.0
esp32 all-clusters-app c3devkit (read only) 958694 958806 112 0.0
(read/write) 1393802 1393802 0 0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197088 197088 0 0.0
.flash.text 958694 958806 112 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013715 1013835 120 0.0
(read/write) 461052 461052 0 0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226056 226056 0 0.0
.flash.text 1008331 1008451 120 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696264 696360 96 0.0
.bss 77744 77744 0 0.0
.data 1964 1964 0 0.0
.text 610756 610852 96 0.0
lock k32w061+release (read/write) 697016 697096 80 0.0
.bss 77704 77704 0 0.0
.data 1964 1964 0 0.0
.text 611548 611628 80 0.0
linux all-clusters-app debug (read only) 2432289 2433041 752 0.0
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205765 0 0.0
.text 2063538 2064290 752 0.0
bridge-app debug+rpc (read only) 1737061 1737813 752 0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141964 141964 0 0.0
.text 1479125 1479877 752 0.1
chip-tool debug (read only) 9937749 9938357 608 0.0
(read/write) 356152 356152 0 0.0
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 323336 323336 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514452 514452 0 0.0
.text 8645413 8646021 608 0.0
chip-tool-ipv6only arm64 (read only) 9586076 9586604 528 0.0
(read/write) 472945 472945 0 0.0
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 369312 0 0.0
.dynamic 560 560 0 0.0
.got 54680 54680 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490436 490436 0 0.0
.text 8051508 8052036 528 0.0
door-lock-app debug (read only) 1951521 1952273 752 0.0
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173852 173852 0 0.0
.text 1629026 1629778 752 0.0
lighting-app debug+rpc (read only) 2083689 2084425 736 0.0
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 166044 0 0.0
.text 1761986 1762722 736 0.0
ota-provider-app debug (read only) 1884793 1885545 752 0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159091 159091 0 0.0
.text 1574978 1575730 752 0.0
ota-requestor-app debug (read only) 1912225 1912961 736 0.0
(read/write) 117832 117832 0 0.0
.bss 51552 51552 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154892 154892 0 0.0
.text 1606818 1607554 736 0.0
shell debug (read only) 2398465 2399217 752 0.0
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205714 205714 0 0.0
.text 2036178 2036930 752 0.0
thermostat-no-ble arm64 (read only) 2180428 2181068 640 0.0
(read/write) 148833 148833 0 0.0
.bss 65409 65409 0 0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133228 133228 0 0.0
.text 1828608 1829248 640 0.0
tv-app debug (read only) 2624745 2625337 592 0.0
(read/write) 251000 251000 0 0.0
.bss 168160 168160 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199677 199677 0 0.0
.text 2250978 2251570 592 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351892 2351956 64 0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314492 1314556 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1153459 80 0.0
bss 146848 146848 0 0.0
rodata 144476 144476 0 0.0
text 786808 786892 84 0.0
p6 all-clusters-app default (read/write) 2495488 2495584 96 0.0
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1453752 1453848 96 0.0
light-app default (read/write) 2398960 2399056 96 0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357224 1357320 96 0.0
lock-app default (read/write) 2362520 2362616 96 0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320784 1320880 96 0.0
telink lighting-app tlsr9518adk80d (read/write) 889826 889930 104 0.0
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629098 629202 104 0.0

@turon turon closed this Mar 9, 2022
@turon turon reopened this Mar 10, 2022
@github-actions
Copy link

github-actions bot commented Mar 10, 2022

PR #16026: Size comparison from a8567aa to a8b4057

Increases above 0.2%:

platform target config section a8567aa a8b4057 change % change
linux chip-tool debug (read only) 9937749 10093957 156208 1.6
(read/write) 356152 358168 2016 0.6
.data.rel.ro 323336 325352 2016 0.6
.text 8645413 8797077 151664 1.8
chip-tool-ipv6only arm64 (read only) 9586076 9729932 143856 1.5
(read/write) 472945 475969 3024 0.6
.data.rel.ro 369312 371712 2400 0.6
.got 54680 55304 624 1.1
.rodata 490436 491956 1520 0.3
.text 8051508 8186788 135280 1.7
Increases (3 builds for linux)
platform target config section a8567aa a8b4057 change % change
linux chip-tool debug (read only) 9937749 10093957 156208 1.6
(read/write) 356152 358168 2016 0.6
.data.rel.ro 323336 325352 2016 0.6
.text 8645413 8797077 151664 1.8
chip-tool-ipv6only arm64 (read only) 9586076 9729932 143856 1.5
(read/write) 472945 475969 3024 0.6
.data.rel.ro 369312 371712 2400 0.6
.got 54680 55304 624 1.1
.rodata 490436 491956 1520 0.3
.text 8051508 8186788 135280 1.7
ota-requestor-app debug (read/write) 117832 117864 32 0.0
.bss 51552 51584 32 0.1
.rodata 154892 154924 32 0.0
Decreases (26 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a8567aa a8b4057 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598234 -3968 -0.7
.app_xip_area 506720 505816 -904 -0.2
.bss 78172 75108 -3064 -3.9
lock cyw930739m2evb_01 (read/write) 560078 556102 -3976 -0.7
.app_xip_area 466132 465220 -912 -0.2
.bss 76676 73612 -3064 -4.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 566198 -4028 -0.7
.app_xip_area 466584 465612 -972 -0.2
.bss 86012 82996 -3016 -3.5
.data 592 552 -40 -6.8
efr32 lighting-app BRD4161A (read only) 922240 920064 -2176 -0.2
(read/write) 128888 128264 -624 -0.5
.bss 126808 126224 -584 -0.5
.data 2080 2040 -40 -1.9
.text 922232 920056 -2176 -0.2
BRD4161A+rpc (read only) 951076 948892 -2184 -0.2
(read/write) 144844 144220 -624 -0.4
.bss 142584 142000 -584 -0.4
.data 2260 2220 -40 -1.8
.text 951068 948884 -2184 -0.2
window-app BRD4161A (read only) 854412 852540 -1872 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.text 854404 852532 -1872 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957920 -774 -0.1
(read/write) 1393802 1393778 -24 -0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957920 -774 -0.1
m5stack (read only) 1013715 1013071 -644 -0.1
(read/write) 461052 461028 -24 -0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007687 -644 -0.1
k32w light k32w061+release (read/write) 696264 694668 -1596 -0.2
.bss 77744 77160 -584 -0.8
.data 1964 1924 -40 -2.0
.text 610756 609784 -972 -0.2
lock k32w061+release (read/write) 697016 695452 -1564 -0.2
.bss 77704 77072 -632 -0.8
.text 611548 610616 -932 -0.2
linux all-clusters-app debug (read only) 2432289 2431377 -912 -0.0
.rodata 205765 205637 -128 -0.1
.text 2063538 2062754 -784 -0.0
bridge-app debug+rpc (read only) 1737061 1736549 -512 -0.0
.rodata 141964 141868 -96 -0.1
.text 1479125 1478709 -416 -0.0
chip-tool debug .rodata 514452 514196 -256 -0.0
door-lock-app debug (read only) 1951521 1950993 -528 -0.0
.rodata 173852 173756 -96 -0.1
.text 1629026 1628594 -432 -0.0
lighting-app debug+rpc (read only) 2083689 2083161 -528 -0.0
.rodata 166044 165948 -96 -0.1
.text 1761986 1761554 -432 -0.0
ota-provider-app debug (read only) 1884793 1884057 -736 -0.0
.rodata 159091 158963 -128 -0.1
.text 1574978 1574370 -608 -0.0
ota-requestor-app debug (read only) 1912225 1911841 -384 -0.0
.text 1606818 1606402 -416 -0.0
shell debug (read only) 2398465 2397377 -1088 -0.0
.rodata 205714 205586 -128 -0.1
.text 2036178 2035218 -960 -0.0
thermostat-no-ble arm64 (read only) 2180428 2179596 -832 -0.0
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.rodata 133228 133164 -64 -0.0
.text 1828608 1827840 -768 -0.0
tv-app debug (read only) 2624745 2622921 -1824 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.rodata 199677 199293 -384 -0.2
.text 2250978 2249538 -1440 -0.1
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351892 2351548 -344 -0.0
.text 1314492 1314148 -344 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151787 -1592 -0.1
bss 146848 146224 -624 -0.4
rodata 144476 144436 -40 -0.0
text 786808 785892 -916 -0.1
p6 all-clusters-app default (read/write) 2495488 2494408 -1080 -0.0
.text 1453752 1452672 -1080 -0.1
light-app default (read/write) 2398960 2398488 -472 -0.0
.text 1357224 1356752 -472 -0.0
lock-app default (read/write) 2362520 2362032 -488 -0.0
.text 1320784 1320296 -488 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889826 889066 -760 -0.1
text 629098 628362 -736 -0.1
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a8567aa a8b4057 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598234 -3968 -0.7
.app_xip_area 506720 505816 -904 -0.2
.bss 78172 75108 -3064 -3.9
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560078 556102 -3976 -0.7
.app_xip_area 466132 465220 -912 -0.2
.bss 76676 73612 -3064 -4.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 566198 -4028 -0.7
.app_xip_area 466584 465612 -972 -0.2
.bss 86012 82996 -3016 -3.5
.data 592 552 -40 -6.8
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922240 920064 -2176 -0.2
(read/write) 128888 128264 -624 -0.5
.bss 126808 126224 -584 -0.5
.data 2080 2040 -40 -1.9
.text 922232 920056 -2176 -0.2
BRD4161A+rpc (read only) 951076 948892 -2184 -0.2
(read/write) 144844 144220 -624 -0.4
.bss 142584 142000 -584 -0.4
.data 2260 2220 -40 -1.8
.text 951068 948884 -2184 -0.2
window-app BRD4161A (read only) 854412 852540 -1872 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.data 1916 1916 0 0.0
.text 854404 852532 -1872 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957920 -774 -0.1
(read/write) 1393802 1393778 -24 -0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957920 -774 -0.1
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013715 1013071 -644 -0.1
(read/write) 461052 461028 -24 -0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007687 -644 -0.1
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696264 694668 -1596 -0.2
.bss 77744 77160 -584 -0.8
.data 1964 1924 -40 -2.0
.text 610756 609784 -972 -0.2
lock k32w061+release (read/write) 697016 695452 -1564 -0.2
.bss 77704 77072 -632 -0.8
.data 1964 1964 0 0.0
.text 611548 610616 -932 -0.2
linux all-clusters-app debug (read only) 2432289 2431377 -912 -0.0
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205637 -128 -0.1
.text 2063538 2062754 -784 -0.0
bridge-app debug+rpc (read only) 1737061 1736549 -512 -0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141964 141868 -96 -0.1
.text 1479125 1478709 -416 -0.0
chip-tool debug (read only) 9937749 10093957 156208 1.6
(read/write) 356152 358168 2016 0.6
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 323336 325352 2016 0.6
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514452 514196 -256 -0.0
.text 8645413 8797077 151664 1.8
chip-tool-ipv6only arm64 (read only) 9586076 9729932 143856 1.5
(read/write) 472945 475969 3024 0.6
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 371712 2400 0.6
.dynamic 560 560 0 0.0
.got 54680 55304 624 1.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490436 491956 1520 0.3
.text 8051508 8186788 135280 1.7
door-lock-app debug (read only) 1951521 1950993 -528 -0.0
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173852 173756 -96 -0.1
.text 1629026 1628594 -432 -0.0
lighting-app debug+rpc (read only) 2083689 2083161 -528 -0.0
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 165948 -96 -0.1
.text 1761986 1761554 -432 -0.0
ota-provider-app debug (read only) 1884793 1884057 -736 -0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159091 158963 -128 -0.1
.text 1574978 1574370 -608 -0.0
ota-requestor-app debug (read only) 1912225 1911841 -384 -0.0
(read/write) 117832 117864 32 0.0
.bss 51552 51584 32 0.1
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154892 154924 32 0.0
.text 1606818 1606402 -416 -0.0
shell debug (read only) 2398465 2397377 -1088 -0.0
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205714 205586 -128 -0.1
.text 2036178 2035218 -960 -0.0
thermostat-no-ble arm64 (read only) 2180428 2179596 -832 -0.0
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133228 133164 -64 -0.0
.text 1828608 1827840 -768 -0.0
tv-app debug (read only) 2624745 2622921 -1824 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199677 199293 -384 -0.2
.text 2250978 2249538 -1440 -0.1
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351892 2351548 -344 -0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314492 1314148 -344 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151787 -1592 -0.1
bss 146848 146224 -624 -0.4
rodata 144476 144436 -40 -0.0
text 786808 785892 -916 -0.1
p6 all-clusters-app default (read/write) 2495488 2494408 -1080 -0.0
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1453752 1452672 -1080 -0.1
light-app default (read/write) 2398960 2398488 -472 -0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357224 1356752 -472 -0.0
lock-app default (read/write) 2362520 2362032 -488 -0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320784 1320296 -488 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889826 889066 -760 -0.1
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629098 628362 -736 -0.1

@github-actions
Copy link

github-actions bot commented Mar 10, 2022

PR #16026: Size comparison from a8567aa to b690e72

Increases above 0.2%:

platform target config section a8567aa b690e72 change % change
linux chip-tool debug (read only) 9937749 10093557 155808 1.6
(read/write) 356152 358168 2016 0.6
.data.rel.ro 323336 325352 2016 0.6
.text 8645413 8796677 151264 1.7
chip-tool-ipv6only arm64 (read only) 9586076 9729596 143520 1.5
(read/write) 472945 475969 3024 0.6
.data.rel.ro 369312 371712 2400 0.6
.got 54680 55304 624 1.1
.rodata 490436 491892 1456 0.3
.text 8051508 8186516 135008 1.7
Increases (3 builds for linux)
platform target config section a8567aa b690e72 change % change
linux chip-tool debug (read only) 9937749 10093557 155808 1.6
(read/write) 356152 358168 2016 0.6
.data.rel.ro 323336 325352 2016 0.6
.text 8645413 8796677 151264 1.7
chip-tool-ipv6only arm64 (read only) 9586076 9729596 143520 1.5
(read/write) 472945 475969 3024 0.6
.data.rel.ro 369312 371712 2400 0.6
.got 54680 55304 624 1.1
.rodata 490436 491892 1456 0.3
.text 8051508 8186516 135008 1.7
ota-requestor-app debug (read/write) 117832 117864 32 0.0
.bss 51552 51584 32 0.1
.rodata 154892 154924 32 0.0
Decreases (26 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a8567aa b690e72 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598170 -4032 -0.7
.app_xip_area 506720 505752 -968 -0.2
.bss 78172 75108 -3064 -3.9
lock cyw930739m2evb_01 (read/write) 560078 556038 -4040 -0.7
.app_xip_area 466132 465156 -976 -0.2
.bss 76676 73612 -3064 -4.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 566134 -4092 -0.7
.app_xip_area 466584 465548 -1036 -0.2
.bss 86012 82996 -3016 -3.5
.data 592 552 -40 -6.8
efr32 lighting-app BRD4161A (read only) 922240 919984 -2256 -0.2
(read/write) 128888 128264 -624 -0.5
.bss 126808 126224 -584 -0.5
.data 2080 2040 -40 -1.9
.text 922232 919976 -2256 -0.2
BRD4161A+rpc (read only) 951076 948812 -2264 -0.2
(read/write) 144844 144220 -624 -0.4
.bss 142584 142000 -584 -0.4
.data 2260 2220 -40 -1.8
.text 951068 948804 -2264 -0.2
window-app BRD4161A (read only) 854412 852460 -1952 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.text 854404 852452 -1952 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957818 -876 -0.1
(read/write) 1393802 1393778 -24 -0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957818 -876 -0.1
m5stack (read only) 1013715 1013007 -708 -0.1
(read/write) 461052 461028 -24 -0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007623 -708 -0.1
k32w light k32w061+release (read/write) 696264 694604 -1660 -0.2
.bss 77744 77160 -584 -0.8
.data 1964 1924 -40 -2.0
.text 610756 609720 -1036 -0.2
lock k32w061+release (read/write) 697016 695388 -1628 -0.2
.bss 77704 77072 -632 -0.8
.text 611548 610552 -996 -0.2
linux all-clusters-app debug (read only) 2432289 2431009 -1280 -0.1
.rodata 205765 205637 -128 -0.1
.text 2063538 2062386 -1152 -0.1
bridge-app debug+rpc (read only) 1737061 1736149 -912 -0.1
.rodata 141964 141836 -128 -0.1
.text 1479125 1478341 -784 -0.1
chip-tool debug .rodata 514452 514196 -256 -0.0
door-lock-app debug (read only) 1951521 1950593 -928 -0.0
.rodata 173852 173724 -128 -0.1
.text 1629026 1628226 -800 -0.0
lighting-app debug+rpc (read only) 2083689 2082793 -896 -0.0
.rodata 166044 165948 -96 -0.1
.text 1761986 1761186 -800 -0.0
ota-provider-app debug (read only) 1884793 1884041 -752 -0.0
.rodata 159091 158963 -128 -0.1
.text 1574978 1574354 -624 -0.0
ota-requestor-app debug (read only) 1912225 1911473 -752 -0.0
.text 1606818 1606034 -784 -0.0
shell debug (read only) 2398465 2397185 -1280 -0.1
.rodata 205714 205586 -128 -0.1
.text 2036178 2035026 -1152 -0.1
thermostat-no-ble arm64 (read only) 2180428 2179356 -1072 -0.0
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.rodata 133228 133116 -112 -0.1
.text 1828608 1827648 -960 -0.1
tv-app debug (read only) 2624745 2622441 -2304 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.rodata 199677 199261 -416 -0.2
.text 2250978 2249090 -1888 -0.1
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351892 2351516 -376 -0.0
.text 1314492 1314116 -376 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151723 -1656 -0.1
bss 146848 146224 -624 -0.4
rodata 144476 144436 -40 -0.0
text 786808 785824 -984 -0.1
p6 all-clusters-app default (read/write) 2495488 2494328 -1160 -0.0
.text 1453752 1452592 -1160 -0.1
light-app default (read/write) 2398960 2398408 -552 -0.0
.text 1357224 1356672 -552 -0.0
lock-app default (read/write) 2362520 2361968 -552 -0.0
.text 1320784 1320232 -552 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889826 888974 -852 -0.1
text 629098 628280 -818 -0.1
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a8567aa b690e72 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598170 -4032 -0.7
.app_xip_area 506720 505752 -968 -0.2
.bss 78172 75108 -3064 -3.9
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560078 556038 -4040 -0.7
.app_xip_area 466132 465156 -976 -0.2
.bss 76676 73612 -3064 -4.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 566134 -4092 -0.7
.app_xip_area 466584 465548 -1036 -0.2
.bss 86012 82996 -3016 -3.5
.data 592 552 -40 -6.8
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922240 919984 -2256 -0.2
(read/write) 128888 128264 -624 -0.5
.bss 126808 126224 -584 -0.5
.data 2080 2040 -40 -1.9
.text 922232 919976 -2256 -0.2
BRD4161A+rpc (read only) 951076 948812 -2264 -0.2
(read/write) 144844 144220 -624 -0.4
.bss 142584 142000 -584 -0.4
.data 2260 2220 -40 -1.8
.text 951068 948804 -2264 -0.2
window-app BRD4161A (read only) 854412 852460 -1952 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.data 1916 1916 0 0.0
.text 854404 852452 -1952 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957818 -876 -0.1
(read/write) 1393802 1393778 -24 -0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957818 -876 -0.1
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013715 1013007 -708 -0.1
(read/write) 461052 461028 -24 -0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007623 -708 -0.1
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696264 694604 -1660 -0.2
.bss 77744 77160 -584 -0.8
.data 1964 1924 -40 -2.0
.text 610756 609720 -1036 -0.2
lock k32w061+release (read/write) 697016 695388 -1628 -0.2
.bss 77704 77072 -632 -0.8
.data 1964 1964 0 0.0
.text 611548 610552 -996 -0.2
linux all-clusters-app debug (read only) 2432289 2431009 -1280 -0.1
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205637 -128 -0.1
.text 2063538 2062386 -1152 -0.1
bridge-app debug+rpc (read only) 1737061 1736149 -912 -0.1
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141964 141836 -128 -0.1
.text 1479125 1478341 -784 -0.1
chip-tool debug (read only) 9937749 10093557 155808 1.6
(read/write) 356152 358168 2016 0.6
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 323336 325352 2016 0.6
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514452 514196 -256 -0.0
.text 8645413 8796677 151264 1.7
chip-tool-ipv6only arm64 (read only) 9586076 9729596 143520 1.5
(read/write) 472945 475969 3024 0.6
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 371712 2400 0.6
.dynamic 560 560 0 0.0
.got 54680 55304 624 1.1
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490436 491892 1456 0.3
.text 8051508 8186516 135008 1.7
door-lock-app debug (read only) 1951521 1950593 -928 -0.0
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173852 173724 -128 -0.1
.text 1629026 1628226 -800 -0.0
lighting-app debug+rpc (read only) 2083689 2082793 -896 -0.0
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 165948 -96 -0.1
.text 1761986 1761186 -800 -0.0
ota-provider-app debug (read only) 1884793 1884041 -752 -0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159091 158963 -128 -0.1
.text 1574978 1574354 -624 -0.0
ota-requestor-app debug (read only) 1912225 1911473 -752 -0.0
(read/write) 117832 117864 32 0.0
.bss 51552 51584 32 0.1
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154892 154924 32 0.0
.text 1606818 1606034 -784 -0.0
shell debug (read only) 2398465 2397185 -1280 -0.1
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205714 205586 -128 -0.1
.text 2036178 2035026 -1152 -0.1
thermostat-no-ble arm64 (read only) 2180428 2179356 -1072 -0.0
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133228 133116 -112 -0.1
.text 1828608 1827648 -960 -0.1
tv-app debug (read only) 2624745 2622441 -2304 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199677 199261 -416 -0.2
.text 2250978 2249090 -1888 -0.1
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351892 2351516 -376 -0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314492 1314116 -376 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151723 -1656 -0.1
bss 146848 146224 -624 -0.4
rodata 144476 144436 -40 -0.0
text 786808 785824 -984 -0.1
p6 all-clusters-app default (read/write) 2495488 2494328 -1160 -0.0
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1453752 1452592 -1160 -0.1
light-app default (read/write) 2398960 2398408 -552 -0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357224 1356672 -552 -0.0
lock-app default (read/write) 2362520 2361968 -552 -0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320784 1320232 -552 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889826 888974 -852 -0.1
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629098 628280 -818 -0.1

@github-actions
Copy link

github-actions bot commented Mar 29, 2022

PR #16026: Size comparison from 32e7c70 to acce9f6

Increases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 32e7c70 acce9f6 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 606354 606514 160 0.0
.app_xip_area 513124 513284 160 0.0
lock cyw930739m2evb_01 (read/write) 563902 564062 160 0.0
.app_xip_area 472200 472360 160 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 576162 576314 152 0.0
.app_xip_area 474812 474964 152 0.0
efr32 lighting-app BRD4161A (read only) 927456 927616 160 0.0
.text 927448 927608 160 0.0
BRD4161A+rpc (read only) 956464 956624 160 0.0
.text 956456 956616 160 0.0
window-app BRD4161A (read only) 856940 857100 160 0.0
.text 856932 857092 160 0.0
esp32 all-clusters-app c3devkit (read only) 967986 968152 166 0.0
.flash.text 967986 968152 166 0.0
m5stack (read only) 1023715 1023867 152 0.0
.flash.text 1018331 1018483 152 0.0
k32w light k32w061+release (read/write) 704944 705104 160 0.0
.text 619300 619460 160 0.0
lock k32w061+release (read/write) 704060 704220 160 0.0
.text 618400 618560 160 0.0
linux all-clusters-app debug (read only) 2534601 2535481 880 0.0
.text 2154418 2155298 880 0.0
bridge-app debug+rpc (read only) 1768285 1769165 880 0.0
.text 1508213 1509093 880 0.1
chip-tool debug (read only) 10303493 10304245 752 0.0
.text 8992213 8992965 752 0.0
chip-tool-ipv6only arm64 (read only) 9916780 9917532 752 0.0
.rodata 500212 500260 48 0.0
.text 8359252 8359956 704 0.0
door-lock-app debug (read only) 2020945 2021825 880 0.0
.text 1689794 1690674 880 0.1
lighting-app debug+rpc (read only) 2197297 2198193 896 0.0
.text 1862930 1863826 896 0.0
ota-provider-app debug (read only) 1961577 1962281 704 0.0
.text 1642562 1643266 704 0.0
ota-requestor-app debug (read only) 1988545 1989425 880 0.0
.text 1672402 1673282 880 0.1
shell debug (read only) 2449353 2450057 704 0.0
.text 2082594 2083298 704 0.0
thermostat-no-ble arm64 (read only) 2279124 2279996 872 0.0
.rodata 139908 139964 56 0.0
.text 1915920 1916736 816 0.0
tv-app debug (read only) 2696977 2697729 752 0.0
.text 2316162 2316914 752 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2356724 2356916 192 0.0
.text 1319324 1319516 192 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1144375 1144535 160 0.0
text 784168 784324 156 0.0
p6 all-clusters-app default (read/write) 2499504 2499664 160 0.0
.text 1457768 1457928 160 0.0
light-app default (read/write) 2401672 2401832 160 0.0
.text 1359936 1360096 160 0.0
lock-app default (read/write) 2365304 2365464 160 0.0
.text 1323568 1323728 160 0.0
telink lighting-app tlsr9518adk80d (read/write) 788608 788768 160 0.0
text 558972 559136 164 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 32e7c70 acce9f6 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 606354 606514 160 0.0
.app_xip_area 513124 513284 160 0.0
.bss 75976 75976 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 563902 564062 160 0.0
.app_xip_area 472200 472360 160 0.0
.bss 74480 74480 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 576162 576314 152 0.0
.app_xip_area 474812 474964 152 0.0
.bss 83808 83808 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 927456 927616 160 0.0
(read/write) 129112 129112 0 0.0
.bss 127112 127112 0 0.0
.data 1996 1996 0 0.0
.text 927448 927608 160 0.0
BRD4161A+rpc (read only) 956464 956624 160 0.0
(read/write) 145064 145064 0 0.0
.bss 142888 142888 0 0.0
.data 2176 2176 0 0.0
.text 956456 956616 160 0.0
window-app BRD4161A (read only) 856940 857100 160 0.0
(read/write) 127072 127072 0 0.0
.bss 125200 125200 0 0.0
.data 1872 1872 0 0.0
.text 856932 857092 160 0.0
esp32 all-clusters-app c3devkit (read only) 967986 968152 166 0.0
(read/write) 1394642 1394642 0 0.0
.dram0.bss 62416 62416 0 0.0
.dram0.data 14204 14204 0 0.0
.flash.rodata 199112 199112 0 0.0
.flash.text 967986 968152 166 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1023715 1023867 152 0.0
(read/write) 462404 462404 0 0.0
.dram0.bss 67944 67944 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228600 228600 0 0.0
.flash.text 1018331 1018483 152 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 704944 705104 160 0.0
.bss 77968 77968 0 0.0
.data 1876 1876 0 0.0
.text 619300 619460 160 0.0
lock k32w061+release (read/write) 704060 704220 160 0.0
.bss 77944 77944 0 0.0
.data 1916 1916 0 0.0
.text 618400 618560 160 0.0
linux all-clusters-app debug (read only) 2534601 2535481 880 0.0
(read/write) 143352 143352 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 216357 216357 0 0.0
.text 2154418 2155298 880 0.0
bridge-app debug+rpc (read only) 1768285 1769165 880 0.0
(read/write) 89520 89520 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144716 144716 0 0.0
.text 1508213 1509093 880 0.1
chip-tool debug (read only) 10303493 10304245 752 0.0
(read/write) 356424 356424 0 0.0
.bss 22464 22464 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326792 326792 0 0.0
.dynamic 608 608 0 0.0
.got 4824 4824 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 525013 525013 0 0.0
.text 8992213 8992965 752 0.0
chip-tool-ipv6only arm64 (read only) 9916780 9917532 752 0.0
(read/write) 475329 475329 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 373512 373512 0 0.0
.dynamic 560 560 0 0.0
.got 56136 56136 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 500212 500260 48 0.0
.text 8359252 8359956 704 0.0
door-lock-app debug (read only) 2020945 2021825 880 0.0
(read/write) 116896 116896 0 0.0
.bss 47648 47648 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 181340 181340 0 0.0
.text 1689794 1690674 880 0.1
lighting-app debug+rpc (read only) 2197297 2198193 896 0.0
(read/write) 123888 123888 0 0.0
.bss 48928 48928 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 175196 175196 0 0.0
.text 1862930 1863826 896 0.0
ota-provider-app debug (read only) 1961577 1962281 704 0.0
(read/write) 112688 112688 0 0.0
.bss 47584 47584 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4384 4384 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 167147 167147 0 0.0
.text 1642562 1643266 704 0.0
ota-requestor-app debug (read only) 1988545 1989425 880 0.0
(read/write) 115912 115912 0 0.0
.bss 48512 48512 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 163268 163268 0 0.0
.text 1672402 1673282 880 0.1
shell debug (read only) 2449353 2450057 704 0.0
(read/write) 147368 147368 0 0.0
.bss 67304 67304 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 209810 209810 0 0.0
.text 2082594 2083298 704 0.0
thermostat-no-ble arm64 (read only) 2279124 2279996 872 0.0
(read/write) 148305 148305 0 0.0
.bss 62817 62817 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 76928 76928 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139908 139964 56 0.0
.text 1915920 1916736 816 0.0
tv-app debug (read only) 2696977 2697729 752 0.0
(read/write) 247520 247520 0 0.0
.bss 164288 164288 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 206187 206187 0 0.0
.text 2316162 2316914 752 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2356724 2356916 192 0.0
.bss 185020 185020 0 0.0
.data 5760 5760 0 0.0
.text 1319324 1319516 192 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1144375 1144535 160 0.0
bss 143052 143052 0 0.0
rodata 142304 142304 0 0.0
text 784168 784324 156 0.0
p6 all-clusters-app default (read/write) 2499504 2499664 160 0.0
.bss 118440 118440 0 0.0
.data 2640 2640 0 0.0
.text 1457768 1457928 160 0.0
light-app default (read/write) 2401672 2401832 160 0.0
.bss 111912 111912 0 0.0
.data 2496 2496 0 0.0
.text 1359936 1360096 160 0.0
lock-app default (read/write) 2365304 2365464 160 0.0
.bss 111656 111656 0 0.0
.data 2456 2456 0 0.0
.text 1323568 1323728 160 0.0
telink lighting-app tlsr9518adk80d (read/write) 788608 788768 160 0.0
bss 70268 70268 0 0.0
noinit 40416 40416 0 0.0
text 558972 559136 164 0.0

@turon turon force-pushed the fix/15799 branch 2 times, most recently from 868f716 to f47e807 Compare March 30, 2022 00:18
@github-actions
Copy link

github-actions bot commented Mar 30, 2022

PR #16026: Size comparison from 1456eb1 to f47e807

Increases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1456eb1 f47e807 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 606578 606714 136 0.0
.app_xip_area 513348 513484 136 0.0
lock cyw930739m2evb_01 (read/write) 564134 564270 136 0.0
.app_xip_area 472432 472568 136 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 576394 576530 136 0.0
.app_xip_area 475044 475180 136 0.0
efr32 lighting-app BRD4161A (read only) 927680 927840 160 0.0
.text 927672 927832 160 0.0
BRD4161A+rpc (read only) 956688 956832 144 0.0
.text 956680 956824 144 0.0
window-app BRD4161A (read only) 857164 857324 160 0.0
.text 857156 857316 160 0.0
esp32 all-clusters-app c3devkit (read only) 968194 968334 140 0.0
.flash.text 968194 968334 140 0.0
m5stack (read only) 1023895 1024051 156 0.0
.flash.text 1018511 1018667 156 0.0
k32w light k32w061+release (read/write) 705168 705312 144 0.0
.text 619524 619668 144 0.0
lock k32w061+release (read/write) 704284 704428 144 0.0
.text 618624 618768 144 0.0
linux all-clusters-app debug (read only) 2536025 2536761 736 0.0
.text 2155650 2156386 736 0.0
bridge-app debug+rpc (read only) 1769757 1770477 720 0.0
.text 1509461 1510181 720 0.0
chip-tool debug (read only) 10305813 10306389 576 0.0
.text 8994117 8994693 576 0.0
chip-tool-ipv6only arm64 (read only) 9918924 9919484 560 0.0
.text 8360884 8361444 560 0.0
door-lock-app debug (read only) 2022385 2023121 736 0.0
.text 1691042 1691778 736 0.0
lighting-app debug+rpc (read only) 2198737 2199473 736 0.0
.text 1864178 1864914 736 0.0
ota-provider-app debug (read only) 1962777 1963497 720 0.0
.text 1643602 1644322 720 0.0
ota-requestor-app debug (read only) 1990017 1990737 720 0.0
.text 1673650 1674370 720 0.0
shell debug (read only) 2450793 2451529 736 0.0
.text 2083842 2084578 736 0.0
thermostat-no-ble arm64 (read only) 2280564 2281228 664 0.0
.rodata 139972 139980 8 0.0
.text 1917280 1917936 656 0.0
tv-app debug (read only) 2698417 2699009 592 0.0
.text 2317410 2318002 592 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2357132 2357260 128 0.0
.text 1319732 1319860 128 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1144595 1144739 144 0.0
text 784336 784472 136 0.0
p6 all-clusters-app default (read/write) 2499728 2499888 160 0.0
.text 1457992 1458152 160 0.0
light-app default (read/write) 2401896 2402056 160 0.0
.text 1360160 1360320 160 0.0
lock-app default (read/write) 2365528 2365672 144 0.0
.text 1323792 1323936 144 0.0
telink lighting-app tlsr9518adk80d (read/write) 788896 789032 136 0.0
text 559196 559332 136 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1456eb1 f47e807 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 606578 606714 136 0.0
.app_xip_area 513348 513484 136 0.0
.bss 75976 75976 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 564134 564270 136 0.0
.app_xip_area 472432 472568 136 0.0
.bss 74480 74480 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 576394 576530 136 0.0
.app_xip_area 475044 475180 136 0.0
.bss 83808 83808 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 927680 927840 160 0.0
(read/write) 129112 129112 0 0.0
.bss 127112 127112 0 0.0
.data 1996 1996 0 0.0
.text 927672 927832 160 0.0
BRD4161A+rpc (read only) 956688 956832 144 0.0
(read/write) 145064 145064 0 0.0
.bss 142888 142888 0 0.0
.data 2176 2176 0 0.0
.text 956680 956824 144 0.0
window-app BRD4161A (read only) 857164 857324 160 0.0
(read/write) 127072 127072 0 0.0
.bss 125200 125200 0 0.0
.data 1872 1872 0 0.0
.text 857156 857316 160 0.0
esp32 all-clusters-app c3devkit (read only) 968194 968334 140 0.0
(read/write) 1394706 1394706 0 0.0
.dram0.bss 62416 62416 0 0.0
.dram0.data 14204 14204 0 0.0
.flash.rodata 199176 199176 0 0.0
.flash.text 968194 968334 140 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1023895 1024051 156 0.0
(read/write) 462468 462468 0 0.0
.dram0.bss 67944 67944 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228664 228664 0 0.0
.flash.text 1018511 1018667 156 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 705168 705312 144 0.0
.bss 77968 77968 0 0.0
.data 1876 1876 0 0.0
.text 619524 619668 144 0.0
lock k32w061+release (read/write) 704284 704428 144 0.0
.bss 77944 77944 0 0.0
.data 1916 1916 0 0.0
.text 618624 618768 144 0.0
linux all-clusters-app debug (read only) 2536025 2536761 736 0.0
(read/write) 143352 143352 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 216549 216549 0 0.0
.text 2155650 2156386 736 0.0
bridge-app debug+rpc (read only) 1769757 1770477 720 0.0
(read/write) 89520 89520 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144940 144940 0 0.0
.text 1509461 1510181 720 0.0
chip-tool debug (read only) 10305813 10306389 576 0.0
(read/write) 356424 356424 0 0.0
.bss 22464 22464 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326792 326792 0 0.0
.dynamic 608 608 0 0.0
.got 4824 4824 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 525429 525429 0 0.0
.text 8994117 8994693 576 0.0
chip-tool-ipv6only arm64 (read only) 9918924 9919484 560 0.0
(read/write) 475361 475361 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 373512 373512 0 0.0
.dynamic 560 560 0 0.0
.got 56168 56168 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 500628 500628 0 0.0
.text 8360884 8361444 560 0.0
door-lock-app debug (read only) 2022385 2023121 736 0.0
(read/write) 116896 116896 0 0.0
.bss 47648 47648 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 181532 181532 0 0.0
.text 1691042 1691778 736 0.0
lighting-app debug+rpc (read only) 2198737 2199473 736 0.0
(read/write) 123888 123888 0 0.0
.bss 48928 48928 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 175388 175388 0 0.0
.text 1864178 1864914 736 0.0
ota-provider-app debug (read only) 1962777 1963497 720 0.0
(read/write) 112688 112688 0 0.0
.bss 47584 47584 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4384 4384 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 167307 167307 0 0.0
.text 1643602 1644322 720 0.0
ota-requestor-app debug (read only) 1990017 1990737 720 0.0
(read/write) 115912 115912 0 0.0
.bss 48512 48512 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 163492 163492 0 0.0
.text 1673650 1674370 720 0.0
shell debug (read only) 2450793 2451529 736 0.0
(read/write) 147368 147368 0 0.0
.bss 67304 67304 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 210002 210002 0 0.0
.text 2083842 2084578 736 0.0
thermostat-no-ble arm64 (read only) 2280564 2281228 664 0.0
(read/write) 148305 148305 0 0.0
.bss 62817 62817 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 76928 76928 0 0.0
.dynamic 560 560 0 0.0
.got 4512 4512 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139972 139980 8 0.0
.text 1917280 1917936 656 0.0
tv-app debug (read only) 2698417 2699009 592 0.0
(read/write) 247520 247520 0 0.0
.bss 164288 164288 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 206379 206379 0 0.0
.text 2317410 2318002 592 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2357132 2357260 128 0.0
.bss 185020 185020 0 0.0
.data 5760 5760 0 0.0
.text 1319732 1319860 128 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1144595 1144739 144 0.0
bss 143052 143052 0 0.0
rodata 142364 142364 0 0.0
text 784336 784472 136 0.0
p6 all-clusters-app default (read/write) 2499728 2499888 160 0.0
.bss 118440 118440 0 0.0
.data 2640 2640 0 0.0
.text 1457992 1458152 160 0.0
light-app default (read/write) 2401896 2402056 160 0.0
.bss 111912 111912 0 0.0
.data 2496 2496 0 0.0
.text 1360160 1360320 160 0.0
lock-app default (read/write) 2365528 2365672 144 0.0
.bss 111656 111656 0 0.0
.data 2456 2456 0 0.0
.text 1323792 1323936 144 0.0
telink lighting-app tlsr9518adk80d (read/write) 788896 789032 136 0.0
bss 70268 70268 0 0.0
noinit 40416 40416 0 0.0
text 559196 559332 136 0.0

@turon turon requested a review from bzbarsky-apple March 30, 2022 15:38
@github-actions
Copy link

github-actions bot commented Mar 30, 2022

PR #16026: Size comparison from 0d98cc2 to cd79d33

Increases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0d98cc2 cd79d33 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 608546 608722 176 0.0
.app_xip_area 515312 515488 176 0.0
lock cyw930739m2evb_01 (read/write) 566086 566262 176 0.0
.app_xip_area 474380 474556 176 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 578170 578338 168 0.0
.app_xip_area 476808 476976 168 0.0
efr32 lighting-app BRD4161A (read only) 929492 929668 176 0.0
.text 929484 929660 176 0.0
BRD4161A+rpc (read only) 958500 958676 176 0.0
.text 958492 958668 176 0.0
window-app BRD4161A (read only) 858976 859168 192 0.0
.text 858968 859160 192 0.0
esp32 all-clusters-app c3devkit (read only) 969434 969614 180 0.0
.flash.text 969434 969614 180 0.0
m5stack (read only) 1025047 1025187 140 0.0
.flash.text 1019663 1019803 140 0.0
k32w light k32w061+release (read/write) 706992 707168 176 0.0
.text 621340 621516 176 0.0
lock k32w061+release (read/write) 706100 706276 176 0.0
.text 620440 620616 176 0.0
linux all-clusters-app debug (read only) 2544289 2545233 944 0.0
.text 2163266 2164210 944 0.0
bridge-app debug+rpc (read only) 1776405 1777349 944 0.1
.text 1515749 1516693 944 0.1
chip-tool debug (read only) 10321845 10322629 784 0.0
.text 9007621 9008405 784 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9930612 9931412 800 0.0
.rodata 501468 501516 48 0.0
.text 8371124 8371876 752 0.0
door-lock-app debug (read only) 2029081 2030009 928 0.0
.text 1697346 1698274 928 0.1
lighting-app debug+rpc (read only) 2206777 2207705 928 0.0
.text 1871730 1872658 928 0.0
ota-provider-app debug (read only) 1969145 1969897 752 0.0
.text 1649634 1650386 752 0.0
ota-requestor-app debug (read only) 1996641 1997585 944 0.0
.text 1679938 1680882 944 0.1
shell debug (read only) 2457393 2458129 736 0.0
.text 2090082 2090818 736 0.0
thermostat-no-ble arm64 (read only) 2286396 2287316 920 0.0
.rodata 140220 140276 56 0.0
.text 1922688 1923552 864 0.0
tv-app debug (read only) 2705225 2706025 800 0.0
.text 2323890 2324690 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2358308 2358500 192 0.0
.text 1320908 1321100 192 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1146395 1146571 176 0.0
text 785832 786004 172 0.0
p6 all-clusters-app default (read/write) 2501304 2501480 176 0.0
.text 1459568 1459744 176 0.0
light-app default (read/write) 2403464 2403640 176 0.0
.text 1361728 1361904 176 0.0
lock-app default (read/write) 2367088 2367264 176 0.0
.text 1325352 1325528 176 0.0
telink lighting-app tlsr9518adk80d (read/write) 790812 790988 176 0.0
text 560818 560996 178 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0d98cc2 cd79d33 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 608546 608722 176 0.0
.app_xip_area 515312 515488 176 0.0
.bss 75980 75980 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 566086 566262 176 0.0
.app_xip_area 474380 474556 176 0.0
.bss 74484 74484 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 578170 578338 168 0.0
.app_xip_area 476808 476976 168 0.0
.bss 83820 83820 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 929492 929668 176 0.0
(read/write) 129108 129108 0 0.0
.bss 127112 127112 0 0.0
.data 1996 1996 0 0.0
.text 929484 929660 176 0.0
BRD4161A+rpc (read only) 958500 958676 176 0.0
(read/write) 145072 145072 0 0.0
.bss 142896 142896 0 0.0
.data 2176 2176 0 0.0
.text 958492 958668 176 0.0
window-app BRD4161A (read only) 858976 859168 192 0.0
(read/write) 127072 127072 0 0.0
.bss 125200 125200 0 0.0
.data 1872 1872 0 0.0
.text 858968 859160 192 0.0
esp32 all-clusters-app c3devkit (read only) 969434 969614 180 0.0
(read/write) 1394882 1394882 0 0.0
.dram0.bss 62416 62416 0 0.0
.dram0.data 14228 14228 0 0.0
.flash.rodata 199320 199320 0 0.0
.flash.text 969434 969614 180 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1025047 1025187 140 0.0
(read/write) 462636 462636 0 0.0
.dram0.bss 67944 67944 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228832 228832 0 0.0
.flash.text 1019663 1019803 140 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 706992 707168 176 0.0
.bss 77976 77976 0 0.0
.data 1876 1876 0 0.0
.text 621340 621516 176 0.0
lock k32w061+release (read/write) 706100 706276 176 0.0
.bss 77944 77944 0 0.0
.data 1916 1916 0 0.0
.text 620440 620616 176 0.0
linux all-clusters-app debug (read only) 2544289 2545233 944 0.0
(read/write) 143384 143384 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 217125 217125 0 0.0
.text 2163266 2164210 944 0.0
bridge-app debug+rpc (read only) 1776405 1777349 944 0.1
(read/write) 89552 89552 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37968 37968 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 145228 145228 0 0.0
.text 1515749 1516693 944 0.1
chip-tool debug (read only) 10321845 10322629 784 0.0
(read/write) 356784 356784 0 0.0
.bss 22528 22528 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 327000 327000 0 0.0
.dynamic 624 624 0 0.0
.got 4872 4872 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 526837 526837 0 0.0
.text 9007621 9008405 784 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9930612 9931412 800 0.0
(read/write) 475665 475665 0 0.0
.bss 40769 40769 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 373712 373712 0 0.0
.dynamic 560 560 0 0.0
.got 56232 56232 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 501468 501516 48 0.0
.text 8371124 8371876 752 0.0
door-lock-app debug (read only) 2029081 2030009 928 0.0
(read/write) 116928 116928 0 0.0
.bss 47648 47648 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62872 62872 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 181852 181852 0 0.0
.text 1697346 1698274 928 0.1
lighting-app debug+rpc (read only) 2206777 2207705 928 0.0
(read/write) 123888 123888 0 0.0
.bss 48928 48928 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67944 67944 0 0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 175804 175804 0 0.0
.text 1871730 1872658 928 0.0
ota-provider-app debug (read only) 1969145 1969897 752 0.0
(read/write) 112720 112720 0 0.0
.bss 47584 47584 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58216 58216 0 0.0
.dynamic 608 608 0 0.0
.got 4384 4384 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 167571 167571 0 0.0
.text 1649634 1650386 752 0.0
ota-requestor-app debug (read only) 1996641 1997585 944 0.0
(read/write) 115944 115944 0 0.0
.bss 48512 48512 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60472 60472 0 0.0
.dynamic 592 592 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 163756 163756 0 0.0
.text 1679938 1680882 944 0.1
shell debug (read only) 2457393 2458129 736 0.0
(read/write) 147400 147400 0 0.0
.bss 67304 67304 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73592 73592 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 210290 210290 0 0.0
.text 2090082 2090818 736 0.0
thermostat-no-ble arm64 (read only) 2286396 2287316 920 0.0
(read/write) 148401 148401 0 0.0
.bss 62817 62817 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4528 4528 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 140220 140276 56 0.0
.text 1922688 1923552 864 0.0
tv-app debug (read only) 2705225 2706025 800 0.0
(read/write) 247552 247552 0 0.0
.bss 164288 164288 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74064 74064 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 206635 206635 0 0.0
.text 2323890 2324690 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2358308 2358500 192 0.0
.bss 185020 185020 0 0.0
.data 5760 5760 0 0.0
.text 1320908 1321100 192 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1146395 1146571 176 0.0
bss 143056 143056 0 0.0
rodata 142660 142660 0 0.0
text 785832 786004 172 0.0
p6 all-clusters-app default (read/write) 2501304 2501480 176 0.0
.bss 118440 118440 0 0.0
.data 2640 2640 0 0.0
.text 1459568 1459744 176 0.0
light-app default (read/write) 2403464 2403640 176 0.0
.bss 111912 111912 0 0.0
.data 2496 2496 0 0.0
.text 1361728 1361904 176 0.0
lock-app default (read/write) 2367088 2367264 176 0.0
.bss 111656 111656 0 0.0
.data 2456 2456 0 0.0
.text 1325352 1325528 176 0.0
telink lighting-app tlsr9518adk80d (read/write) 790812 790988 176 0.0
bss 70272 70272 0 0.0
noinit 40416 40416 0 0.0
text 560818 560996 178 0.0

@turon turon merged commit fb8d9dc into project-chip:master Mar 30, 2022
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Mar 31, 2022
…#16026)

Fix project-chip#15799
- Add exponential backoff.
- Add unit test for exponential backoff calculation.
- Add spec refs to backoff implementation.

Implements the backoff algorithm as specified but in fixed point:

```
t = i⋅MRP_BACKOFF_BASE^max(0,n−MRP_BACKOFF_THRESHOLD) ⋅ (1.0+random(0,1)⋅MRP_BACKOFF_JITTER)

Where:

  t = the resultant retransmission timeout for this transmission
  n = the transmission count of the message, starting with 0 
  i = the base retry interval for the Exchange (either IDLE or ACTIVE)

MRP_BACKOFF_BASE      | 1.6  | The base number for the exponential backoff equation.
MRP_BACKOFF_JITTER    | 0.25 | The scaler for random jitter in the backoff equation.
MRP_BACKOFF_THRESHOLD | 1    | # of retransmissions before transition from linear to exponential backoff.
```
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…#16026)

Fix project-chip#15799
- Add exponential backoff.
- Add unit test for exponential backoff calculation.
- Add spec refs to backoff implementation.

Implements the backoff algorithm as specified but in fixed point:

```
t = i⋅MRP_BACKOFF_BASE^max(0,n−MRP_BACKOFF_THRESHOLD) ⋅ (1.0+random(0,1)⋅MRP_BACKOFF_JITTER)

Where:

  t = the resultant retransmission timeout for this transmission
  n = the transmission count of the message, starting with 0 
  i = the base retry interval for the Exchange (either IDLE or ACTIVE)

MRP_BACKOFF_BASE      | 1.6  | The base number for the exponential backoff equation.
MRP_BACKOFF_JITTER    | 0.25 | The scaler for random jitter in the backoff equation.
MRP_BACKOFF_THRESHOLD | 1    | # of retransmissions before transition from linear to exponential backoff.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[msg] Exponential backoff should be implemented according to specification
4 participants