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

Darwin: convenience API Part 2 (Issue 16691) #21757

Merged

Conversation

jtung-apple
Copy link
Contributor

@jtung-apple jtung-apple commented Aug 9, 2022

Problem

Part 2 of the convenience API (serialized and synchronous reads, expected values cache, attribute cache, and implicit subscription)

Tracked in issue #16691

Change overview

  • Added expected value expiration timer and report logic
  • Changed subscription logic to implicitly subscribe
  • Changed subscription report callbacks to include device reference and look more like regular delegate callbacks
  • Added MTRDevice state

Testing

TBD

@jtung-apple jtung-apple changed the title Issue 16691 - Darwin: convenience API Part 2 Darwin: convenience API Part 2 (Issue 16691) Aug 9, 2022
@github-actions
Copy link

github-actions bot commented Aug 9, 2022

PR #21757: Size comparison from a61e8e6 to 8da389f

Increases (5 builds for bl602, cc13x2_26x2, nrfconnect, telink)
platform target config section a61e8e6 8da389f change % change
bl602 lighting-app bl602 (read/write) 1379954 1379962 8 0.0
.text 1048132 1048136 4 0.0
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 683011 683019 8 0.0
.text 593212 593220 8 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 802228 802232 4 0.0
telink light-switch-app tlsr9518adk80d text 569824 569826 2 0.0
lighting-app tlsr9518adk80d (read/write) 827920 827928 8 0.0
text 587796 587798 2 0.0
Decreases (2 builds for cc13x2_26x2, efr32)
platform target config section a61e8e6 8da389f change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 159364 159356 -8 -0.0
efr32 lock-app BRD4161A+wf200 (read/write) 1136484 1136468 -16 -0.0
.text 989576 989560 -16 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a61e8e6 8da389f change % change
bl602 lighting-app bl602 (read/write) 1379954 1379962 8 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048132 1048136 4 0.0
bl602+rpc (read/write) 1425210 1425210 0 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079636 1079636 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670927 670927 0 0.0
(read/write) 180456 180456 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582140 582140 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636471 636471 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558420 558420 0 0.0
lock-ftd LP_CC2652R7 (read only) 672787 672787 0 0.0
(read/write) 168780 168780 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 595896 595896 0 0.0
lock-mtd LP_CC2652R7 (read only) 655395 655395 0 0.0
(read/write) 181860 181860 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101363 101363 0 0.0
.text 553552 553552 0 0.0
pump-app LP_CC2652R7 (read only) 683011 683019 8 0.0
(read/write) 159364 159356 -8 -0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89315 89315 0 0.0
.text 593212 593220 8 0.0
pump-controller-app LP_CC2652R7 (read only) 667487 667487 0 0.0
(read/write) 175024 175024 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84863 84863 0 0.0
.text 582144 582144 0 0.0
shell LP_CC2652R7 (read only) 663610 663610 0 0.0
(read/write) 183292 183292 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 577876 577876 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584686 584686 0 0.0
.app_xip_area 461488 461488 0 0.0
.bss 65640 65640 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590622 590622 0 0.0
.app_xip_area 462640 462640 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596986 596986 0 0.0
.app_xip_area 474508 474508 0 0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096372 1096372 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961436 961436 0 0.0
window-app BRD4161A (read/write) 1088104 1088104 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951696 951696 0 0.0
lighting-app BRD4161A+rpc (read/write) 1150636 1150636 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 998804 998804 0 0.0
BRD4161A+rs911x (read/write) 985908 985908 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821648 821648 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136484 1136468 -16 -0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989576 989560 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 1026076 1026076 0 0.0
(read/write) 1487418 1487418 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217048 217048 0 0.0
.flash.text 1026076 1026076 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079367 1079367 0 0.0
(read/write) 489392 489392 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247412 247412 0 0.0
.flash.text 1073983 1073983 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643644 643644 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569160 569160 0 0.0
lock k32w0+release (read/write) 701076 701076 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626112 626112 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10007308 10007308 0 0.0
(read/write) 695153 695153 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 640360 640360 0 0.0
.dynamic 560 560 0 0.0
.got 13656 13656 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 474124 474124 0 0.0
.text 7903508 7903508 0 0.0
thermostat-no-ble arm64 (read only) 2350956 2350956 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1973712 1973712 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452720 2452720 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415364 1415364 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177959 1177959 0 0.0
bss 143222 143222 0 0.0
rodata 142776 142776 0 0.0
text 813112 813112 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157983 1157983 0 0.0
bss 142460 142460 0 0.0
rodata 134472 134472 0 0.0
text 802228 802232 4 0.0
p6 all-clusters-app default (read only) 881520 881520 0 0.0
(read/write) 1693812 1693812 0 0.0
.bss 149168 149168 0 0.0
.data 2656 2656 0 0.0
.text 1533600 1533600 0 0.0
all-clusters-minimal-app default (read only) 882240 882240 0 0.0
(read/write) 1637980 1637980 0 0.0
.bss 148448 148448 0 0.0
.data 2656 2656 0 0.0
.text 1478488 1478488 0 0.0
light-app default (read only) 890560 890560 0 0.0
(read/write) 1556668 1556668 0 0.0
.bss 140336 140336 0 0.0
.data 2448 2448 0 0.0
.text 1405496 1405496 0 0.0
lock-app default (read only) 886064 886064 0 0.0
(read/write) 1593980 1593980 0 0.0
.bss 144816 144816 0 0.0
.data 2464 2464 0 0.0
.text 1438312 1438312 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806120 806120 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569824 569826 2 0.0
lighting-app tlsr9518adk80d (read/write) 827920 827928 8 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587796 587798 2 0.0

@woody-apple woody-apple force-pushed the issue-16691-convenience-API-part-2 branch from 3249b16 to b1c39e9 Compare August 9, 2022 20:33
@jtung-apple jtung-apple force-pushed the issue-16691-convenience-API-part-2 branch from b1c39e9 to 6f6b0a1 Compare August 9, 2022 20:56
@github-actions
Copy link

github-actions bot commented Aug 9, 2022

PR #21757: Size comparison from b75e85a to 6f6b0a1

Increases (5 builds for bl602, cc13x2_26x2, telink)
platform target config section b75e85a 6f6b0a1 change % change
bl602 lighting-app bl602 (read/write) 1379954 1379962 8 0.0
.text 1048132 1048136 4 0.0
bl602+rpc .text 1079632 1079636 4 0.0
cc13x2_26x2 lock-mtd LP_CC2652R7 (read/write) 181860 181868 8 0.0
telink light-switch-app tlsr9518adk80d text 569822 569824 2 0.0
lighting-app tlsr9518adk80d (read/write) 827920 827928 8 0.0
text 587796 587798 2 0.0
Decreases (1 build for cc13x2_26x2)
platform target config section b75e85a 6f6b0a1 change % change
cc13x2_26x2 lock-mtd LP_CC2652R7 (read only) 655395 655387 -8 -0.0
.text 553552 553544 -8 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section b75e85a 6f6b0a1 change % change
bl602 lighting-app bl602 (read/write) 1379954 1379962 8 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048132 1048136 4 0.0
bl602+rpc (read/write) 1425210 1425210 0 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079632 1079636 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670927 670927 0 0.0
(read/write) 180456 180456 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582140 582140 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636471 636471 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558420 558420 0 0.0
lock-ftd LP_CC2652R7 (read only) 672787 672787 0 0.0
(read/write) 168780 168780 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 595896 595896 0 0.0
lock-mtd LP_CC2652R7 (read only) 655395 655387 -8 -0.0
(read/write) 181860 181868 8 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101363 101363 0 0.0
.text 553552 553544 -8 -0.0
pump-app LP_CC2652R7 (read only) 683019 683019 0 0.0
(read/write) 159356 159356 0 0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89315 89315 0 0.0
.text 593220 593220 0 0.0
pump-controller-app LP_CC2652R7 (read only) 667487 667487 0 0.0
(read/write) 175024 175024 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84863 84863 0 0.0
.text 582144 582144 0 0.0
shell LP_CC2652R7 (read only) 663610 663610 0 0.0
(read/write) 183292 183292 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 577876 577876 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584646 584646 0 0.0
.app_xip_area 461448 461448 0 0.0
.bss 65640 65640 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590582 590582 0 0.0
.app_xip_area 462600 462600 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596962 596962 0 0.0
.app_xip_area 474484 474484 0 0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096372 1096372 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961436 961436 0 0.0
BRD4161A+rpc (read/write) 1150636 1150636 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 998804 998804 0 0.0
BRD4161A+rs911x (read/write) 985908 985908 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821648 821648 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136468 1136468 0 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989560 989560 0 0.0
window-app BRD4161A (read/write) 1088104 1088104 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951696 951696 0 0.0
esp32 all-clusters-app c3devkit (read only) 1026076 1026076 0 0.0
(read/write) 1487418 1487418 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217048 217048 0 0.0
.flash.text 1026076 1026076 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079367 1079367 0 0.0
(read/write) 489392 489392 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247412 247412 0 0.0
.flash.text 1073983 1073983 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643644 643644 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569160 569160 0 0.0
lock k32w0+release (read/write) 701076 701076 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626112 626112 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10007084 10007084 0 0.0
(read/write) 695153 695153 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 640360 640360 0 0.0
.dynamic 560 560 0 0.0
.got 13656 13656 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 474124 474124 0 0.0
.text 7903284 7903284 0 0.0
thermostat-no-ble arm64 (read only) 2350956 2350956 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1973712 1973712 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452720 2452720 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415364 1415364 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177959 1177959 0 0.0
bss 143222 143222 0 0.0
rodata 142776 142776 0 0.0
text 813112 813112 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157983 1157983 0 0.0
bss 142460 142460 0 0.0
rodata 134472 134472 0 0.0
text 802232 802232 0 0.0
p6 all-clusters-app default (read only) 881520 881520 0 0.0
(read/write) 1693812 1693812 0 0.0
.bss 149168 149168 0 0.0
.data 2656 2656 0 0.0
.text 1533600 1533600 0 0.0
all-clusters-minimal-app default (read only) 882240 882240 0 0.0
(read/write) 1637980 1637980 0 0.0
.bss 148448 148448 0 0.0
.data 2656 2656 0 0.0
.text 1478488 1478488 0 0.0
light-app default (read only) 890560 890560 0 0.0
(read/write) 1556668 1556668 0 0.0
.bss 140336 140336 0 0.0
.data 2448 2448 0 0.0
.text 1405496 1405496 0 0.0
lock-app default (read only) 886064 886064 0 0.0
(read/write) 1593980 1593980 0 0.0
.bss 144816 144816 0 0.0
.data 2464 2464 0 0.0
.text 1438312 1438312 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806120 806120 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569822 569824 2 0.0
lighting-app tlsr9518adk80d (read/write) 827920 827928 8 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587796 587798 2 0.0

@jtung-apple jtung-apple force-pushed the issue-16691-convenience-API-part-2 branch from 6f6b0a1 to de91ab3 Compare August 10, 2022 01:22
@github-actions
Copy link

github-actions bot commented Aug 10, 2022

PR #21757: Size comparison from ab7b3bd to de91ab3

Increases (2 builds for bl602, cc13x2_26x2)
platform target config section ab7b3bd de91ab3 change % change
bl602 lighting-app bl602+rpc (read/write) 1425306 1425314 8 0.0
.text 1079732 1079736 4 0.0
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 159292 159300 8 0.0
Decreases (3 builds for cc13x2_26x2, esp32, telink)
platform target config section ab7b3bd de91ab3 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 683083 683075 -8 -0.0
.text 593284 593276 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1026142 1026140 -2 -0.0
.flash.text 1026142 1026140 -2 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 806184 806176 -8 -0.0
text 569886 569884 -2 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section ab7b3bd de91ab3 change % change
bl602 lighting-app bl602 (read/write) 1380058 1380058 0 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048232 1048232 0 0.0
bl602+rpc (read/write) 1425306 1425314 8 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079732 1079736 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670991 670991 0 0.0
(read/write) 180392 180392 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582204 582204 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636535 636535 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558484 558484 0 0.0
lock-ftd LP_CC2652R7 (read only) 672843 672843 0 0.0
(read/write) 168724 168724 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 595952 595952 0 0.0
lock-mtd LP_CC2652R7 (read only) 655451 655451 0 0.0
(read/write) 181804 181804 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101363 101363 0 0.0
.text 553608 553608 0 0.0
pump-app LP_CC2652R7 (read only) 683083 683075 -8 -0.0
(read/write) 159292 159300 8 0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89315 89315 0 0.0
.text 593284 593276 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 667551 667551 0 0.0
(read/write) 174960 174960 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84863 84863 0 0.0
.text 582208 582208 0 0.0
shell LP_CC2652R7 (read only) 663666 663666 0 0.0
(read/write) 183236 183236 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 577932 577932 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584710 584710 0 0.0
.app_xip_area 461512 461512 0 0.0
.bss 65640 65640 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590646 590646 0 0.0
.app_xip_area 462664 462664 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597026 597026 0 0.0
.app_xip_area 474548 474548 0 0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096516 1096516 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961580 961580 0 0.0
BRD4161A+rpc (read/write) 1150780 1150780 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 998948 998948 0 0.0
BRD4161A+rs911x (read/write) 986036 986036 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821776 821776 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136532 1136532 0 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989624 989624 0 0.0
window-app BRD4161A (read/write) 1088248 1088248 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951840 951840 0 0.0
esp32 all-clusters-app c3devkit (read only) 1026142 1026140 -2 -0.0
(read/write) 1487418 1487418 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217048 217048 0 0.0
.flash.text 1026142 1026140 -2 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079451 1079451 0 0.0
(read/write) 489392 489392 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247412 247412 0 0.0
.flash.text 1074067 1074067 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643708 643708 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569224 569224 0 0.0
lock k32w0+release (read/write) 701140 701140 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626176 626176 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10007228 10007228 0 0.0
(read/write) 695153 695153 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 640360 640360 0 0.0
.dynamic 560 560 0 0.0
.got 13656 13656 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 474124 474124 0 0.0
.text 7903428 7903428 0 0.0
thermostat-no-ble arm64 (read only) 2351100 2351100 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1973856 1973856 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452720 2452720 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415364 1415364 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1178023 1178023 0 0.0
bss 143222 143222 0 0.0
rodata 142776 142776 0 0.0
text 813172 813172 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1158047 1158047 0 0.0
bss 142460 142460 0 0.0
rodata 134472 134472 0 0.0
text 802292 802292 0 0.0
p6 all-clusters-app default (read only) 881520 881520 0 0.0
(read/write) 1694004 1694004 0 0.0
.bss 149168 149168 0 0.0
.data 2656 2656 0 0.0
.text 1533792 1533792 0 0.0
all-clusters-minimal-app default (read only) 882240 882240 0 0.0
(read/write) 1638172 1638172 0 0.0
.bss 148448 148448 0 0.0
.data 2656 2656 0 0.0
.text 1478680 1478680 0 0.0
light-app default (read only) 890560 890560 0 0.0
(read/write) 1556860 1556860 0 0.0
.bss 140336 140336 0 0.0
.data 2448 2448 0 0.0
.text 1405688 1405688 0 0.0
lock-app default (read only) 886064 886064 0 0.0
(read/write) 1594172 1594172 0 0.0
.bss 144816 144816 0 0.0
.data 2464 2464 0 0.0
.text 1438504 1438504 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806184 806176 -8 -0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569886 569884 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 827984 827984 0 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587860 587860 0 0.0

@woody-apple woody-apple force-pushed the issue-16691-convenience-API-part-2 branch from de91ab3 to 62fe820 Compare August 10, 2022 05:35
@github-actions
Copy link

github-actions bot commented Aug 10, 2022

PR #21757: Size comparison from 9b85c7a to 62fe820

Increases (4 builds for efr32, esp32, nrfconnect, telink)
platform target config section 9b85c7a 62fe820 change % change
efr32 lock-app BRD4161A+wf200 (read/write) 1136676 1136692 16 0.0
.text 989768 989784 16 0.0
esp32 all-clusters-app c3devkit (read only) 1026244 1026246 2 0.0
.flash.text 1026244 1026246 2 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 802356 802360 4 0.0
telink lighting-app tlsr9518adk80d text 587966 587968 2 0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 9b85c7a 62fe820 change % change
bl602 lighting-app bl602 (read/write) 1380170 1380170 0 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048348 1048348 0 0.0
bl602+rpc (read/write) 1425426 1425426 0 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079848 1079848 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 671071 671071 0 0.0
(read/write) 180312 180312 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582284 582284 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636599 636599 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558548 558548 0 0.0
lock-ftd LP_CC2652R7 (read only) 672907 672907 0 0.0
(read/write) 168660 168660 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 596016 596016 0 0.0
lock-mtd LP_CC2652R7 (read only) 655515 655515 0 0.0
(read/write) 181740 181740 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101363 101363 0 0.0
.text 553672 553672 0 0.0
pump-app LP_CC2652R7 (read only) 683163 683163 0 0.0
(read/write) 159212 159212 0 0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89315 89315 0 0.0
.text 593364 593364 0 0.0
pump-controller-app LP_CC2652R7 (read only) 667615 667615 0 0.0
(read/write) 174896 174896 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84863 84863 0 0.0
.text 582272 582272 0 0.0
shell LP_CC2652R7 (read only) 663746 663746 0 0.0
(read/write) 183156 183156 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 578012 578012 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584774 584774 0 0.0
.app_xip_area 461576 461576 0 0.0
.bss 65640 65640 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590710 590710 0 0.0
.app_xip_area 462728 462728 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597098 597098 0 0.0
.app_xip_area 474620 474620 0 0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096596 1096596 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961660 961660 0 0.0
BRD4161A+rpc (read/write) 1150860 1150860 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 999028 999028 0 0.0
BRD4161A+rs911x (read/write) 986116 986116 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821856 821856 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136676 1136692 16 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989768 989784 16 0.0
window-app BRD4161A (read/write) 1088328 1088328 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951920 951920 0 0.0
esp32 all-clusters-app c3devkit (read only) 1026244 1026246 2 0.0
(read/write) 1487426 1487426 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217056 217056 0 0.0
.flash.text 1026244 1026246 2 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079499 1079499 0 0.0
(read/write) 489392 489392 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247412 247412 0 0.0
.flash.text 1074115 1074115 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643772 643772 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569288 569288 0 0.0
lock k32w0+release (read/write) 701204 701204 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626240 626240 0 0.0
linux all-clusters-app debug (read only) 3026897 3026897 0 0.0
(read/write) 155752 155752 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85416 85416 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 273419 273419 0 0.0
.text 2574546 2574546 0 0.0
all-clusters-minimal-app debug (read only) 2867169 2867169 0 0.0
(read/write) 147488 147488 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78008 78008 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 273547 273547 0 0.0
.text 2417394 2417394 0 0.0
bridge-app debug+rpc (read only) 2366345 2366345 0 0.0
(read/write) 127416 127416 0 0.0
.bss 50592 50592 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67368 67368 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 202504 202504 0 0.0
.text 2001362 2001362 0 0.0
chip-tool debug (read only) 10600785 10600785 0 0.0
(read/write) 647520 647520 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 612856 612856 0 0.0
.dynamic 608 608 0 0.0
.got 5104 5104 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 543861 543861 0 0.0
.text 8558068 8558068 0 0.0
chip-tool-ipv6only arm64 (read only) 10009948 10009948 0 0.0
(read/write) 695217 695217 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 640416 640416 0 0.0
.dynamic 560 560 0 0.0
.got 13664 13664 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 474396 474396 0 0.0
.text 7905684 7905684 0 0.0
lighting-app debug+rpc (read only) 2589785 2589785 0 0.0
(read/write) 130008 130008 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72248 72248 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 219184 219184 0 0.0
.text 2200034 2200034 0 0.0
lock-app debug (read only) 2574225 2574225 0 0.0
(read/write) 125376 125376 0 0.0
.bss 48256 48256 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69416 69416 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 236272 236272 0 0.0
.text 2171442 2171442 0 0.0
ota-provider-app debug (read only) 2351537 2351537 0 0.0
(read/write) 118848 118848 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63224 63224 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 208344 208344 0 0.0
.text 1979842 1979842 0 0.0
ota-requestor-app debug (read only) 2516361 2516361 0 0.0
(read/write) 127152 127152 0 0.0
.bss 50272 50272 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 214944 214944 0 0.0
.text 2128994 2128994 0 0.0
shell debug (read only) 2595281 2595281 0 0.0
(read/write) 141904 141904 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77024 77024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 233554 233554 0 0.0
.text 2203522 2203522 0 0.0
thermostat-no-ble arm64 (read only) 2351468 2351468 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1974224 1974224 0 0.0
tv-app debug (read only) 3169617 3169617 0 0.0
(read/write) 257864 257864 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79096 79096 0 0.0
.dynamic 608 608 0 0.0
.got 4864 4864 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 258152 258152 0 0.0
.text 2721698 2721698 0 0.0
tv-casting-app debug (read only) 5410321 5410321 0 0.0
(read/write) 158984 158984 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98672 98672 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 341425 341425 0 0.0
.text 4800594 4800594 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452848 2452848 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415492 1415492 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1178087 1178087 0 0.0
bss 143222 143222 0 0.0
rodata 142776 142776 0 0.0
text 813240 813240 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1158111 1158111 0 0.0
bss 142460 142460 0 0.0
rodata 134472 134472 0 0.0
text 802356 802360 4 0.0
p6 all-clusters-app default (read only) 881520 881520 0 0.0
(read/write) 1694084 1694084 0 0.0
.bss 149168 149168 0 0.0
.data 2656 2656 0 0.0
.text 1533872 1533872 0 0.0
all-clusters-minimal-app default (read only) 882240 882240 0 0.0
(read/write) 1638268 1638268 0 0.0
.bss 148448 148448 0 0.0
.data 2656 2656 0 0.0
.text 1478776 1478776 0 0.0
light-app default (read only) 890560 890560 0 0.0
(read/write) 1556956 1556956 0 0.0
.bss 140336 140336 0 0.0
.data 2448 2448 0 0.0
.text 1405784 1405784 0 0.0
lock-app default (read only) 886064 886064 0 0.0
(read/write) 1594268 1594268 0 0.0
.bss 144816 144816 0 0.0
.data 2464 2464 0 0.0
.text 1438600 1438600 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806288 806288 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569992 569992 0 0.0
lighting-app tlsr9518adk80d (read/write) 828096 828096 0 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587966 587968 2 0.0

@jtung-apple jtung-apple force-pushed the issue-16691-convenience-API-part-2 branch from 62fe820 to ea3d3aa Compare August 13, 2022 06:32
@jtung-apple jtung-apple marked this pull request as ready for review August 13, 2022 06:34
@github-actions
Copy link

github-actions bot commented Aug 13, 2022

PR #21757: Size comparison from 1c613ad to ea3d3aa

Increases (2 builds for bl602, cyw30739)
platform target config section 1c613ad ea3d3aa change % change
bl602 lighting-app bl602 .text 1050712 1050716 4 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 598954 598962 8 0.0
.app_xip_area 476340 476348 8 0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1c613ad ea3d3aa change % change
bl602 lighting-app bl602 (read/write) 1383050 1383050 0 0.0
.bss 119882 119882 0 0.0
.data 4480 4480 0 0.0
.text 1050712 1050716 4 0.0
bl602+rpc (read/write) 1428290 1428290 0 0.0
.bss 127322 127322 0 0.0
.data 4600 4600 0 0.0
.text 1082216 1082216 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672303 672303 0 0.0
(read/write) 179208 179208 0 0.0
.bss 74404 74404 0 0.0
.data 3372 3372 0 0.0
.rodata 88703 88703 0 0.0
.text 583284 583284 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637679 637679 0 0.0
(read/write) 157980 157980 0 0.0
.bss 73692 73692 0 0.0
.data 3372 3372 0 0.0
.rodata 77951 77951 0 0.0
.text 559404 559404 0 0.0
lock-ftd LP_CC2652R7 (read only) 674027 674027 0 0.0
(read/write) 167676 167676 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76643 76643 0 0.0
.text 596904 596904 0 0.0
lock-mtd LP_CC2652R7 (read only) 656779 656779 0 0.0
(read/write) 180612 180612 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101731 101731 0 0.0
.text 554568 554568 0 0.0
pump-app LP_CC2652R7 (read only) 684771 684771 0 0.0
(read/write) 157740 157740 0 0.0
.bss 71524 71524 0 0.0
.data 3296 3296 0 0.0
.rodata 89931 89931 0 0.0
.text 594356 594356 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669223 669223 0 0.0
(read/write) 173408 173408 0 0.0
.bss 71644 71644 0 0.0
.data 3292 3292 0 0.0
.rodata 85487 85487 0 0.0
.text 583256 583256 0 0.0
shell LP_CC2652R7 (read only) 664994 664994 0 0.0
(read/write) 182036 182036 0 0.0
.bss 76724 76724 0 0.0
.data 3376 3376 0 0.0
.rodata 85650 85650 0 0.0
.text 579028 579028 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586006 586006 0 0.0
.app_xip_area 462672 462672 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591822 591822 0 0.0
.app_xip_area 463704 463704 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 598954 598962 8 0.0
.app_xip_area 476340 476348 8 0.0
.bss 65088 65088 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1099996 1099996 0 0.0
.bss 132980 132980 0 0.0
.data 2068 2068 0 0.0
.text 964928 964928 0 0.0
BRD4161A+rpc (read/write) 1154264 1154264 0 0.0
.bss 149668 149668 0 0.0
.data 2280 2280 0 0.0
.text 1002296 1002296 0 0.0
BRD4161A+rs911x (read/write) 989408 989408 0 0.0
.bss 162320 162320 0 0.0
.data 2056 2056 0 0.0
.text 825012 825012 0 0.0
lock-app BRD4161A+wf200 (read/write) 1139116 1139116 0 0.0
.bss 145496 145496 0 0.0
.data 2064 2064 0 0.0
.text 991536 991536 0 0.0
window-app BRD4161A (read/write) 1091444 1091444 0 0.0
.bss 134412 134412 0 0.0
.data 2096 2096 0 0.0
.text 954916 954916 0 0.0
esp32 all-clusters-app c3devkit (read only) 1027616 1027616 0 0.0
(read/write) 1488218 1488218 0 0.0
.dram0.bss 70480 70480 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217704 217704 0 0.0
.flash.text 1027616 1027616 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1081007 1081007 0 0.0
(read/write) 490168 490168 0 0.0
.dram0.bss 75984 75984 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248044 248044 0 0.0
.flash.text 1075623 1075623 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 645028 645028 0 0.0
.bss 69848 69848 0 0.0
.data 2044 2044 0 0.0
.text 570408 570408 0 0.0
lock k32w0+release (read/write) 702572 702572 0 0.0
.bss 70320 70320 0 0.0
.data 2052 2052 0 0.0
.text 627472 627472 0 0.0
linux all-clusters-app debug (read only) 3032977 3032977 0 0.0
(read/write) 155888 155888 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85528 85528 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 274411 274411 0 0.0
.text 2579490 2579490 0 0.0
all-clusters-minimal-app debug (read only) 2872833 2872833 0 0.0
(read/write) 147624 147624 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274603 274603 0 0.0
.text 2421858 2421858 0 0.0
bridge-app debug+rpc (read only) 2371641 2371641 0 0.0
(read/write) 127552 127552 0 0.0
.bss 50624 50624 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203432 203432 0 0.0
.text 2005586 2005586 0 0.0
chip-tool debug (read only) 10724009 10724009 0 0.0
(read/write) 650912 650912 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 615896 615896 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 556501 556501 0 0.0
.text 8661716 8661716 0 0.0
chip-tool-ipv6only arm64 (read only) 10130196 10130196 0 0.0
(read/write) 698673 698673 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643424 643424 0 0.0
.dynamic 560 560 0 0.0
.got 13720 13720 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 487412 487412 0 0.0
.text 8005780 8005780 0 0.0
lighting-app debug+rpc (read only) 2595625 2595625 0 0.0
(read/write) 130176 130176 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72360 72360 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220176 220176 0 0.0
.text 2204738 2204738 0 0.0
lock-app debug (read only) 2579537 2579537 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237232 237232 0 0.0
.text 2175650 2175650 0 0.0
ota-provider-app debug (read only) 2356697 2356697 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209208 209208 0 0.0
.text 1984018 1984018 0 0.0
ota-requestor-app debug (read only) 2522425 2522425 0 0.0
(read/write) 127288 127288 0 0.0
.bss 50304 50304 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68728 68728 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 215968 215968 0 0.0
.text 2133890 2133890 0 0.0
shell debug (read only) 2601297 2601297 0 0.0
(read/write) 142008 142008 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77128 77128 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 234546 234546 0 0.0
.text 2208402 2208402 0 0.0
thermostat-no-ble arm64 (read only) 2356244 2356244 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140508 140508 0 0.0
.text 1978016 1978016 0 0.0
tv-app debug (read only) 3173529 3173529 0 0.0
(read/write) 257968 257968 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79200 79200 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259144 259144 0 0.0
.text 2724594 2724594 0 0.0
tv-casting-app debug (read only) 5413937 5413937 0 0.0
(read/write) 159088 159088 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98776 98776 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 342417 342417 0 0.0
.text 4803170 4803170 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454392 2454392 0 0.0
.bss 214692 214692 0 0.0
.data 5872 5872 0 0.0
.text 1417036 1417036 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180003 1180003 0 0.0
bss 143350 143350 0 0.0
rodata 143412 143412 0 0.0
text 814396 814396 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159899 1159899 0 0.0
bss 142588 142588 0 0.0
rodata 135108 135108 0 0.0
text 803384 803384 0 0.0
p6 all-clusters-app default (read only) 881392 881392 0 0.0
(read/write) 1697300 1697300 0 0.0
.bss 149296 149296 0 0.0
.data 2656 2656 0 0.0
.text 1536960 1536960 0 0.0
all-clusters-minimal-app default (read only) 882112 882112 0 0.0
(read/write) 1641340 1641340 0 0.0
.bss 148576 148576 0 0.0
.data 2656 2656 0 0.0
.text 1481720 1481720 0 0.0
light-app default (read only) 890432 890432 0 0.0
(read/write) 1560012 1560012 0 0.0
.bss 140464 140464 0 0.0
.data 2448 2448 0 0.0
.text 1408712 1408712 0 0.0
lock-app default (read only) 885936 885936 0 0.0
(read/write) 1597180 1597180 0 0.0
.bss 144944 144944 0 0.0
.data 2464 2464 0 0.0
.text 1441384 1441384 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808384 808384 0 0.0
bss 71096 71096 0 0.0
noinit 43488 43488 0 0.0
text 571310 571310 0 0.0
lighting-app tlsr9518adk80d (read/write) 830304 830304 0 0.0
bss 71952 71952 0 0.0
noinit 43488 43488 0 0.0
text 589388 589388 0 0.0

@jtung-apple
Copy link
Contributor Author

Tested locally with some hardcoded hack that validated read, write, and commands with the OnOff cluster.

@github-actions
Copy link

github-actions bot commented Aug 13, 2022

PR #21757: Size comparison from 1c613ad to 5e4fb24

Increases (2 builds for bl602, esp32)
platform target config section 1c613ad 5e4fb24 change % change
bl602 lighting-app bl602 .text 1050712 1050716 4 0.0
esp32 all-clusters-app c3devkit (read only) 1027616 1027618 2 0.0
.flash.text 1027616 1027618 2 0.0
Decreases (3 builds for k32w, telink)
platform target config section 1c613ad 5e4fb24 change % change
k32w lock k32w0+release (read/write) 702572 702556 -16 -0.0
.text 627472 627456 -16 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 808384 808376 -8 -0.0
text 571310 571308 -2 -0.0
lighting-app tlsr9518adk80d text 589388 589386 -2 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1c613ad 5e4fb24 change % change
bl602 lighting-app bl602 (read/write) 1383050 1383050 0 0.0
.bss 119882 119882 0 0.0
.data 4480 4480 0 0.0
.text 1050712 1050716 4 0.0
bl602+rpc (read/write) 1428290 1428290 0 0.0
.bss 127322 127322 0 0.0
.data 4600 4600 0 0.0
.text 1082216 1082216 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672303 672303 0 0.0
(read/write) 179208 179208 0 0.0
.bss 74404 74404 0 0.0
.data 3372 3372 0 0.0
.rodata 88703 88703 0 0.0
.text 583284 583284 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637679 637679 0 0.0
(read/write) 157980 157980 0 0.0
.bss 73692 73692 0 0.0
.data 3372 3372 0 0.0
.rodata 77951 77951 0 0.0
.text 559404 559404 0 0.0
lock-ftd LP_CC2652R7 (read only) 674027 674027 0 0.0
(read/write) 167676 167676 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76643 76643 0 0.0
.text 596904 596904 0 0.0
lock-mtd LP_CC2652R7 (read only) 656779 656779 0 0.0
(read/write) 180612 180612 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101731 101731 0 0.0
.text 554568 554568 0 0.0
pump-app LP_CC2652R7 (read only) 684771 684771 0 0.0
(read/write) 157740 157740 0 0.0
.bss 71524 71524 0 0.0
.data 3296 3296 0 0.0
.rodata 89931 89931 0 0.0
.text 594356 594356 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669223 669223 0 0.0
(read/write) 173408 173408 0 0.0
.bss 71644 71644 0 0.0
.data 3292 3292 0 0.0
.rodata 85487 85487 0 0.0
.text 583256 583256 0 0.0
shell LP_CC2652R7 (read only) 664994 664994 0 0.0
(read/write) 182036 182036 0 0.0
.bss 76724 76724 0 0.0
.data 3376 3376 0 0.0
.rodata 85650 85650 0 0.0
.text 579028 579028 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586006 586006 0 0.0
.app_xip_area 462672 462672 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591822 591822 0 0.0
.app_xip_area 463704 463704 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 598954 598954 0 0.0
.app_xip_area 476340 476340 0 0.0
.bss 65088 65088 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1099996 1099996 0 0.0
.bss 132980 132980 0 0.0
.data 2068 2068 0 0.0
.text 964928 964928 0 0.0
BRD4161A+rpc (read/write) 1154264 1154264 0 0.0
.bss 149668 149668 0 0.0
.data 2280 2280 0 0.0
.text 1002296 1002296 0 0.0
BRD4161A+rs911x (read/write) 989408 989408 0 0.0
.bss 162320 162320 0 0.0
.data 2056 2056 0 0.0
.text 825012 825012 0 0.0
lock-app BRD4161A+wf200 (read/write) 1139116 1139116 0 0.0
.bss 145496 145496 0 0.0
.data 2064 2064 0 0.0
.text 991536 991536 0 0.0
window-app BRD4161A (read/write) 1091444 1091444 0 0.0
.bss 134412 134412 0 0.0
.data 2096 2096 0 0.0
.text 954916 954916 0 0.0
esp32 all-clusters-app c3devkit (read only) 1027616 1027618 2 0.0
(read/write) 1488218 1488218 0 0.0
.dram0.bss 70480 70480 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217704 217704 0 0.0
.flash.text 1027616 1027618 2 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1081007 1081007 0 0.0
(read/write) 490168 490168 0 0.0
.dram0.bss 75984 75984 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248044 248044 0 0.0
.flash.text 1075623 1075623 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 645028 645028 0 0.0
.bss 69848 69848 0 0.0
.data 2044 2044 0 0.0
.text 570408 570408 0 0.0
lock k32w0+release (read/write) 702572 702556 -16 -0.0
.bss 70320 70320 0 0.0
.data 2052 2052 0 0.0
.text 627472 627456 -16 -0.0
linux all-clusters-app debug (read only) 3032977 3032977 0 0.0
(read/write) 155888 155888 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85528 85528 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 274411 274411 0 0.0
.text 2579490 2579490 0 0.0
all-clusters-minimal-app debug (read only) 2872833 2872833 0 0.0
(read/write) 147624 147624 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274603 274603 0 0.0
.text 2421858 2421858 0 0.0
bridge-app debug+rpc (read only) 2371641 2371641 0 0.0
(read/write) 127552 127552 0 0.0
.bss 50624 50624 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203432 203432 0 0.0
.text 2005586 2005586 0 0.0
chip-tool debug (read only) 10724009 10724009 0 0.0
(read/write) 650912 650912 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 615896 615896 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 556501 556501 0 0.0
.text 8661716 8661716 0 0.0
chip-tool-ipv6only arm64 (read only) 10130196 10130196 0 0.0
(read/write) 698673 698673 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643424 643424 0 0.0
.dynamic 560 560 0 0.0
.got 13720 13720 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 487412 487412 0 0.0
.text 8005780 8005780 0 0.0
lighting-app debug+rpc (read only) 2595625 2595625 0 0.0
(read/write) 130176 130176 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72360 72360 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220176 220176 0 0.0
.text 2204738 2204738 0 0.0
lock-app debug (read only) 2579537 2579537 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237232 237232 0 0.0
.text 2175650 2175650 0 0.0
ota-provider-app debug (read only) 2356697 2356697 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209208 209208 0 0.0
.text 1984018 1984018 0 0.0
ota-requestor-app debug (read only) 2522425 2522425 0 0.0
(read/write) 127288 127288 0 0.0
.bss 50304 50304 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68728 68728 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 215968 215968 0 0.0
.text 2133890 2133890 0 0.0
shell debug (read only) 2601297 2601297 0 0.0
(read/write) 142008 142008 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77128 77128 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 234546 234546 0 0.0
.text 2208402 2208402 0 0.0
thermostat-no-ble arm64 (read only) 2356244 2356244 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140508 140508 0 0.0
.text 1978016 1978016 0 0.0
tv-app debug (read only) 3173529 3173529 0 0.0
(read/write) 257968 257968 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79200 79200 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259144 259144 0 0.0
.text 2724594 2724594 0 0.0
tv-casting-app debug (read only) 5413937 5413937 0 0.0
(read/write) 159088 159088 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98776 98776 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 342417 342417 0 0.0
.text 4803170 4803170 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454392 2454392 0 0.0
.bss 214692 214692 0 0.0
.data 5872 5872 0 0.0
.text 1417036 1417036 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180003 1180003 0 0.0
bss 143350 143350 0 0.0
rodata 143412 143412 0 0.0
text 814396 814396 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159899 1159899 0 0.0
bss 142588 142588 0 0.0
rodata 135108 135108 0 0.0
text 803384 803384 0 0.0
p6 all-clusters-app default (read only) 881392 881392 0 0.0
(read/write) 1697300 1697300 0 0.0
.bss 149296 149296 0 0.0
.data 2656 2656 0 0.0
.text 1536960 1536960 0 0.0
all-clusters-minimal-app default (read only) 882112 882112 0 0.0
(read/write) 1641340 1641340 0 0.0
.bss 148576 148576 0 0.0
.data 2656 2656 0 0.0
.text 1481720 1481720 0 0.0
light-app default (read only) 890432 890432 0 0.0
(read/write) 1560012 1560012 0 0.0
.bss 140464 140464 0 0.0
.data 2448 2448 0 0.0
.text 1408712 1408712 0 0.0
lock-app default (read only) 885936 885936 0 0.0
(read/write) 1597180 1597180 0 0.0
.bss 144944 144944 0 0.0
.data 2464 2464 0 0.0
.text 1441384 1441384 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808384 808376 -8 -0.0
bss 71096 71096 0 0.0
noinit 43488 43488 0 0.0
text 571310 571308 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 830304 830304 0 0.0
bss 71952 71952 0 0.0
noinit 43488 43488 0 0.0
text 589388 589386 -2 -0.0

@woody-apple woody-apple enabled auto-merge (squash) August 15, 2022 20:34
@woody-apple woody-apple merged commit 5afff3c into project-chip:master Aug 15, 2022
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
* Issue 16691 - Darwin: convenience API Part 2

* Restyled change
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.

2 participants