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

Issue 18505 - Darwin: synchronous API part 1: basic structure and serial read #20519

Merged

Conversation

jtung-apple
Copy link
Contributor

Problem

We are looking to add a more natural synchronous API for UI development, as the preferred interface for the Darwin Framework.

Given the titular issue #18505 requires a solution that touches a lot of the files the above, we decided to put that in as part of this effort. This draft patch is the first part that includes the serial work queue needed to support an underlying async/callback model.

This is a work in progress.

Change overview

  • New MTRAsyncCallbackWorkQueue
  • New MTRDevice shim layer
    • with synchronous read API
    • read cache
    • "expected value" semantics for a form of write cache
  • New zap-generated MTRClusters
    • Internal cppCluster object is initialized asynchronously through the MTRDevice shim
    • Commands converted to wait for and use the cppCluster object when ready

Note this is a draft patch with overall structure but lot of logic missing.

Testing

  • Unit test was added for the work queue - more needs to be written for coverage.
  • Additional testing TBD

@boring-cyborg boring-cyborg bot added the darwin label Jul 8, 2022
@github-actions
Copy link

github-actions bot commented Jul 8, 2022

PR #20519: Size comparison from d23106c to bd0d87b

Increases (3 builds for cyw30739)
platform target config section d23106c bd0d87b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 579414 579422 8 0.0
.app_xip_area 458184 458192 8 0.0
lock cyw930739m2evb_01 (read/write) 585342 585350 8 0.0
.app_xip_area 459376 459384 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 582510 582518 8 0.0
.app_xip_area 462128 462136 8 0.0
Full report (16 builds for cyw30739, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section d23106c bd0d87b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 579414 579422 8 0.0
.app_xip_area 458184 458192 8 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 585342 585350 8 0.0
.app_xip_area 459376 459384 8 0.0
.bss 68912 68912 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 582510 582518 8 0.0
.app_xip_area 462128 462136 8 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w061+release (read/write) 658464 658464 0 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 581156 581156 0 0.0
lock k32w061+release (read/write) 685236 685236 0 0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 607452 607452 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9996196 9996196 0 0.0
(read/write) 684529 684529 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 623432 623432 0 0.0
.dynamic 528 528 0 0.0
.got 13520 13520 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 476644 476644 0 0.0
.text 7958884 7958884 0 0.0
thermostat-no-ble arm64 (read only) 2594228 2594228 0 0.0
(read/write) 158289 158289 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83240 83240 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165348 165348 0 0.0
.text 2189104 2189104 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447744 2447744 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1410388 1410388 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174775 1174775 0 0.0
bss 142900 142900 0 0.0
rodata 141776 141776 0 0.0
text 811208 811208 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1154967 1154967 0 0.0
bss 142136 142136 0 0.0
rodata 133304 133304 0 0.0
text 800652 800652 0 0.0
p6 all-clusters-app default (read/write) 2565008 2565008 0 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1523272 1523272 0 0.0
all-clusters-minimal-app default (read/write) 2510064 2510064 0 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1468328 1468328 0 0.0
light-app default (read/write) 2440352 2440352 0 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1398616 1398616 0 0.0
lock-app default (read/write) 2467592 2467592 0 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1425856 1425856 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796928 796928 0 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 565438 565438 0 0.0
lighting-app tlsr9518adk80d (read/write) 816760 816760 0 0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 581762 581762 0 0.0

@github-actions
Copy link

github-actions bot commented Jul 8, 2022

PR #20519: Size comparison from f9a97b0 to c219a45

Increases (4 builds for cc13x2_26x2, esp32, nrfconnect, telink)
platform target config section f9a97b0 c219a45 change % change
cc13x2_26x2 shell LP_CC2652R7 (read only) 658494 658502 8 0.0
.text 573332 573340 8 0.0
esp32 all-clusters-app c3devkit (read only) 1019892 1019894 2 0.0
.flash.text 1019892 1019894 2 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 811272 811276 4 0.0
telink lighting-app tlsr9518adk80d (read/write) 816816 816824 8 0.0
text 581824 581826 2 0.0
Decreases (2 builds for cc13x2_26x2)
platform target config section f9a97b0 c219a45 change % change
cc13x2_26x2 lock-mtd LP_CC2652R7 (read only) 618319 618311 -8 -0.0
.text 541744 541736 -8 -0.0
shell LP_CC2652R7 (read/write) 188232 188224 -8 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section f9a97b0 c219a45 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 666019 666019 0 0.0
(read/write) 185204 185204 0 0.0
.bss 74116 74116 0 0.0
.data 3356 3356 0 0.0
.rodata 88067 88067 0 0.0
.text 577636 577636 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 631803 631803 0 0.0
(read/write) 157684 157684 0 0.0
.bss 73412 73412 0 0.0
.data 3356 3356 0 0.0
.rodata 77307 77307 0 0.0
.text 554172 554172 0 0.0
lock-ftd LP_CC2652R7 (read only) 668911 668911 0 0.0
(read/write) 172456 172456 0 0.0
.bss 71148 71148 0 0.0
.data 3280 3280 0 0.0
.rodata 76207 76207 0 0.0
.text 592224 592224 0 0.0
lock-mtd LP_CC2652R7 (read only) 618319 618311 -8 -0.0
(read/write) 144264 144264 0 0.0
.bss 66868 66868 0 0.0
.data 3280 3280 0 0.0
.rodata 76087 76087 0 0.0
.text 541744 541736 -8 -0.0
pump-app LP_CC2652R7 (read only) 677991 677991 0 0.0
(read/write) 164224 164224 0 0.0
.bss 71228 71228 0 0.0
.data 3280 3280 0 0.0
.rodata 88431 88431 0 0.0
.text 589076 589076 0 0.0
pump-controller-app LP_CC2652R7 (read only) 663815 663815 0 0.0
(read/write) 178520 178520 0 0.0
.bss 71348 71348 0 0.0
.data 3276 3276 0 0.0
.rodata 84295 84295 0 0.0
.text 579040 579040 0 0.0
shell LP_CC2652R7 (read only) 658494 658502 8 0.0
(read/write) 188232 188224 -8 -0.0
.bss 76420 76420 0 0.0
.data 3360 3360 0 0.0
.rodata 84846 84846 0 0.0
.text 573332 573340 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 579486 579486 0 0.0
.app_xip_area 458256 458256 0 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 585422 585422 0 0.0
.app_xip_area 459456 459456 0 0.0
.bss 68912 68912 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 582590 582590 0 0.0
.app_xip_area 462208 462208 0 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081148 1081148 0 0.0
.bss 132996 132996 0 0.0
.data 2048 2048 0 0.0
.text 946084 946084 0 0.0
BRD4161A+rpc (read/write) 1135476 1135476 0 0.0
.bss 149676 149676 0 0.0
.data 2260 2260 0 0.0
.text 983520 983520 0 0.0
BRD4161A+rs911x (read/write) 947628 947628 0 0.0
.bss 140768 140768 0 0.0
.data 2048 2048 0 0.0
.text 804792 804792 0 0.0
lock-app BRD4161A+wf200 (read/write) 1128432 1128432 0 0.0
.bss 144184 144184 0 0.0
.data 2060 2060 0 0.0
.text 982164 982164 0 0.0
window-app BRD4161A (read/write) 1074932 1074932 0 0.0
.bss 134468 134468 0 0.0
.data 2076 2076 0 0.0
.text 938364 938364 0 0.0
esp32 all-clusters-app c3devkit (read only) 1019892 1019894 2 0.0
(read/write) 1485458 1485458 0 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215344 215344 0 0.0
.flash.text 1019892 1019894 2 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1073843 1073843 0 0.0
(read/write) 487536 487536 0 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245796 245796 0 0.0
.flash.text 1068459 1068459 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 658544 658544 0 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 581236 581236 0 0.0
lock k32w061+release (read/write) 685316 685316 0 0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 607532 607532 0 0.0
linux all-clusters-app debug (read only) 2960241 2960241 0 0.0
(read/write) 154744 154744 0 0.0
.bss 61536 61536 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84968 84968 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263549 263549 0 0.0
.text 2519506 2519506 0 0.0
all-clusters-minimal-app debug (read only) 2812785 2812785 0 0.0
(read/write) 146680 146680 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77608 77608 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 265245 265245 0 0.0
.text 2372530 2372530 0 0.0
bridge-app debug+rpc (read only) 2315209 2315209 0 0.0
(read/write) 125504 125504 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66984 66984 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197952 197952 0 0.0
.text 1955522 1955522 0 0.0
chip-tool debug (read only) 10303185 10303185 0 0.0
(read/write) 622240 622240 0 0.0
.bss 24728 24728 0 0.0
.data 3234 3234 0 0.0
.data.rel.ro 587888 587888 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 514485 514485 0 0.0
.text 8357012 8357012 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9996532 9996532 0 0.0
(read/write) 684529 684529 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 623432 623432 0 0.0
.dynamic 528 528 0 0.0
.got 13520 13520 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 476644 476644 0 0.0
.text 7959220 7959220 0 0.0
lighting-app debug+rpc (read only) 2550697 2550697 0 0.0
(read/write) 129528 129528 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72136 72136 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 213608 213608 0 0.0
.text 2167122 2167122 0 0.0
lock-app debug (read only) 2515313 2515313 0 0.0
(read/write) 124504 124504 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69096 69096 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228648 228648 0 0.0
.text 2121522 2121522 0 0.0
ota-provider-app debug (read only) 2322033 2322033 0 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63096 63096 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203416 203416 0 0.0
.text 1955842 1955842 0 0.0
ota-requestor-app debug (read only) 2439185 2439185 0 0.0
(read/write) 125216 125216 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67288 67288 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207232 207232 0 0.0
.text 2060802 2060802 0 0.0
shell debug (read only) 2550569 2550569 0 0.0
(read/write) 141096 141096 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76688 76688 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227666 227666 0 0.0
.text 2165826 2165826 0 0.0
thermostat-no-ble arm64 (read only) 2594820 2594820 0 0.0
(read/write) 158289 158289 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83240 83240 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165380 165380 0 0.0
.text 2189664 2189664 0 0.0
tv-app debug (read only) 3101905 3101905 0 0.0
(read/write) 257704 257704 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79392 79392 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 248928 248928 0 0.0
.text 2665074 2665074 0 0.0
tv-casting-app debug (read only) 5565449 5565449 0 0.0
(read/write) 161968 161968 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 103048 103048 0 0.0
.dynamic 608 608 0 0.0
.got 4744 4744 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343241 343241 0 0.0
.text 4944258 4944258 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447808 2447808 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1410452 1410452 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174839 1174839 0 0.0
bss 142900 142900 0 0.0
rodata 141776 141776 0 0.0
text 811272 811276 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155031 1155031 0 0.0
bss 142136 142136 0 0.0
rodata 133304 133304 0 0.0
text 800720 800720 0 0.0
p6 all-clusters-app default (read/write) 2565056 2565056 0 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1523320 1523320 0 0.0
all-clusters-minimal-app default (read/write) 2510112 2510112 0 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1468376 1468376 0 0.0
light-app default (read/write) 2440416 2440416 0 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1398680 1398680 0 0.0
lock-app default (read/write) 2467656 2467656 0 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1425920 1425920 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796992 796992 0 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 565502 565502 0 0.0
lighting-app tlsr9518adk80d (read/write) 816816 816824 8 0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 581824 581826 2 0.0

@jtung-apple jtung-apple force-pushed the issue-18505-serial-read branch from c219a45 to 560e7d2 Compare July 15, 2022 17:12
@github-actions
Copy link

github-actions bot commented Jul 15, 2022

PR #20519: Size comparison from 293ce20 to 560e7d2

Increases (1 build for cc13x2_26x2)
platform target config section 293ce20 560e7d2 change % change
cc13x2_26x2 lock-mtd LP_CC2652R7 (read/write) 183784 183792 8 0.0
Decreases (4 builds for bl602, cc13x2_26x2, telink)
platform target config section 293ce20 560e7d2 change % change
bl602 lighting-app bl602+rpc .text 1091080 1091076 -4 -0.0
cc13x2_26x2 lock-mtd LP_CC2652R7 (read only) 653319 653311 -8 -0.0
.text 551792 551784 -8 -0.0
telink light-switch-app tlsr9518adk80d text 566260 566258 -2 -0.0
lighting-app tlsr9518adk80d text 582584 582582 -2 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 293ce20 560e7d2 change % change
bl602 lighting-app bl602 (read/write) 1398434 1398434 0 0.0
.bss 116978 116978 0 0.0
.data 4480 4480 0 0.0
.text 1059396 1059396 0 0.0
bl602+rpc (read/write) 1443858 1443858 0 0.0
.bss 124418 124418 0 0.0
.data 4600 4600 0 0.0
.text 1091080 1091076 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667639 667639 0 0.0
(read/write) 183600 183600 0 0.0
.bss 74132 74132 0 0.0
.data 3356 3356 0 0.0
.rodata 88175 88175 0 0.0
.text 579148 579148 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633455 633455 0 0.0
(read/write) 157700 157700 0 0.0
.bss 73428 73428 0 0.0
.data 3356 3356 0 0.0
.rodata 77415 77415 0 0.0
.text 555716 555716 0 0.0
lock-ftd LP_CC2652R7 (read only) 671035 671035 0 0.0
(read/write) 170380 170380 0 0.0
.bss 71196 71196 0 0.0
.data 3280 3280 0 0.0
.rodata 76315 76315 0 0.0
.text 594240 594240 0 0.0
lock-mtd LP_CC2652R7 (read only) 653319 653311 -8 -0.0
(read/write) 183784 183792 8 0.0
.bss 66884 66884 0 0.0
.data 3280 3280 0 0.0
.rodata 101047 101047 0 0.0
.text 551792 551784 -8 -0.0
pump-app LP_CC2652R7 (read only) 680179 680179 0 0.0
(read/write) 162084 162084 0 0.0
.bss 71276 71276 0 0.0
.data 3280 3280 0 0.0
.rodata 88731 88731 0 0.0
.text 590964 590964 0 0.0
pump-controller-app LP_CC2652R7 (read only) 665987 665987 0 0.0
(read/write) 176396 176396 0 0.0
.bss 71396 71396 0 0.0
.data 3276 3276 0 0.0
.rodata 84595 84595 0 0.0
.text 580912 580912 0 0.0
shell LP_CC2652R7 (read only) 660130 660130 0 0.0
(read/write) 186612 186612 0 0.0
.bss 76436 76436 0 0.0
.data 3360 3360 0 0.0
.rodata 84954 84954 0 0.0
.text 574860 574860 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 581502 581502 0 0.0
.app_xip_area 460208 460208 0 0.0
.bss 64232 64232 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 587466 587466 0 0.0
.app_xip_area 461444 461444 0 0.0
.bss 68960 68960 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 584850 584850 0 0.0
.app_xip_area 464404 464404 0 0.0
.bss 63440 63440 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1083832 1083832 0 0.0
.bss 133044 133044 0 0.0
.data 2048 2048 0 0.0
.text 948720 948720 0 0.0
BRD4161A+rpc (read/write) 1138164 1138164 0 0.0
.bss 149724 149724 0 0.0
.data 2260 2260 0 0.0
.text 986156 986156 0 0.0
BRD4161A+rs911x (read/write) 949208 949208 0 0.0
.bss 140768 140768 0 0.0
.data 2048 2048 0 0.0
.text 806372 806372 0 0.0
lock-app BRD4161A+wf200 (read/write) 1127436 1127436 0 0.0
.bss 144136 144136 0 0.0
.data 2056 2056 0 0.0
.text 981224 981224 0 0.0
window-app BRD4161A (read/write) 1077636 1077636 0 0.0
.bss 134516 134516 0 0.0
.data 2076 2076 0 0.0
.text 941024 941024 0 0.0
esp32 all-clusters-app c3devkit (read only) 1020652 1020652 0 0.0
(read/write) 1485874 1485874 0 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215760 215760 0 0.0
.flash.text 1020652 1020652 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1074703 1074703 0 0.0
(read/write) 487928 487928 0 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246188 246188 0 0.0
.flash.text 1069319 1069319 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 660236 660236 0 0.0
.bss 69540 69540 0 0.0
.data 1992 1992 0 0.0
.text 582904 582904 0 0.0
lock k32w061+release (read/write) 687100 687100 0 0.0
.bss 70004 70004 0 0.0
.data 2004 2004 0 0.0
.text 609292 609292 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9935228 9935228 0 0.0
(read/write) 683057 683057 0 0.0
.bss 42961 42961 0 0.0
.data 3304 3304 0 0.0
.data.rel.ro 619344 619344 0 0.0
.dynamic 528 528 0 0.0
.got 13528 13528 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 476060 476060 0 0.0
.text 7906276 7906276 0 0.0
thermostat-no-ble arm64 (read only) 2597300 2597300 0 0.0
(read/write) 158257 158257 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83216 83216 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165668 165668 0 0.0
.text 2191888 2191888 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2448608 2448608 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1411252 1411252 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1175879 1175879 0 0.0
bss 142900 142900 0 0.0
rodata 142064 142064 0 0.0
text 812012 812012 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1156107 1156107 0 0.0
bss 142136 142136 0 0.0
rodata 133612 133612 0 0.0
text 801488 801488 0 0.0
p6 all-clusters-app default (read/write) 2567272 2567272 0 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1525536 1525536 0 0.0
all-clusters-minimal-app default (read/write) 2512568 2512568 0 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1470832 1470832 0 0.0
light-app default (read/write) 2442528 2442528 0 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1400792 1400792 0 0.0
lock-app default (read/write) 2469656 2469656 0 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1427920 1427920 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798068 798068 0 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 566260 566258 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 817892 817892 0 0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 582584 582582 -2 -0.0

@github-actions
Copy link

github-actions bot commented Jul 16, 2022

PR #20519: Size comparison from 293ce20 to a23af8c

Increases above 0.2%:

platform target config section 293ce20 a23af8c change % change
linux chip-tool-ipv6only arm64 (read only) 9935228 9988700 53472 0.5
(read/write) 683057 694577 11520 1.7
.data.rel.ro 619344 630768 11424 1.8
.got 13528 13624 96 0.7
.text 7906276 7932276 26000 0.3
Increases (17 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6)
platform target config section 293ce20 a23af8c change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667639 667751 112 0.0
.rodata 88175 88239 64 0.1
.text 579148 579196 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633455 633535 80 0.0
.rodata 77415 77479 64 0.1
.text 555716 555732 16 0.0
lock-ftd LP_CC2652R7 (read only) 671035 671147 112 0.0
.rodata 76315 76379 64 0.1
.text 594240 594288 48 0.0
lock-mtd LP_CC2652R7 (read only) 653319 653431 112 0.0
.rodata 101047 101111 64 0.1
.text 551792 551840 48 0.0
shell LP_CC2652R7 (read only) 660130 660226 96 0.0
.rodata 84954 85018 64 0.1
.text 574860 574892 32 0.0
cyw30739 lock cyw930739m2evb_01 (read/write) 587466 587506 40 0.0
.app_xip_area 461444 461484 40 0.0
efr32 lock-app BRD4161A+wf200 (read/write) 1127436 1127548 112 0.0
.text 981224 981336 112 0.0
esp32 all-clusters-app c3devkit (read only) 1020652 1020710 58 0.0
(read/write) 1485874 1485938 64 0.0
.flash.rodata 215760 215824 64 0.0
.flash.text 1020652 1020710 58 0.0
m5stack (read only) 1074703 1074755 52 0.0
(read/write) 487928 487992 64 0.0
.flash.rodata 246188 246252 64 0.0
.flash.text 1069319 1069371 52 0.0
k32w lock k32w061+release (read/write) 687100 687228 128 0.0
.text 609292 609420 128 0.0
linux chip-tool-ipv6only arm64 (read only) 9935228 9988700 53472 0.5
(read/write) 683057 694577 11520 1.7
.data.rel.ro 619344 630768 11424 1.8
.got 13528 13624 96 0.7
.rodata 476060 476460 400 0.1
.text 7906276 7932276 26000 0.3
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2448608 2448728 120 0.0
.text 1411252 1411372 120 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1175879 1175991 112 0.0
rodata 142064 142128 64 0.0
text 812012 812052 40 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1156107 1156183 76 0.0
rodata 133612 133672 60 0.0
text 801488 801504 16 0.0
p6 all-clusters-app default (read/write) 2567272 2567408 136 0.0
.text 1525536 1525672 136 0.0
all-clusters-minimal-app default (read/write) 2512568 2512656 88 0.0
.text 1470832 1470920 88 0.0
lock-app default (read/write) 2469656 2469792 136 0.0
.text 1427920 1428056 136 0.0
Decreases (6 builds for cc13x2_26x2, telink)
platform target config section 293ce20 a23af8c change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 183600 183488 -112 -0.1
lock-ftd LP_CC2652R7 (read/write) 170380 170268 -112 -0.1
lock-mtd LP_CC2652R7 (read/write) 183784 183672 -112 -0.1
shell LP_CC2652R7 (read/write) 186612 186516 -96 -0.1
telink light-switch-app tlsr9518adk80d text 566260 566258 -2 -0.0
lighting-app tlsr9518adk80d text 582584 582580 -4 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 293ce20 a23af8c change % change
bl602 lighting-app bl602 (read/write) 1398434 1398434 0 0.0
.bss 116978 116978 0 0.0
.data 4480 4480 0 0.0
.text 1059396 1059396 0 0.0
bl602+rpc (read/write) 1443858 1443858 0 0.0
.bss 124418 124418 0 0.0
.data 4600 4600 0 0.0
.text 1091080 1091080 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667639 667751 112 0.0
(read/write) 183600 183488 -112 -0.1
.bss 74132 74132 0 0.0
.data 3356 3356 0 0.0
.rodata 88175 88239 64 0.1
.text 579148 579196 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633455 633535 80 0.0
(read/write) 157700 157700 0 0.0
.bss 73428 73428 0 0.0
.data 3356 3356 0 0.0
.rodata 77415 77479 64 0.1
.text 555716 555732 16 0.0
lock-ftd LP_CC2652R7 (read only) 671035 671147 112 0.0
(read/write) 170380 170268 -112 -0.1
.bss 71196 71196 0 0.0
.data 3280 3280 0 0.0
.rodata 76315 76379 64 0.1
.text 594240 594288 48 0.0
lock-mtd LP_CC2652R7 (read only) 653319 653431 112 0.0
(read/write) 183784 183672 -112 -0.1
.bss 66884 66884 0 0.0
.data 3280 3280 0 0.0
.rodata 101047 101111 64 0.1
.text 551792 551840 48 0.0
pump-app LP_CC2652R7 (read only) 680179 680179 0 0.0
(read/write) 162084 162084 0 0.0
.bss 71276 71276 0 0.0
.data 3280 3280 0 0.0
.rodata 88731 88731 0 0.0
.text 590964 590964 0 0.0
pump-controller-app LP_CC2652R7 (read only) 665987 665987 0 0.0
(read/write) 176396 176396 0 0.0
.bss 71396 71396 0 0.0
.data 3276 3276 0 0.0
.rodata 84595 84595 0 0.0
.text 580912 580912 0 0.0
shell LP_CC2652R7 (read only) 660130 660226 96 0.0
(read/write) 186612 186516 -96 -0.1
.bss 76436 76436 0 0.0
.data 3360 3360 0 0.0
.rodata 84954 85018 64 0.1
.text 574860 574892 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 581502 581502 0 0.0
.app_xip_area 460208 460208 0 0.0
.bss 64232 64232 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 587466 587506 40 0.0
.app_xip_area 461444 461484 40 0.0
.bss 68960 68960 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 584850 584850 0 0.0
.app_xip_area 464404 464404 0 0.0
.bss 63440 63440 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1083832 1083832 0 0.0
.bss 133044 133044 0 0.0
.data 2048 2048 0 0.0
.text 948720 948720 0 0.0
BRD4161A+rpc (read/write) 1138164 1138164 0 0.0
.bss 149724 149724 0 0.0
.data 2260 2260 0 0.0
.text 986156 986156 0 0.0
BRD4161A+rs911x (read/write) 949208 949208 0 0.0
.bss 140768 140768 0 0.0
.data 2048 2048 0 0.0
.text 806372 806372 0 0.0
lock-app BRD4161A+wf200 (read/write) 1127436 1127548 112 0.0
.bss 144136 144136 0 0.0
.data 2056 2056 0 0.0
.text 981224 981336 112 0.0
window-app BRD4161A (read/write) 1077636 1077636 0 0.0
.bss 134516 134516 0 0.0
.data 2076 2076 0 0.0
.text 941024 941024 0 0.0
esp32 all-clusters-app c3devkit (read only) 1020652 1020710 58 0.0
(read/write) 1485874 1485938 64 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215760 215824 64 0.0
.flash.text 1020652 1020710 58 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1074703 1074755 52 0.0
(read/write) 487928 487992 64 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246188 246252 64 0.0
.flash.text 1069319 1069371 52 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 660236 660236 0 0.0
.bss 69540 69540 0 0.0
.data 1992 1992 0 0.0
.text 582904 582904 0 0.0
lock k32w061+release (read/write) 687100 687228 128 0.0
.bss 70004 70004 0 0.0
.data 2004 2004 0 0.0
.text 609292 609420 128 0.0
linux chip-tool-ipv6only arm64 (read only) 9935228 9988700 53472 0.5
(read/write) 683057 694577 11520 1.7
.bss 42961 42961 0 0.0
.data 3304 3304 0 0.0
.data.rel.ro 619344 630768 11424 1.8
.dynamic 528 528 0 0.0
.got 13528 13624 96 0.7
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 476060 476460 400 0.1
.text 7906276 7932276 26000 0.3
thermostat-no-ble arm64 (read only) 2597300 2597300 0 0.0
(read/write) 158257 158257 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83216 83216 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165668 165668 0 0.0
.text 2191888 2191888 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2448608 2448728 120 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1411252 1411372 120 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1175879 1175991 112 0.0
bss 142900 142900 0 0.0
rodata 142064 142128 64 0.0
text 812012 812052 40 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1156107 1156183 76 0.0
bss 142136 142136 0 0.0
rodata 133612 133672 60 0.0
text 801488 801504 16 0.0
p6 all-clusters-app default (read/write) 2567272 2567408 136 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1525536 1525672 136 0.0
all-clusters-minimal-app default (read/write) 2512568 2512656 88 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1470832 1470920 88 0.0
light-app default (read/write) 2442528 2442528 0 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1400792 1400792 0 0.0
lock-app default (read/write) 2469656 2469792 136 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1427920 1428056 136 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798068 798068 0 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 566260 566258 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 817892 817892 0 0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 582584 582580 -4 -0.0

@stale
Copy link

stale bot commented Jul 25, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions
Copy link

github-actions bot commented Jul 28, 2022

PR #20519: Size comparison from 8c18775 to 6f47b10

Increases (2 builds for cc13x2_26x2, telink)
platform target config section 8c18775 6f47b10 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 680735 680743 8 0.0
.text 591388 591396 8 0.0
telink lighting-app tlsr9518adk80d text 583810 583814 4 0.0
Decreases (2 builds for cc13x2_26x2, telink)
platform target config section 8c18775 6f47b10 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 161656 161648 -8 -0.0
telink light-switch-app tlsr9518adk80d text 567240 567238 -2 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8c18775 6f47b10 change % change
bl602 lighting-app bl602 (read/write) 1381330 1381330 0 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051628 1051628 0 0.0
bl602+rpc (read/write) 1426746 1426746 0 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083292 1083292 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668299 668299 0 0.0
(read/write) 183068 183068 0 0.0
.bss 74260 74260 0 0.0
.data 3356 3356 0 0.0
.rodata 88195 88195 0 0.0
.text 579788 579788 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633875 633875 0 0.0
(read/write) 157828 157828 0 0.0
.bss 73556 73556 0 0.0
.data 3356 3356 0 0.0
.rodata 77411 77411 0 0.0
.text 556140 556140 0 0.0
lock-ftd LP_CC2652R7 (read only) 671455 671455 0 0.0
(read/write) 170104 170104 0 0.0
.bss 71340 71340 0 0.0
.data 3280 3280 0 0.0
.rodata 76263 76263 0 0.0
.text 594712 594712 0 0.0
lock-mtd LP_CC2652R7 (read only) 653555 653555 0 0.0
(read/write) 183692 183692 0 0.0
.bss 67028 67028 0 0.0
.data 3280 3280 0 0.0
.rodata 100875 100875 0 0.0
.text 552200 552200 0 0.0
pump-app LP_CC2652R7 (read only) 680735 680743 8 0.0
(read/write) 161656 161648 -8 -0.0
.bss 71404 71404 0 0.0
.data 3280 3280 0 0.0
.rodata 88863 88863 0 0.0
.text 591388 591396 8 0.0
pump-controller-app LP_CC2652R7 (read only) 666487 666487 0 0.0
(read/write) 176040 176040 0 0.0
.bss 71540 71540 0 0.0
.data 3276 3276 0 0.0
.rodata 84679 84679 0 0.0
.text 581328 581328 0 0.0
shell LP_CC2652R7 (read only) 661006 661006 0 0.0
(read/write) 185880 185880 0 0.0
.bss 76580 76580 0 0.0
.data 3360 3360 0 0.0
.rodata 85166 85166 0 0.0
.text 575524 575524 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583206 583206 0 0.0
.app_xip_area 460016 460016 0 0.0
.bss 65648 65648 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589126 589126 0 0.0
.app_xip_area 461208 461208 0 0.0
.bss 70376 70376 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 588938 588938 0 0.0
.app_xip_area 466564 466564 0 0.0
.bss 64888 64888 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1087832 1087832 0 0.0
.bss 133284 133284 0 0.0
.data 2048 2048 0 0.0
.text 952480 952480 0 0.0
BRD4161A+rpc (read/write) 1142124 1142124 0 0.0
.bss 149964 149964 0 0.0
.data 2260 2260 0 0.0
.text 989880 989880 0 0.0
BRD4161A+rs911x (read/write) 973224 973224 0 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 809420 809420 0 0.0
lock-app BRD4161A+wf200 (read/write) 1128296 1128296 0 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981852 981852 0 0.0
window-app BRD4161A (read/write) 1081308 1081308 0 0.0
.bss 134756 134756 0 0.0
.data 2076 2076 0 0.0
.text 944452 944452 0 0.0
esp32 all-clusters-app c3devkit (read only) 1022460 1022460 0 0.0
(read/write) 1486274 1486274 0 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 215936 0 0.0
.flash.text 1022460 1022460 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076107 1076107 0 0.0
(read/write) 488312 488312 0 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246364 0 0.0
.flash.text 1070723 1070723 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642600 642600 0 0.0
.bss 69736 69736 0 0.0
.data 2028 2028 0 0.0
.text 568108 568108 0 0.0
lock k32w0+release (read/write) 699832 699832 0 0.0
.bss 70176 70176 0 0.0
.data 2036 2036 0 0.0
.text 624892 624892 0 0.0
linux all-clusters-app debug (read only) 2989849 2989849 0 0.0
(read/write) 155584 155584 0 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 269067 269067 0 0.0
.text 2542210 2542210 0 0.0
all-clusters-minimal-app debug (read only) 2832889 2832889 0 0.0
(read/write) 147288 147288 0 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 269227 269227 0 0.0
.text 2387698 2387698 0 0.0
bridge-app debug+rpc (read only) 2351177 2351177 0 0.0
(read/write) 127160 127160 0 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 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 201384 201384 0 0.0
.text 1987026 1987026 0 0.0
chip-tool debug (read only) 10425609 10425609 0 0.0
(read/write) 631224 631224 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 596592 596592 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 535381 535381 0 0.0
.text 8438340 8438340 0 0.0
chip-tool-ipv6only arm64 (read only) 9842868 9842868 0 0.0
(read/write) 678609 678609 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 623936 623936 0 0.0
.dynamic 560 560 0 0.0
.got 13552 13552 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 467588 467588 0 0.0
.text 7792932 7792932 0 0.0
lighting-app debug+rpc (read only) 2574169 2574169 0 0.0
(read/write) 130096 130096 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 217104 217104 0 0.0
.text 2186210 2186210 0 0.0
lock-app debug (read only) 2539185 2539185 0 0.0
(read/write) 125176 125176 0 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 231984 231984 0 0.0
.text 2141122 2141122 0 0.0
ota-provider-app debug (read only) 2343545 2343545 0 0.0
(read/write) 118944 118944 0 0.0
.bss 47776 47776 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 207576 207576 0 0.0
.text 1972306 1972306 0 0.0
ota-requestor-app debug (read only) 2464553 2464553 0 0.0
(read/write) 126304 126304 0 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 211136 211136 0 0.0
.text 2081138 2081138 0 0.0
shell debug (read only) 2573377 2573377 0 0.0
(read/write) 141736 141736 0 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 231250 231250 0 0.0
.text 2184066 2184066 0 0.0
thermostat-no-ble arm64 (read only) 2343388 2343388 0 0.0
(read/write) 141601 141601 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75856 75856 0 0.0
.dynamic 560 560 0 0.0
.got 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 138964 0 0.0
.text 1967200 1967200 0 0.0
tv-app debug (read only) 3123553 3123553 0 0.0
(read/write) 257416 257416 0 0.0
.bss 167256 167256 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 78888 78888 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 253416 253416 0 0.0
.text 2681138 2681138 0 0.0
tv-casting-app debug (read only) 5378297 5378297 0 0.0
(read/write) 158592 158592 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 338513 338513 0 0.0
.text 4772706 4772706 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450384 2450384 0 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413028 1413028 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172691 1172691 0 0.0
bss 143140 143140 0 0.0
rodata 141828 141828 0 0.0
text 808808 808808 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152743 1152743 0 0.0
bss 142376 142376 0 0.0
rodata 133360 133360 0 0.0
text 798120 798120 0 0.0
p6 all-clusters-app default (read only) 881560 881560 0 0.0
(read/write) 1686700 1686700 0 0.0
.bss 149136 149136 0 0.0
.data 2648 2648 0 0.0
.text 1526528 1526528 0 0.0
all-clusters-minimal-app default (read only) 882280 882280 0 0.0
(read/write) 1630796 1630796 0 0.0
.bss 148416 148416 0 0.0
.data 2648 2648 0 0.0
.text 1471344 1471344 0 0.0
light-app default (read only) 890584 890584 0 0.0
(read/write) 1552220 1552220 0 0.0
.bss 140320 140320 0 0.0
.data 2440 2440 0 0.0
.text 1401072 1401072 0 0.0
lock-app default (read only) 886112 886112 0 0.0
(read/write) 1589828 1589828 0 0.0
.bss 144776 144776 0 0.0
.data 2456 2456 0 0.0
.text 1434208 1434208 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799600 799600 0 0.0
bss 70816 70816 0 0.0
noinit 40416 40416 0 0.0
text 567240 567238 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 819708 819708 0 0.0
bss 71660 71660 0 0.0
noinit 40416 40416 0 0.0
text 583810 583814 4 0.0

@jtung-apple jtung-apple force-pushed the issue-18505-serial-read branch from 6f47b10 to e058b6c Compare July 28, 2022 23:15
@github-actions
Copy link

github-actions bot commented Jul 28, 2022

PR #20519: Size comparison from cc3e2b7 to e058b6c

Increases (2 builds for cc13x2_26x2, telink)
platform target config section cc3e2b7 e058b6c change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182820 182828 8 0.0
telink light-switch-app tlsr9518adk80d text 567244 567246 2 0.0
Decreases (3 builds for cc13x2_26x2, nrfconnect)
platform target config section cc3e2b7 e058b6c change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668523 668515 -8 -0.0
.text 580012 580004 -8 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634107 634099 -8 -0.0
.text 556372 556364 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172931 1172915 -16 -0.0
text 809028 809024 -4 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cc3e2b7 e058b6c change % change
bl602 lighting-app bl602 (read/write) 1381618 1381618 0 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051888 1051888 0 0.0
bl602+rpc (read/write) 1427034 1427034 0 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083552 1083552 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668523 668515 -8 -0.0
(read/write) 182820 182828 8 0.0
.bss 74236 74236 0 0.0
.data 3372 3372 0 0.0
.rodata 88195 88195 0 0.0
.text 580012 580004 -8 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634107 634099 -8 -0.0
(read/write) 157820 157820 0 0.0
.bss 73532 73532 0 0.0
.data 3372 3372 0 0.0
.rodata 77411 77411 0 0.0
.text 556372 556364 -8 -0.0
lock-ftd LP_CC2652R7 (read only) 671487 671487 0 0.0
(read/write) 170048 170048 0 0.0
.bss 71316 71316 0 0.0
.data 3296 3296 0 0.0
.rodata 76263 76263 0 0.0
.text 594744 594744 0 0.0
lock-mtd LP_CC2652R7 (read only) 653595 653595 0 0.0
(read/write) 183628 183628 0 0.0
.bss 67004 67004 0 0.0
.data 3296 3296 0 0.0
.rodata 100875 100875 0 0.0
.text 552240 552240 0 0.0
pump-app LP_CC2652R7 (read only) 680959 680959 0 0.0
(read/write) 161408 161408 0 0.0
.bss 71380 71380 0 0.0
.data 3296 3296 0 0.0
.rodata 88863 88863 0 0.0
.text 591612 591612 0 0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666527 0 0.0
(read/write) 175976 175976 0 0.0
.bss 71516 71516 0 0.0
.data 3292 3292 0 0.0
.rodata 84679 84679 0 0.0
.text 581368 581368 0 0.0
shell LP_CC2652R7 (read only) 661206 661206 0 0.0
(read/write) 185656 185656 0 0.0
.bss 76556 76556 0 0.0
.data 3376 3376 0 0.0
.rodata 85166 85166 0 0.0
.text 575724 575724 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583414 583414 0 0.0
.app_xip_area 460232 460232 0 0.0
.bss 65624 65624 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) 589158 589158 0 0.0
.app_xip_area 461248 461248 0 0.0
.bss 70352 70352 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) 588970 588970 0 0.0
.app_xip_area 466604 466604 0 0.0
.bss 64864 64864 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088048 0 0.0
.bss 133260 133260 0 0.0
.data 2064 2064 0 0.0
.text 952704 952704 0 0.0
BRD4161A+rpc (read/write) 1142356 1142356 0 0.0
.bss 149940 149940 0 0.0
.data 2276 2276 0 0.0
.text 990120 990120 0 0.0
BRD4161A+rs911x (read/write) 973912 973912 0 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 810108 810108 0 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128392 0 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981948 981948 0 0.0
window-app BRD4161A (read/write) 1081316 1081316 0 0.0
.bss 134732 134732 0 0.0
.data 2092 2092 0 0.0
.text 944468 944468 0 0.0
esp32 all-clusters-app c3devkit (read only) 1022808 1022808 0 0.0
(read/write) 1486274 1486274 0 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 215936 0 0.0
.flash.text 1022808 1022808 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076295 1076295 0 0.0
(read/write) 488312 488312 0 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246364 0 0.0
.flash.text 1070911 1070911 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642800 642800 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568316 568316 0 0.0
lock k32w0+release (read/write) 699920 699920 0 0.0
.bss 70152 70152 0 0.0
.data 2052 2052 0 0.0
.text 624988 624988 0 0.0
linux all-clusters-app debug (read only) 2991257 2991257 0 0.0
(read/write) 155584 155584 0 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 269195 269195 0 0.0
.text 2543490 2543490 0 0.0
all-clusters-minimal-app debug (read only) 2834297 2834297 0 0.0
(read/write) 147288 147288 0 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 269355 269355 0 0.0
.text 2388978 2388978 0 0.0
bridge-app debug+rpc (read only) 2352649 2352649 0 0.0
(read/write) 127160 127160 0 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 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 201480 201480 0 0.0
.text 1988402 1988402 0 0.0
chip-tool debug (read only) 10466289 10466289 0 0.0
(read/write) 641464 641464 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 535989 535989 0 0.0
.text 8445892 8445892 0 0.0
chip-tool-ipv6only arm64 (read only) 9881988 9881988 0 0.0
(read/write) 689041 689041 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634336 634336 0 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468196 468196 0 0.0
.text 7798660 7798660 0 0.0
lighting-app debug+rpc (read only) 2575513 2575513 0 0.0
(read/write) 130096 130096 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 217232 217232 0 0.0
.text 2187426 2187426 0 0.0
lock-app debug (read only) 2539617 2539617 0 0.0
(read/write) 125176 125176 0 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 232112 232112 0 0.0
.text 2141426 2141426 0 0.0
ota-provider-app debug (read only) 2343961 2343961 0 0.0
(read/write) 118944 118944 0 0.0
.bss 47776 47776 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 207704 207704 0 0.0
.text 1972594 1972594 0 0.0
ota-requestor-app debug (read only) 2464873 2464873 0 0.0
(read/write) 126304 126304 0 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 211264 211264 0 0.0
.text 2081330 2081330 0 0.0
shell debug (read only) 2574785 2574785 0 0.0
(read/write) 141736 141736 0 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 231282 231282 0 0.0
.text 2185442 2185442 0 0.0
thermostat-no-ble arm64 (read only) 2343516 2343516 0 0.0
(read/write) 141633 141633 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 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 138964 0 0.0
.text 1967312 1967312 0 0.0
tv-app debug (read only) 3147041 3147041 0 0.0
(read/write) 257640 257640 0 0.0
.bss 167320 167320 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79032 79032 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 255240 255240 0 0.0
.text 2702418 2702418 0 0.0
tv-casting-app debug (read only) 5382121 5382121 0 0.0
(read/write) 158592 158592 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 338641 338641 0 0.0
.text 4776402 4776402 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450672 2450672 0 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413316 1413316 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172931 1172915 -16 -0.0
bss 143120 143120 0 0.0
rodata 141828 141828 0 0.0
text 809028 809024 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1152967 0 0.0
bss 142356 142356 0 0.0
rodata 133360 133360 0 0.0
text 798336 798336 0 0.0
p6 all-clusters-app default (read only) 881560 881560 0 0.0
(read/write) 1686972 1686972 0 0.0
.bss 149136 149136 0 0.0
.data 2648 2648 0 0.0
.text 1526800 1526800 0 0.0
all-clusters-minimal-app default (read only) 882280 882280 0 0.0
(read/write) 1631084 1631084 0 0.0
.bss 148416 148416 0 0.0
.data 2648 2648 0 0.0
.text 1471632 1471632 0 0.0
light-app default (read only) 890584 890584 0 0.0
(read/write) 1552492 1552492 0 0.0
.bss 140320 140320 0 0.0
.data 2440 2440 0 0.0
.text 1401344 1401344 0 0.0
lock-app default (read only) 886112 886112 0 0.0
(read/write) 1589908 1589908 0 0.0
.bss 144776 144776 0 0.0
.data 2456 2456 0 0.0
.text 1434288 1434288 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799608 0 0.0
bss 70796 70796 0 0.0
noinit 40416 40416 0 0.0
text 567244 567246 2 0.0
lighting-app tlsr9518adk80d (read/write) 820024 820024 0 0.0
bss 71640 71640 0 0.0
noinit 40416 40416 0 0.0
text 584108 584108 0 0.0

@jtung-apple jtung-apple force-pushed the issue-18505-serial-read branch from e058b6c to 0335ad2 Compare July 29, 2022 03:26
@github-actions
Copy link

github-actions bot commented Jul 29, 2022

PR #20519: Size comparison from 21b1e5a to 0335ad2

Increases (2 builds for cc13x2_26x2, nrfconnect)
platform target config section 21b1e5a 0335ad2 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 161408 161416 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
text 809024 809028 4 0.0
Decreases (1 build for cc13x2_26x2)
platform target config section 21b1e5a 0335ad2 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 680959 680951 -8 -0.0
.text 591612 591604 -8 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 21b1e5a 0335ad2 change % change
bl602 lighting-app bl602 (read/write) 1381618 1381618 0 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051888 1051888 0 0.0
bl602+rpc (read/write) 1427034 1427034 0 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083556 1083556 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668523 668523 0 0.0
(read/write) 182820 182820 0 0.0
.bss 74236 74236 0 0.0
.data 3372 3372 0 0.0
.rodata 88195 88195 0 0.0
.text 580012 580012 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634107 634107 0 0.0
(read/write) 157820 157820 0 0.0
.bss 73532 73532 0 0.0
.data 3372 3372 0 0.0
.rodata 77411 77411 0 0.0
.text 556372 556372 0 0.0
lock-ftd LP_CC2652R7 (read only) 671495 671495 0 0.0
(read/write) 170040 170040 0 0.0
.bss 71316 71316 0 0.0
.data 3296 3296 0 0.0
.rodata 76263 76263 0 0.0
.text 594752 594752 0 0.0
lock-mtd LP_CC2652R7 (read only) 653595 653595 0 0.0
(read/write) 183628 183628 0 0.0
.bss 67004 67004 0 0.0
.data 3296 3296 0 0.0
.rodata 100875 100875 0 0.0
.text 552240 552240 0 0.0
pump-app LP_CC2652R7 (read only) 680959 680951 -8 -0.0
(read/write) 161408 161416 8 0.0
.bss 71380 71380 0 0.0
.data 3296 3296 0 0.0
.rodata 88863 88863 0 0.0
.text 591612 591604 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666527 0 0.0
(read/write) 175976 175976 0 0.0
.bss 71516 71516 0 0.0
.data 3292 3292 0 0.0
.rodata 84679 84679 0 0.0
.text 581368 581368 0 0.0
shell LP_CC2652R7 (read only) 661206 661206 0 0.0
(read/write) 185656 185656 0 0.0
.bss 76556 76556 0 0.0
.data 3376 3376 0 0.0
.rodata 85166 85166 0 0.0
.text 575724 575724 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583414 583414 0 0.0
.app_xip_area 460232 460232 0 0.0
.bss 65624 65624 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) 589158 589158 0 0.0
.app_xip_area 461248 461248 0 0.0
.bss 70352 70352 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) 588970 588970 0 0.0
.app_xip_area 466604 466604 0 0.0
.bss 64864 64864 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088048 0 0.0
.bss 133260 133260 0 0.0
.data 2064 2064 0 0.0
.text 952704 952704 0 0.0
BRD4161A+rpc (read/write) 1142356 1142356 0 0.0
.bss 149940 149940 0 0.0
.data 2276 2276 0 0.0
.text 990120 990120 0 0.0
BRD4161A+rs911x (read/write) 973912 973912 0 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 810108 810108 0 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128392 0 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981948 981948 0 0.0
window-app BRD4161A (read/write) 1081316 1081316 0 0.0
.bss 134732 134732 0 0.0
.data 2092 2092 0 0.0
.text 944468 944468 0 0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022806 0 0.0
(read/write) 1486274 1486274 0 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 215936 0 0.0
.flash.text 1022806 1022806 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076295 1076295 0 0.0
(read/write) 488312 488312 0 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246364 0 0.0
.flash.text 1070911 1070911 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642800 642800 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568316 568316 0 0.0
lock k32w0+release (read/write) 699920 699920 0 0.0
.bss 70152 70152 0 0.0
.data 2052 2052 0 0.0
.text 624988 624988 0 0.0
linux all-clusters-app debug (read only) 2991257 2991257 0 0.0
(read/write) 155584 155584 0 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 269195 269195 0 0.0
.text 2543490 2543490 0 0.0
all-clusters-minimal-app debug (read only) 2834297 2834297 0 0.0
(read/write) 147288 147288 0 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 269355 269355 0 0.0
.text 2388978 2388978 0 0.0
bridge-app debug+rpc (read only) 2352649 2352649 0 0.0
(read/write) 127160 127160 0 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 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 201480 201480 0 0.0
.text 1988402 1988402 0 0.0
chip-tool debug (read only) 10466289 10466289 0 0.0
(read/write) 641464 641464 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 535989 535989 0 0.0
.text 8445892 8445892 0 0.0
chip-tool-ipv6only arm64 (read only) 9881988 9881988 0 0.0
(read/write) 689041 689041 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634336 634336 0 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468196 468196 0 0.0
.text 7798660 7798660 0 0.0
lighting-app debug+rpc (read only) 2575513 2575513 0 0.0
(read/write) 130096 130096 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 217232 217232 0 0.0
.text 2187426 2187426 0 0.0
lock-app debug (read only) 2539617 2539617 0 0.0
(read/write) 125176 125176 0 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 232112 232112 0 0.0
.text 2141426 2141426 0 0.0
ota-provider-app debug (read only) 2343961 2343961 0 0.0
(read/write) 118944 118944 0 0.0
.bss 47776 47776 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 207704 207704 0 0.0
.text 1972594 1972594 0 0.0
ota-requestor-app debug (read only) 2464873 2464873 0 0.0
(read/write) 126304 126304 0 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 211264 211264 0 0.0
.text 2081330 2081330 0 0.0
shell debug (read only) 2574785 2574785 0 0.0
(read/write) 141736 141736 0 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 231282 231282 0 0.0
.text 2185442 2185442 0 0.0
thermostat-no-ble arm64 (read only) 2343516 2343516 0 0.0
(read/write) 141633 141633 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 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 138964 0 0.0
.text 1967312 1967312 0 0.0
tv-app debug (read only) 3147041 3147041 0 0.0
(read/write) 257640 257640 0 0.0
.bss 167320 167320 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79032 79032 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 255240 255240 0 0.0
.text 2702418 2702418 0 0.0
tv-casting-app debug (read only) 5382121 5382121 0 0.0
(read/write) 158592 158592 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 338641 338641 0 0.0
.text 4776402 4776402 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450672 2450672 0 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413316 1413316 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
bss 143120 143120 0 0.0
rodata 141828 141828 0 0.0
text 809024 809028 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1152967 0 0.0
bss 142356 142356 0 0.0
rodata 133360 133360 0 0.0
text 798336 798336 0 0.0
p6 all-clusters-app default (read only) 881560 881560 0 0.0
(read/write) 1686972 1686972 0 0.0
.bss 149136 149136 0 0.0
.data 2648 2648 0 0.0
.text 1526800 1526800 0 0.0
all-clusters-minimal-app default (read only) 882280 882280 0 0.0
(read/write) 1631084 1631084 0 0.0
.bss 148416 148416 0 0.0
.data 2648 2648 0 0.0
.text 1471632 1471632 0 0.0
light-app default (read only) 890584 890584 0 0.0
(read/write) 1552492 1552492 0 0.0
.bss 140320 140320 0 0.0
.data 2440 2440 0 0.0
.text 1401344 1401344 0 0.0
lock-app default (read only) 886112 886112 0 0.0
(read/write) 1589908 1589908 0 0.0
.bss 144776 144776 0 0.0
.data 2456 2456 0 0.0
.text 1434288 1434288 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799608 0 0.0
bss 70796 70796 0 0.0
noinit 40416 40416 0 0.0
text 567246 567246 0 0.0
lighting-app tlsr9518adk80d (read/write) 820024 820024 0 0.0
bss 71640 71640 0 0.0
noinit 40416 40416 0 0.0
text 584110 584110 0 0.0

@jtung-apple jtung-apple force-pushed the issue-18505-serial-read branch from 0335ad2 to e6c5780 Compare July 29, 2022 06:34
@github-actions
Copy link

github-actions bot commented Jul 29, 2022

PR #20519: Size comparison from 21b1e5a to e6c5780

Increases (2 builds for cc13x2_26x2, nrfconnect)
platform target config section 21b1e5a e6c5780 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 170040 170048 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
text 809024 809028 4 0.0
Decreases (2 builds for cc13x2_26x2, esp32)
platform target config section 21b1e5a e6c5780 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 671495 671487 -8 -0.0
.text 594752 594744 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022804 -2 -0.0
.flash.text 1022806 1022804 -2 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 21b1e5a e6c5780 change % change
bl602 lighting-app bl602 (read/write) 1381618 1381618 0 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051888 1051888 0 0.0
bl602+rpc (read/write) 1427034 1427034 0 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083556 1083556 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668523 668523 0 0.0
(read/write) 182820 182820 0 0.0
.bss 74236 74236 0 0.0
.data 3372 3372 0 0.0
.rodata 88195 88195 0 0.0
.text 580012 580012 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634107 634107 0 0.0
(read/write) 157820 157820 0 0.0
.bss 73532 73532 0 0.0
.data 3372 3372 0 0.0
.rodata 77411 77411 0 0.0
.text 556372 556372 0 0.0
lock-ftd LP_CC2652R7 (read only) 671495 671487 -8 -0.0
(read/write) 170040 170048 8 0.0
.bss 71316 71316 0 0.0
.data 3296 3296 0 0.0
.rodata 76263 76263 0 0.0
.text 594752 594744 -8 -0.0
lock-mtd LP_CC2652R7 (read only) 653595 653595 0 0.0
(read/write) 183628 183628 0 0.0
.bss 67004 67004 0 0.0
.data 3296 3296 0 0.0
.rodata 100875 100875 0 0.0
.text 552240 552240 0 0.0
pump-app LP_CC2652R7 (read only) 680959 680959 0 0.0
(read/write) 161408 161408 0 0.0
.bss 71380 71380 0 0.0
.data 3296 3296 0 0.0
.rodata 88863 88863 0 0.0
.text 591612 591612 0 0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666527 0 0.0
(read/write) 175976 175976 0 0.0
.bss 71516 71516 0 0.0
.data 3292 3292 0 0.0
.rodata 84679 84679 0 0.0
.text 581368 581368 0 0.0
shell LP_CC2652R7 (read only) 661206 661206 0 0.0
(read/write) 185656 185656 0 0.0
.bss 76556 76556 0 0.0
.data 3376 3376 0 0.0
.rodata 85166 85166 0 0.0
.text 575724 575724 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583414 583414 0 0.0
.app_xip_area 460232 460232 0 0.0
.bss 65624 65624 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) 589158 589158 0 0.0
.app_xip_area 461248 461248 0 0.0
.bss 70352 70352 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) 588970 588970 0 0.0
.app_xip_area 466604 466604 0 0.0
.bss 64864 64864 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088048 0 0.0
.bss 133260 133260 0 0.0
.data 2064 2064 0 0.0
.text 952704 952704 0 0.0
BRD4161A+rpc (read/write) 1142356 1142356 0 0.0
.bss 149940 149940 0 0.0
.data 2276 2276 0 0.0
.text 990120 990120 0 0.0
BRD4161A+rs911x (read/write) 973912 973912 0 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 810108 810108 0 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128392 0 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981948 981948 0 0.0
window-app BRD4161A (read/write) 1081316 1081316 0 0.0
.bss 134732 134732 0 0.0
.data 2092 2092 0 0.0
.text 944468 944468 0 0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022804 -2 -0.0
(read/write) 1486274 1486274 0 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 215936 0 0.0
.flash.text 1022806 1022804 -2 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076295 1076295 0 0.0
(read/write) 488312 488312 0 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246364 0 0.0
.flash.text 1070911 1070911 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642800 642800 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568316 568316 0 0.0
lock k32w0+release (read/write) 699920 699920 0 0.0
.bss 70152 70152 0 0.0
.data 2052 2052 0 0.0
.text 624988 624988 0 0.0
linux all-clusters-app debug (read only) 2991257 2991257 0 0.0
(read/write) 155584 155584 0 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 269195 269195 0 0.0
.text 2543490 2543490 0 0.0
all-clusters-minimal-app debug (read only) 2834297 2834297 0 0.0
(read/write) 147288 147288 0 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 269355 269355 0 0.0
.text 2388978 2388978 0 0.0
bridge-app debug+rpc (read only) 2352649 2352649 0 0.0
(read/write) 127160 127160 0 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 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 201480 201480 0 0.0
.text 1988402 1988402 0 0.0
chip-tool debug (read only) 10466289 10466289 0 0.0
(read/write) 641464 641464 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 535989 535989 0 0.0
.text 8445892 8445892 0 0.0
chip-tool-ipv6only arm64 (read only) 9881988 9881988 0 0.0
(read/write) 689041 689041 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634336 634336 0 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468196 468196 0 0.0
.text 7798660 7798660 0 0.0
lighting-app debug+rpc (read only) 2575513 2575513 0 0.0
(read/write) 130096 130096 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 217232 217232 0 0.0
.text 2187426 2187426 0 0.0
lock-app debug (read only) 2539617 2539617 0 0.0
(read/write) 125176 125176 0 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 232112 232112 0 0.0
.text 2141426 2141426 0 0.0
ota-provider-app debug (read only) 2343961 2343961 0 0.0
(read/write) 118944 118944 0 0.0
.bss 47776 47776 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 207704 207704 0 0.0
.text 1972594 1972594 0 0.0
ota-requestor-app debug (read only) 2464873 2464873 0 0.0
(read/write) 126304 126304 0 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 211264 211264 0 0.0
.text 2081330 2081330 0 0.0
shell debug (read only) 2574785 2574785 0 0.0
(read/write) 141736 141736 0 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 231282 231282 0 0.0
.text 2185442 2185442 0 0.0
thermostat-no-ble arm64 (read only) 2343516 2343516 0 0.0
(read/write) 141633 141633 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 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 138964 0 0.0
.text 1967312 1967312 0 0.0
tv-app debug (read only) 3147041 3147041 0 0.0
(read/write) 257640 257640 0 0.0
.bss 167320 167320 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79032 79032 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 255240 255240 0 0.0
.text 2702418 2702418 0 0.0
tv-casting-app debug (read only) 5382121 5382121 0 0.0
(read/write) 158592 158592 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 338641 338641 0 0.0
.text 4776402 4776402 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450672 2450672 0 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413316 1413316 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
bss 143120 143120 0 0.0
rodata 141828 141828 0 0.0
text 809024 809028 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1152967 0 0.0
bss 142356 142356 0 0.0
rodata 133360 133360 0 0.0
text 798336 798336 0 0.0
p6 all-clusters-app default (read only) 881560 881560 0 0.0
(read/write) 1686972 1686972 0 0.0
.bss 149136 149136 0 0.0
.data 2648 2648 0 0.0
.text 1526800 1526800 0 0.0
all-clusters-minimal-app default (read only) 882280 882280 0 0.0
(read/write) 1631084 1631084 0 0.0
.bss 148416 148416 0 0.0
.data 2648 2648 0 0.0
.text 1471632 1471632 0 0.0
light-app default (read only) 890584 890584 0 0.0
(read/write) 1552492 1552492 0 0.0
.bss 140320 140320 0 0.0
.data 2440 2440 0 0.0
.text 1401344 1401344 0 0.0
lock-app default (read only) 886112 886112 0 0.0
(read/write) 1589908 1589908 0 0.0
.bss 144776 144776 0 0.0
.data 2456 2456 0 0.0
.text 1434288 1434288 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799608 0 0.0
bss 70796 70796 0 0.0
noinit 40416 40416 0 0.0
text 567246 567246 0 0.0
lighting-app tlsr9518adk80d (read/write) 820024 820024 0 0.0
bss 71640 71640 0 0.0
noinit 40416 40416 0 0.0
text 584110 584110 0 0.0

@github-actions
Copy link

github-actions bot commented Jul 29, 2022

PR #20519: Size comparison from 21b1e5a to 29ad017

Increases above 0.2%:

platform target config section 21b1e5a 29ad017 change % change
telink light-switch-app tlsr9518adk80d (read/write) 799608 804700 5092 0.6
noinit 40416 43488 3072 7.6
text 567246 568708 1462 0.3
lighting-app tlsr9518adk80d (read/write) 820024 825140 5116 0.6
noinit 40416 43488 3072 7.6
text 584110 585596 1486 0.3
Increases (32 builds for bl602, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, telink)
platform target config section 21b1e5a 29ad017 change % change
bl602 lighting-app bl602 (read/write) 1381618 1381770 152 0.0
.text 1051888 1052040 152 0.0
bl602+rpc (read/write) 1427034 1427186 152 0.0
.text 1083556 1083708 152 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583414 583502 88 0.0
.app_xip_area 460232 460320 88 0.0
lock cyw930739m2evb_01 (read/write) 589158 589254 96 0.0
.app_xip_area 461248 461344 96 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 588970 589194 224 0.0
.app_xip_area 466604 466828 224 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088248 200 0.0
.text 952704 952904 200 0.0
BRD4161A+rpc (read/write) 1142356 1142556 200 0.0
.text 990120 990320 200 0.0
BRD4161A+rs911x (read/write) 973912 974136 224 0.0
.text 810108 810332 224 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128616 224 0.0
.text 981948 982172 224 0.0
window-app BRD4161A (read/write) 1081316 1081540 224 0.0
.text 944468 944692 224 0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022962 156 0.0
(read/write) 1486274 1486338 64 0.0
.flash.rodata 215936 216000 64 0.0
.flash.text 1022806 1022962 156 0.0
m5stack (read only) 1076295 1076451 156 0.0
(read/write) 488312 488376 64 0.0
.flash.rodata 246364 246428 64 0.0
.flash.text 1070911 1071067 156 0.0
k32w light k32w0+release (read/write) 642800 642896 96 0.0
.text 568316 568412 96 0.0
lock k32w0+release (read/write) 699920 700016 96 0.0
.text 624988 625084 96 0.0
linux all-clusters-app debug (read only) 2991257 2992409 1152 0.0
.rodata 269195 269259 64 0.0
.text 2543490 2544578 1088 0.0
all-clusters-minimal-app debug (read only) 2834297 2835449 1152 0.0
.rodata 269355 269419 64 0.0
.text 2388978 2390066 1088 0.0
bridge-app debug+rpc (read only) 2352649 2353801 1152 0.0
.rodata 201480 201544 64 0.0
.text 1988402 1989490 1088 0.1
chip-tool debug (read only) 10466289 10468001 1712 0.0
.text 8445892 8447604 1712 0.0
chip-tool-ipv6only arm64 (read/write) 689041 689073 32 0.0
.data.rel.ro 634336 634360 24 0.0
lighting-app debug+rpc (read only) 2575513 2576665 1152 0.0
.rodata 217232 217296 64 0.0
.text 2187426 2188514 1088 0.0
lock-app debug (read only) 2539617 2540785 1168 0.0
.rodata 232112 232176 64 0.0
.text 2141426 2142530 1104 0.1
ota-provider-app debug (read only) 2343961 2345113 1152 0.0
.rodata 207704 207768 64 0.0
.text 1972594 1973682 1088 0.1
ota-requestor-app debug (read only) 2464873 2466041 1168 0.0
.rodata 211264 211328 64 0.0
.text 2081330 2082434 1104 0.1
shell debug (read only) 2574785 2575937 1152 0.0
.rodata 231282 231346 64 0.0
.text 2185442 2186530 1088 0.0
thermostat-no-ble arm64 (read only) 2343516 2344316 800 0.0
(read/write) 141633 141649 16 0.0
.data.rel.ro 75880 75904 24 0.0
.rodata 138964 139028 64 0.0
.text 1967312 1968016 704 0.0
tv-app debug (read only) 3147041 3148193 1152 0.0
.rodata 255240 255304 64 0.0
.text 2702418 2703506 1088 0.0
tv-casting-app debug (read only) 5382121 5383273 1152 0.0
.rodata 338641 338705 64 0.0
.text 4776402 4777490 1088 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2450672 2450880 208 0.0
.text 1413316 1413524 208 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1173135 220 0.0
rodata 141828 141888 60 0.0
text 809024 809184 160 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1153187 220 0.0
rodata 133360 133420 60 0.0
text 798336 798492 156 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 804700 5092 0.6
bss 70796 70964 168 0.2
noinit 40416 43488 3072 7.6
text 567246 568708 1462 0.3
lighting-app tlsr9518adk80d (read/write) 820024 825140 5116 0.6
bss 71640 71808 168 0.2
noinit 40416 43488 3072 7.6
text 584110 585596 1486 0.3
Decreases (1 build for linux)
platform target config section 21b1e5a 29ad017 change % change
linux chip-tool-ipv6only arm64 (read only) 9881988 9879540 -2448 -0.0
.text 7798660 7796180 -2480 -0.0
Full report (32 builds for bl602, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, telink)
platform target config section 21b1e5a 29ad017 change % change
bl602 lighting-app bl602 (read/write) 1381618 1381770 152 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051888 1052040 152 0.0
bl602+rpc (read/write) 1427034 1427186 152 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083556 1083708 152 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583414 583502 88 0.0
.app_xip_area 460232 460320 88 0.0
.bss 65624 65624 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) 589158 589254 96 0.0
.app_xip_area 461248 461344 96 0.0
.bss 70352 70352 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) 588970 589194 224 0.0
.app_xip_area 466604 466828 224 0.0
.bss 64864 64864 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088248 200 0.0
.bss 133260 133260 0 0.0
.data 2064 2064 0 0.0
.text 952704 952904 200 0.0
BRD4161A+rpc (read/write) 1142356 1142556 200 0.0
.bss 149940 149940 0 0.0
.data 2276 2276 0 0.0
.text 990120 990320 200 0.0
BRD4161A+rs911x (read/write) 973912 974136 224 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 810108 810332 224 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128616 224 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981948 982172 224 0.0
window-app BRD4161A (read/write) 1081316 1081540 224 0.0
.bss 134732 134732 0 0.0
.data 2092 2092 0 0.0
.text 944468 944692 224 0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022962 156 0.0
(read/write) 1486274 1486338 64 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 216000 64 0.0
.flash.text 1022806 1022962 156 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076295 1076451 156 0.0
(read/write) 488312 488376 64 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246428 64 0.0
.flash.text 1070911 1071067 156 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642800 642896 96 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568316 568412 96 0.0
lock k32w0+release (read/write) 699920 700016 96 0.0
.bss 70152 70152 0 0.0
.data 2052 2052 0 0.0
.text 624988 625084 96 0.0
linux all-clusters-app debug (read only) 2991257 2992409 1152 0.0
(read/write) 155584 155584 0 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 269195 269259 64 0.0
.text 2543490 2544578 1088 0.0
all-clusters-minimal-app debug (read only) 2834297 2835449 1152 0.0
(read/write) 147288 147288 0 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 269355 269419 64 0.0
.text 2388978 2390066 1088 0.0
bridge-app debug+rpc (read only) 2352649 2353801 1152 0.0
(read/write) 127160 127160 0 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 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 201480 201544 64 0.0
.text 1988402 1989490 1088 0.1
chip-tool debug (read only) 10466289 10468001 1712 0.0
(read/write) 641464 641464 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 535989 535989 0 0.0
.text 8445892 8447604 1712 0.0
chip-tool-ipv6only arm64 (read only) 9881988 9879540 -2448 -0.0
(read/write) 689041 689073 32 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634336 634360 24 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468196 468196 0 0.0
.text 7798660 7796180 -2480 -0.0
lighting-app debug+rpc (read only) 2575513 2576665 1152 0.0
(read/write) 130096 130096 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 217232 217296 64 0.0
.text 2187426 2188514 1088 0.0
lock-app debug (read only) 2539617 2540785 1168 0.0
(read/write) 125176 125176 0 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 232112 232176 64 0.0
.text 2141426 2142530 1104 0.1
ota-provider-app debug (read only) 2343961 2345113 1152 0.0
(read/write) 118944 118944 0 0.0
.bss 47776 47776 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 207704 207768 64 0.0
.text 1972594 1973682 1088 0.1
ota-requestor-app debug (read only) 2464873 2466041 1168 0.0
(read/write) 126304 126304 0 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 211264 211328 64 0.0
.text 2081330 2082434 1104 0.1
shell debug (read only) 2574785 2575937 1152 0.0
(read/write) 141736 141736 0 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 231282 231346 64 0.0
.text 2185442 2186530 1088 0.0
thermostat-no-ble arm64 (read only) 2343516 2344316 800 0.0
(read/write) 141633 141649 16 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75904 24 0.0
.dynamic 560 560 0 0.0
.got 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 139028 64 0.0
.text 1967312 1968016 704 0.0
tv-app debug (read only) 3147041 3148193 1152 0.0
(read/write) 257640 257640 0 0.0
.bss 167320 167320 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79032 79032 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 255240 255304 64 0.0
.text 2702418 2703506 1088 0.0
tv-casting-app debug (read only) 5382121 5383273 1152 0.0
(read/write) 158592 158592 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 338641 338705 64 0.0
.text 4776402 4777490 1088 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450672 2450880 208 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413316 1413524 208 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1173135 220 0.0
bss 143120 143120 0 0.0
rodata 141828 141888 60 0.0
text 809024 809184 160 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1153187 220 0.0
bss 142356 142356 0 0.0
rodata 133360 133420 60 0.0
text 798336 798492 156 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 804700 5092 0.6
bss 70796 70964 168 0.2
noinit 40416 43488 3072 7.6
text 567246 568708 1462 0.3
lighting-app tlsr9518adk80d (read/write) 820024 825140 5116 0.6
bss 71640 71808 168 0.2
noinit 40416 43488 3072 7.6
text 584110 585596 1486 0.3

@jtung-apple jtung-apple force-pushed the issue-18505-serial-read branch from 5574dfe to 4f5d44c Compare August 3, 2022 00:12
@github-actions
Copy link

github-actions bot commented Aug 3, 2022

PR #20519: Size comparison from 3deee28 to 4f5d44c

Decreases (2 builds for bl602, telink)
platform target config section 3deee28 4f5d44c change % change
bl602 lighting-app bl602 (read/write) 1378738 1378730 -8 -0.0
.text 1047200 1047196 -4 -0.0
telink lighting-app tlsr9518adk80d text 586308 586304 -4 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3deee28 4f5d44c change % change
bl602 lighting-app bl602 (read/write) 1378738 1378730 -8 -0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1047200 1047196 -4 -0.0
bl602+rpc (read/write) 1423986 1423986 0 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1078700 1078700 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 669979 669979 0 0.0
(read/write) 181404 181404 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88467 88467 0 0.0
.text 581196 581196 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 635491 635491 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77691 77691 0 0.0
.text 557476 557476 0 0.0
lock-ftd LP_CC2652R7 (read only) 672959 672959 0 0.0
(read/write) 168608 168608 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76535 76535 0 0.0
.text 595944 595944 0 0.0
lock-mtd LP_CC2652R7 (read only) 655507 655507 0 0.0
(read/write) 181748 181748 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101531 101531 0 0.0
.text 553496 553496 0 0.0
pump-app LP_CC2652R7 (read only) 681447 681447 0 0.0
(read/write) 160928 160928 0 0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 88919 88919 0 0.0
.text 592044 592044 0 0.0
pump-controller-app LP_CC2652R7 (read only) 667023 667023 0 0.0
(read/write) 175488 175488 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84743 84743 0 0.0
.text 581800 581800 0 0.0
shell LP_CC2652R7 (read only) 662678 662678 0 0.0
(read/write) 184224 184224 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85446 85446 0 0.0
.text 576916 576916 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584142 584142 0 0.0
.app_xip_area 460952 460952 0 0.0
.bss 65632 65632 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) 590614 590614 0 0.0
.app_xip_area 462640 462640 0 0.0
.bss 70416 70416 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) 589850 589850 0 0.0
.app_xip_area 467468 467468 0 0.0
.bss 64880 64880 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1089152 1089152 0 0.0
.bss 133268 133268 0 0.0
.data 2064 2064 0 0.0
.text 953800 953800 0 0.0
BRD4161A+rpc (read/write) 1143460 1143460 0 0.0
.bss 149948 149948 0 0.0
.data 2276 2276 0 0.0
.text 991216 991216 0 0.0
BRD4161A+rs911x (read/write) 975624 975624 0 0.0
.bss 161752 161752 0 0.0
.data 2048 2048 0 0.0
.text 811804 811804 0 0.0
lock-app BRD4161A+wf200 (read/write) 1130536 1130536 0 0.0
.bss 144400 144400 0 0.0
.data 2056 2056 0 0.0
.text 984060 984060 0 0.0
window-app BRD4161A (read/write) 1082460 1082460 0 0.0
.bss 134748 134748 0 0.0
.data 2092 2092 0 0.0
.text 945596 945596 0 0.0
esp32 all-clusters-app c3devkit (read only) 1024448 1024448 0 0.0
(read/write) 1487042 1487042 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 216672 216672 0 0.0
.flash.text 1024448 1024448 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1077927 1077927 0 0.0
(read/write) 489064 489064 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247084 247084 0 0.0
.flash.text 1072543 1072543 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643528 643528 0 0.0
.bss 69720 69720 0 0.0
.data 2044 2044 0 0.0
.text 569036 569036 0 0.0
lock k32w0+release (read/write) 701896 701896 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626932 626932 0 0.0
linux all-clusters-app debug (read only) 3015057 3015057 0 0.0
(read/write) 155720 155720 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85384 85384 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 271915 271915 0 0.0
.text 2564258 2564258 0 0.0
all-clusters-minimal-app debug (read only) 2856873 2856873 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 77992 77992 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 271947 271947 0 0.0
.text 2408674 2408674 0 0.0
bridge-app debug+rpc (read only) 2362201 2362201 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50592 50592 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67544 67544 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 202728 202728 0 0.0
.text 1996466 1996466 0 0.0
chip-tool debug (read only) 10558633 10558633 0 0.0
(read/write) 646336 646336 0 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 611704 611704 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 539509 539509 0 0.0
.text 8523172 8523172 0 0.0
chip-tool-ipv6only arm64 (read only) 9960892 9960892 0 0.0
(read/write) 694017 694017 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 639264 639264 0 0.0
.dynamic 560 560 0 0.0
.got 13624 13624 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471180 471180 0 0.0
.text 7862884 7862884 0 0.0
lighting-app debug+rpc (read only) 2584673 2584673 0 0.0
(read/write) 130232 130232 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72456 72456 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 218384 218384 0 0.0
.text 2195218 2195218 0 0.0
lock-app debug (read only) 2573337 2573337 0 0.0
(read/write) 125568 125568 0 0.0
.bss 48256 48256 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69592 69592 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 235920 235920 0 0.0
.text 2170402 2170402 0 0.0
ota-provider-app debug (read only) 2353265 2353265 0 0.0
(read/write) 119048 119048 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63416 63416 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 208920 208920 0 0.0
.text 1980466 1980466 0 0.0
ota-requestor-app debug (read only) 2473857 2473857 0 0.0
(read/write) 126440 126440 0 0.0
.bss 50176 50176 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 68072 68072 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 212448 212448 0 0.0
.text 2088914 2088914 0 0.0
shell debug (read only) 2586265 2586265 0 0.0
(read/write) 141872 141872 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77008 77008 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 232882 232882 0 0.0
.text 2195154 2195154 0 0.0
thermostat-no-ble arm64 (read only) 2350700 2350700 0 0.0
(read/write) 141761 141761 0 0.0
.bss 55329 55329 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75976 75976 0 0.0
.dynamic 560 560 0 0.0
.got 5016 5016 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139412 139412 0 0.0
.text 1973776 1973776 0 0.0
tv-app debug (read only) 3155729 3155729 0 0.0
(read/write) 257736 257736 0 0.0
.bss 167352 167352 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79104 79104 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 256392 256392 0 0.0
.text 2709762 2709762 0 0.0
tv-casting-app debug (read only) 5393105 5393105 0 0.0
(read/write) 158728 158728 0 0.0
.bss 51384 51384 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98504 98504 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 339825 339825 0 0.0
.text 4785986 4785986 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2453416 2453416 0 0.0
.bss 214548 214548 0 0.0
.data 5872 5872 0 0.0
.text 1416060 1416060 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1176571 1176571 0 0.0
bss 143224 143224 0 0.0
rodata 142620 142620 0 0.0
text 811888 811888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1156459 1156459 0 0.0
bss 142460 142460 0 0.0
rodata 134148 134148 0 0.0
text 801036 801036 0 0.0
p6 all-clusters-app default (read only) 881528 881528 0 0.0
(read/write) 1689292 1689292 0 0.0
.bss 149168 149168 0 0.0
.data 2648 2648 0 0.0
.text 1529088 1529088 0 0.0
all-clusters-minimal-app default (read only) 882248 882248 0 0.0
(read/write) 1633332 1633332 0 0.0
.bss 148448 148448 0 0.0
.data 2648 2648 0 0.0
.text 1473848 1473848 0 0.0
light-app default (read only) 890568 890568 0 0.0
(read/write) 1553556 1553556 0 0.0
.bss 140336 140336 0 0.0
.data 2440 2440 0 0.0
.text 1402392 1402392 0 0.0
lock-app default (read only) 886072 886072 0 0.0
(read/write) 1592204 1592204 0 0.0
.bss 144816 144816 0 0.0
.data 2456 2456 0 0.0
.text 1436544 1436544 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 805560 805560 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569418 569418 0 0.0
lighting-app tlsr9518adk80d (read/write) 826000 826000 0 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 586308 586304 -4 -0.0

// - its body is to do work with the device
// - at the end of work, call on the work item object:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should make it clear that the readyHandler will do some work, which may involve async operations, and when, possibly asynchronously, that work completes will call either endWork or retryWork on the item it's attached to.

The important part being that the call to the ready handler may return before endWork or retryWork have been called. Or after (is that true? Or does the work handler need to guarantee async callbacks?).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed this comment, and I feel that this comment description may not have explained it clearly, and let me try a bit here:

The MTRAsyncCallbackQueue was made to call one readyHandler block at a time asynchronously, and the readyHandler is expected to start/schedule a task. When the task finishes asynchronously in the future (at any time, from any queue or thread), it is expected to ask the workItem object to either endWork or retryWork.

I'll update the header to be a bit clearer.

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

- (void)enqueueWorkItem:(MTRAsyncCallbackQueueWorkItem *)item;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should document the concurrency behavior here clearly. In particular, that enqueueWorkItem can be called on any work queue (assuming that's true).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do. In general documentation could definitely be improved - please call out places where I failed to explain.

@property (nonatomic, strong) MTRAsyncCallbackReadyHandler readyHandler;
@property (nonatomic, strong) dispatch_block_t cancelHandler;

// Called by Cluster object's after async work is done
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Called by Cluster object's after async work is done
// Called by the implementation of readyHandler after async work is done

but again, is it allowed to be called sync under the readyHandler invocation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for noticing this - I missed this spot when I changed this whole mechanism to take/forward a generic context.

And now that I think about it, I should probably remove MTRAsyncCallbackWorkQueue_Internal.h and move all that into the regular header, now that it's a generic class.

for (MTRAsyncCallbackQueueWorkItem * item in invalidateItems) {
[item cancel];
}
[invalidateItems removeAllObjects];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a "just in case someone somewhere else has a ref to this list"? Because I would have expected invalidateItems to be destroyed once this method completes, which would drop the refs to the objects..... Worth documenting why the explicit remove is here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just in case invalidate is called twice from two different threads at the same time, that each item is only canceled once.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no circumstance that it's used this way, but I intended this class to be generic and can be used anywhere else that needs this mechanism

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But invalidateItems is set while the lock is held. If invalidate is called on two threads at once, one of them will take the lock and set invalidateItems on its stack and then set _items to nil. Then the other gets the lock and sees nil for the list, no? So they will never both get to cancel the same item....

{
// Make a copy of params before we go async.
params = [params copy];
[self.device connectAndPerformAsync:^(MTRBaseDevice * baseDevice) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need connectAndPerformAsync here? In particular, can't we just use the bridge constructor that takes nodeId and controller, which we should already have access to via _device?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right - after the BaseDevice/CallbackBridge rework, connectAndPerformAsync should be removed entirely.

return self;
}

{{#chip_cluster_commands}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pretty similar to the MTRBaseClusters version... I wonder whether we could share the code via a parametrized partial.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed issue to deal with this separately #21643

queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;

{{#chip_cluster_commands}}
- (void){{asLowerCamelCase name}}WithParams:(MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}Params * {{#unless (commandHasRequiredField .)}}_Nullable{{/unless}})params expectedValues:(NSArray<NSDictionary<NSString *, id> *> *)expectedDataValueDictionaries expectedValueInterval:(NSNumber *)expectedValueIntervalMs completionHandler:({{>command_completion_type command=.}})completionHandler;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the expected* bits be nullable here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes as you also pointed out for the generic one in MTRDevice.h.

{{> header}}

#import <Foundation/Foundation.h>
#import <os/lock.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do we use lock here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, which was just leftover from when mid-implementation.

isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
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.

3 participants