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

Allow CommandSender request to be built using DataModel::EncodableToTLV #33782

Conversation

tehampson
Copy link
Contributor

@tehampson tehampson commented Jun 6, 2024

Add new AddRequestData API so that clients don't need to call raw CommandSender APIs, and we can move towards removing access to TLVWriter.

The newly AddRequestData does bypass check that time invoke does in fact provide a timeout, the reality is that things outside of SDK heavily use the raw CommandSender APIs (PrepareCommand/FinishCommand) to build their own requests bypassing this check already. We still allow clients to call the older API for building the request.

@github-actions github-actions bot added the app label Jun 6, 2024
Copy link

github-actions bot commented Jun 6, 2024

PR #33782: Size comparison from 88ebdf7 to 3f2bba4

Increases above 0.2%:

platform target config section 88ebdf7 3f2bba4 change % change
linux chip-tool-ipv6only arm64 unknown 17368 19712 2344 13.5
RAM 569472 581192 11720 2.1
tizen chip-tool-ubsan arm FLASH 15626834 15693906 67072 0.4
RAM 6822312 6884204 61892 0.9
Full report (49 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, tizen)
platform target config section 88ebdf7 3f2bba4 change % change
bl602 lighting-app bl602 FLASH 1267952 1268146 194 0.0
RAM 95408 95408 0 0.0
bl602+mfd FLASH 1282228 1282422 194 0.0
RAM 95560 95560 0 0.0
bl602+rpc FLASH 1307166 1307368 202 0.0
RAM 103840 103840 0 0.0
bl702 lighting-app bl702 FLASH 1088592 1088790 198 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099284 1099482 198 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178416 1178870 454 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872024 872222 198 0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123616 1124080 464 0.0
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075478 1075676 198 0.0
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086738 1086936 198 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797296 796848 -448 -0.1
RAM 103176 103176 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 812984 812528 -456 -0.1
RAM 113656 113656 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802344 801904 -440 -0.1
RAM 107776 107776 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755256 754816 -440 -0.1
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 740920 740480 -440 -0.1
RAM 102124 102124 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 604330 604330 0 0.0
RAM 204592 204592 0 0.0
lock CC3235SF_LAUNCHXL FLASH 649606 649606 0 0.0
RAM 204852 204852 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660973 660533 -440 -0.1
RAM 74592 74592 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680825 680385 -440 -0.1
RAM 77224 77224 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680825 680385 -440 -0.1
RAM 77224 77224 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 637753 637313 -440 -0.1
RAM 69660 69660 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603461 602941 -520 -0.1
RAM 70296 70296 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623097 622585 -512 -0.1
RAM 72848 72848 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623097 622585 -512 -0.1
RAM 72848 72848 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618797 618357 -440 -0.1
RAM 73312 73312 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 638521 638081 -440 -0.1
RAM 75864 75864 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 638521 638081 -440 -0.1
RAM 75864 75864 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587581 587141 -440 -0.1
RAM 67280 67280 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607425 606985 -440 -0.1
RAM 69912 69912 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607425 606985 -440 -0.1
RAM 69912 69912 0 0.0
linux chip-tool-ipv6only arm64 unknown 17368 19712 2344 13.5
FLASH 10663252 10627588 -35664 -0.3
RAM 569472 581192 11720 2.1
thermostat-no-ble arm64 unknown 9144 9144 0 0.0
FLASH 4148468 4148468 0 0.0
RAM 234344 234344 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497092 1497092 0 0.0
RAM 226152 226152 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 872704 872792 88 0.0
RAM 139209 139209 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 948104 947632 -472 -0.0
RAM 137637 137637 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 821608 821144 -464 -0.1
RAM 138107 138107 0 0.0
nxp contact k32w0+release FLASH 575460 575020 -440 -0.1
RAM 70112 70112 0 0.0
k32w1+release FLASH 590872 590424 -448 -0.1
RAM 74144 74144 0 0.0
light k32w0+release FLASH 609360 608928 -432 -0.1
RAM 69588 69588 0 0.0
k32w1+release FLASH 673656 673216 -440 -0.1
RAM 82896 82896 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1608876 1608876 0 0.0
RAM 207212 207212 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1533460 1533460 0 0.0
RAM 204116 204116 0 0.0
light cy8ckit_062s2_43012 FLASH 1459820 1459820 0 0.0
RAM 197396 197396 0 0.0
lock cy8ckit_062s2_43012 FLASH 1461948 1461948 0 0.0
RAM 224460 224460 0 0.0
qpg lighting-app qpg6105+debug FLASH 650088 649656 -432 -0.1
RAM 104644 104644 0 0.0
lock-app qpg6105+debug FLASH 609932 609492 -440 -0.1
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 471412 471412 0 0.0
RAM 141732 141732 0 0.0
tizen all-clusters-app arm unknown 1556 1556 0 0.0
FLASH 1609932 1610084 152 0.0
RAM 45452 45452 0 0.0
chip-tool-ubsan arm unknown 2364 2364 0 0.0
FLASH 15626834 15693906 67072 0.4
RAM 6822312 6884204 61892 0.9

src/app/CommandSender.cpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Jun 6, 2024

PR #33782: Size comparison from 88ebdf7 to 65d9dca

Increases above 0.2%:

platform target config section 88ebdf7 65d9dca change % change
tizen all-clusters-app arm FLASH 1609932 1614004 4072 0.3
chip-tool-ubsan arm FLASH 15626834 15708818 81984 0.5
RAM 6822312 6891724 69412 1.0
Full report (11 builds for cc32xx, mbed, nrfconnect, qpg, stm32, tizen)
platform target config section 88ebdf7 65d9dca change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 604330 604930 600 0.1
RAM 204592 204608 16 0.0
lock CC3235SF_LAUNCHXL FLASH 649606 650398 792 0.1
RAM 204852 204868 16 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497092 1497548 456 0.0
RAM 226152 226168 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 872704 873748 1044 0.1
RAM 139209 139225 16 0.0
nrf7002dk_nrf5340_cpuapp FLASH 948104 948740 636 0.1
RAM 137637 137653 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 821608 821724 116 0.0
RAM 138107 138123 16 0.0
qpg lighting-app qpg6105+debug FLASH 650088 650144 56 0.0
RAM 104644 104652 8 0.0
lock-app qpg6105+debug FLASH 609932 609836 -96 -0.0
RAM 99320 99328 8 0.0
stm32 light STM32WB5MM-DK FLASH 471412 472036 624 0.1
RAM 141732 141748 16 0.0
tizen all-clusters-app arm unknown 1556 1556 0 0.0
FLASH 1609932 1614004 4072 0.3
RAM 45452 45452 0 0.0
chip-tool-ubsan arm unknown 2364 2364 0 0.0
FLASH 15626834 15708818 81984 0.5
RAM 6822312 6891724 69412 1.0

Copy link

github-actions bot commented Jun 6, 2024

PR #33782: Size comparison from 88ebdf7 to 02da318

Increases above 0.2%:

platform target config section 88ebdf7 02da318 change % change
linux air-purifier-app debug RAM 128832 129104 272 0.2
chip-tool debug RAM 521474 533474 12000 2.3
chip-tool-ipv6only arm64 unknown 17368 19728 2360 13.6
RAM 569472 581464 11992 2.1
fabric-admin debug RAM 515058 527058 12000 2.3
ota-requestor-app debug RAM 197440 197840 400 0.2
tv-app debug RAM 344600 345672 1072 0.3
tv-casting-app debug RAM 340016 351968 11952 3.5
tizen all-clusters-app arm FLASH 1609932 1614004 4072 0.3
chip-tool-ubsan arm FLASH 15626834 15708818 81984 0.5
RAM 6822312 6891732 69420 1.0
Full report (48 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, esp32, linux, mbed, nrfconnect, nxp, qpg, stm32, tizen)
platform target config section 88ebdf7 02da318 change % change
bl602 lighting-app bl602 FLASH 1267952 1268234 282 0.0
RAM 95408 95424 16 0.0
bl602+mfd FLASH 1282228 1282766 538 0.0
RAM 95560 95576 16 0.0
bl602+rpc FLASH 1307166 1307456 290 0.0
RAM 103840 103856 16 0.0
bl702 lighting-app bl702 FLASH 1088592 1088878 286 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099284 1099826 542 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178416 1178958 542 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872024 872310 286 0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123616 1124262 646 0.1
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075478 1076020 542 0.1
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086738 1087024 286 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797296 797432 136 0.0
RAM 103176 103184 8 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 812984 813040 56 0.0
RAM 113656 113664 8 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802344 802328 -16 -0.0
RAM 107776 107784 8 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755256 755096 -160 -0.0
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 740920 740752 -168 -0.0
RAM 102124 102132 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 604330 604930 600 0.1
RAM 204592 204608 16 0.0
lock CC3235SF_LAUNCHXL FLASH 649606 650398 792 0.1
RAM 204852 204868 16 0.0
esp32 all-clusters-app c3devkit DRAM 88404 88420 16 0.0
FLASH 1465420 1466456 1036 0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 114876 114892 16 0.0
FLASH 1534151 1535603 1452 0.1
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4576 4576 0 0.0
FLASH 2530112 2532496 2384 0.1
RAM 128832 129104 272 0.2
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5561310 5568622 7312 0.1
RAM 481944 482296 352 0.1
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5047448 5052472 5024 0.1
RAM 236520 236888 368 0.2
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4475544 4478024 2480 0.1
RAM 216544 216816 272 0.1
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11514199 11490023 -24176 -0.2
RAM 521474 533474 12000 2.3
chip-tool-ipv6only arm64 unknown 17368 19728 2360 13.6
FLASH 10663252 10633588 -29664 -0.3
RAM 569472 581464 11992 2.1
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11284247 11260103 -24144 -0.2
RAM 515058 527058 12000 2.3
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4345352 4347608 2256 0.1
RAM 208592 208864 272 0.1
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5362034 5366258 4224 0.1
RAM 225136 225424 288 0.1
lock-app debug unknown 5184 5184 0 0.0
FLASH 4539512 4542920 3408 0.1
RAM 203968 204240 272 0.1
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4175512 4177816 2304 0.1
RAM 192928 193200 272 0.1
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4299608 4302264 2656 0.1
RAM 197440 197840 400 0.2
shell debug unknown 4112 4112 0 0.0
FLASH 2794637 2800173 5536 0.2
RAM 154168 154424 256 0.2
thermostat-no-ble arm64 unknown 9144 9160 16 0.2
FLASH 4148468 4150228 1760 0.0
RAM 234344 234616 272 0.1
tv-app debug unknown 5472 5472 0 0.0
FLASH 5585240 5586936 1696 0.0
RAM 344600 345672 1072 0.3
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9565638 9538102 -27536 -0.3
RAM 340016 351968 11952 3.5
mbed lock-app-release cy8cproto_062_4343w FLASH 1497092 1497548 456 0.0
RAM 226152 226168 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 872704 873748 1044 0.1
RAM 139209 139225 16 0.0
nrf7002dk_nrf5340_cpuapp FLASH 948104 948740 636 0.1
RAM 137637 137653 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 821608 821724 116 0.0
RAM 138107 138123 16 0.0
nxp contact k32w0+release FLASH 575460 575220 -240 -0.0
RAM 70112 70120 8 0.0
k32w1+release FLASH 590872 590464 -408 -0.1
RAM 74144 74152 8 0.0
light k32w0+release FLASH 609360 609168 -192 -0.0
RAM 69588 69596 8 0.0
k32w1+release FLASH 673656 673560 -96 -0.0
RAM 82896 82904 8 0.0
qpg lighting-app qpg6105+debug FLASH 650088 650144 56 0.0
RAM 104644 104652 8 0.0
lock-app qpg6105+debug FLASH 609932 609836 -96 -0.0
RAM 99320 99328 8 0.0
stm32 light STM32WB5MM-DK FLASH 471412 472036 624 0.1
RAM 141732 141748 16 0.0
tizen all-clusters-app arm unknown 1556 1556 0 0.0
FLASH 1609932 1614004 4072 0.3
RAM 45452 45452 0 0.0
chip-tool-ubsan arm unknown 2364 2364 0 0.0
FLASH 15626834 15708818 81984 0.5
RAM 6822312 6891732 69420 1.0

Copy link

github-actions bot commented Jun 6, 2024

PR #33782: Size comparison from 88ebdf7 to 3080f08

Increases above 0.2%:

platform target config section 88ebdf7 3080f08 change % change
linux air-purifier-app debug RAM 128832 129104 272 0.2
chip-tool debug RAM 521474 533474 12000 2.3
chip-tool-ipv6only arm64 unknown 17368 19728 2360 13.6
RAM 569472 581464 11992 2.1
fabric-admin debug RAM 515058 527058 12000 2.3
ota-requestor-app debug RAM 197440 197840 400 0.2
tv-app debug RAM 344600 345672 1072 0.3
tv-casting-app debug RAM 340016 351968 11952 3.5
tizen all-clusters-app arm FLASH 1609932 1614004 4072 0.3
chip-tool-ubsan arm FLASH 15626834 15708818 81984 0.5
RAM 6822312 6891732 69420 1.0
Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 88ebdf7 3080f08 change % change
bl602 lighting-app bl602 FLASH 1267952 1268234 282 0.0
RAM 95408 95424 16 0.0
bl602+mfd FLASH 1282228 1282766 538 0.0
RAM 95560 95576 16 0.0
bl602+rpc FLASH 1307166 1307456 290 0.0
RAM 103840 103856 16 0.0
bl702 lighting-app bl702 FLASH 1088592 1088878 286 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099284 1099826 542 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178416 1178958 542 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872024 872310 286 0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123616 1124262 646 0.1
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075478 1076020 542 0.1
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086738 1087024 286 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797296 797432 136 0.0
RAM 103176 103184 8 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 812984 813040 56 0.0
RAM 113656 113664 8 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802344 802328 -16 -0.0
RAM 107776 107784 8 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755256 755096 -160 -0.0
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 740920 740752 -168 -0.0
RAM 102124 102132 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 604330 604930 600 0.1
RAM 204592 204608 16 0.0
lock CC3235SF_LAUNCHXL FLASH 649606 650398 792 0.1
RAM 204852 204868 16 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660973 661149 176 0.0
RAM 74592 74608 16 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680825 681001 176 0.0
RAM 77224 77240 16 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680825 681001 176 0.0
RAM 77224 77240 16 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 637753 637937 184 0.0
RAM 69660 69676 16 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603461 603333 -128 -0.0
RAM 70296 70312 16 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623097 622969 -128 -0.0
RAM 72848 72864 16 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623097 622969 -128 -0.0
RAM 72848 72864 16 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618797 618837 40 0.0
RAM 73312 73328 16 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 638521 638561 40 0.0
RAM 75864 75880 16 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 638521 638561 40 0.0
RAM 75864 75880 16 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587581 587381 -200 -0.0
RAM 67280 67296 16 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607425 607225 -200 -0.0
RAM 69912 69928 16 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607425 607225 -200 -0.0
RAM 69912 69928 16 0.0
efr32 lighting-app BRD4187C FLASH 887608 887760 152 0.0
RAM 183504 183520 16 0.0
lock-app BRD4338a FLASH 700504 701496 992 0.1
RAM 242708 242724 16 0.0
window-app BRD4187C FLASH 967780 968644 864 0.1
RAM 167936 167952 16 0.0
esp32 all-clusters-app c3devkit DRAM 88404 88420 16 0.0
FLASH 1465420 1466456 1036 0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 114876 114892 16 0.0
FLASH 1534151 1535603 1452 0.1
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4576 4576 0 0.0
FLASH 2530112 2532496 2384 0.1
RAM 128832 129104 272 0.2
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5561310 5568622 7312 0.1
RAM 481944 482296 352 0.1
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5047448 5052472 5024 0.1
RAM 236520 236888 368 0.2
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4475544 4478024 2480 0.1
RAM 216544 216816 272 0.1
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11514199 11490023 -24176 -0.2
RAM 521474 533474 12000 2.3
chip-tool-ipv6only arm64 unknown 17368 19728 2360 13.6
FLASH 10663252 10633588 -29664 -0.3
RAM 569472 581464 11992 2.1
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11284247 11260103 -24144 -0.2
RAM 515058 527058 12000 2.3
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4345352 4347608 2256 0.1
RAM 208592 208864 272 0.1
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5362034 5366258 4224 0.1
RAM 225136 225424 288 0.1
lock-app debug unknown 5184 5184 0 0.0
FLASH 4539512 4542920 3408 0.1
RAM 203968 204240 272 0.1
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4175512 4177816 2304 0.1
RAM 192928 193200 272 0.1
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4299608 4302264 2656 0.1
RAM 197440 197840 400 0.2
shell debug unknown 4112 4112 0 0.0
FLASH 2794637 2800173 5536 0.2
RAM 154168 154424 256 0.2
thermostat-no-ble arm64 unknown 9144 9160 16 0.2
FLASH 4148468 4150228 1760 0.0
RAM 234344 234616 272 0.1
tv-app debug unknown 5472 5472 0 0.0
FLASH 5585240 5586936 1696 0.0
RAM 344600 345672 1072 0.3
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9565638 9538102 -27536 -0.3
RAM 340016 351968 11952 3.5
mbed lock-app-release cy8cproto_062_4343w FLASH 1497092 1497548 456 0.0
RAM 226152 226168 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 872704 873748 1044 0.1
RAM 139209 139225 16 0.0
nrf7002dk_nrf5340_cpuapp FLASH 948104 948740 636 0.1
RAM 137637 137653 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 821608 821724 116 0.0
RAM 138107 138123 16 0.0
nxp contact k32w0+release FLASH 575460 575220 -240 -0.0
RAM 70112 70120 8 0.0
k32w1+release FLASH 590872 590464 -408 -0.1
RAM 74144 74152 8 0.0
light k32w0+release FLASH 609360 609168 -192 -0.0
RAM 69588 69596 8 0.0
k32w1+release FLASH 673656 673560 -96 -0.0
RAM 82896 82904 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1608876 1610292 1416 0.1
RAM 207212 207228 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1533460 1534492 1032 0.1
RAM 204116 204132 16 0.0
light cy8ckit_062s2_43012 FLASH 1459820 1460772 952 0.1
RAM 197396 197412 16 0.0
lock cy8ckit_062s2_43012 FLASH 1461948 1462772 824 0.1
RAM 224460 224476 16 0.0
qpg lighting-app qpg6105+debug FLASH 650088 650144 56 0.0
RAM 104644 104652 8 0.0
lock-app qpg6105+debug FLASH 609932 609836 -96 -0.0
RAM 99320 99328 8 0.0
stm32 light STM32WB5MM-DK FLASH 471412 472036 624 0.1
RAM 141732 141748 16 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 624936 625046 110 0.0
RAM 49944 49952 8 0.0
all-clusters-app tlsr9118bdk40d FLASH 599948 600940 992 0.2
RAM 130368 130384 16 0.0
all-clusters-minimal-app tlsr9528a FLASH 769662 770256 594 0.1
RAM 110132 110148 16 0.0
bridge-app tlsr9258a FLASH 668054 668176 122 0.0
RAM 94752 94768 16 0.0
contact-sensor-app tlsr9528a_retention FLASH 626742 626798 56 0.0
RAM 49988 49996 8 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713674 712636 -1038 -0.1
RAM 76580 76588 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558238 558078 -160 -0.0
RAM 126624 126640 16 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793018 792844 -174 -0.0
RAM 99980 99996 16 0.0
lock-app-dfu tlsr9528a FLASH 659786 659986 200 0.0
RAM 69268 69276 8 0.0
ota-requestor-app tlsr9258a FLASH 686930 686512 -418 -0.1
RAM 94476 94492 16 0.0
pump-app tlsr9518adk80d FLASH 608866 608998 132 0.0
RAM 56368 56376 8 0.0
pump-controller-app tlsr9518adk80d FLASH 599252 599346 94 0.0
RAM 56168 56176 8 0.0
shell tlsr9518adk80d FLASH 462618 462618 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633142 633192 50 0.0
RAM 51616 51624 8 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642852 642184 -668 -0.1
RAM 59804 59812 8 0.0
thermostat tlsr9518adk80d FLASH 618200 618248 48 0.0
RAM 56492 56500 8 0.0
window-covering tlsr9118bdk40d FLASH 464634 464864 230 0.0
RAM 82272 82272 0 0.0
tizen all-clusters-app arm unknown 1556 1556 0 0.0
FLASH 1609932 1614004 4072 0.3
RAM 45452 45452 0 0.0
chip-tool-ubsan arm unknown 2364 2364 0 0.0
FLASH 15626834 15708818 81984 0.5
RAM 6822312 6891732 69420 1.0

src/app/CommandSender.h Outdated Show resolved Hide resolved
src/app/CommandSender.h Outdated Show resolved Hide resolved
src/app/CommandSender.h Outdated Show resolved Hide resolved
src/app/CommandSender.h Outdated Show resolved Hide resolved
Copy link

PR #33782: Size comparison from 88ebdf7 to b094a31

Full report (4 builds for mbed, nrfconnect)
platform target config section 88ebdf7 b094a31 change % change
mbed lock-app-release cy8cproto_062_4343w FLASH 1497092 1497644 552 0.0
RAM 226152 226168 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 872704 873828 1124 0.1
RAM 139209 139225 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 821608 821804 196 0.0
RAM 138107 138123 16 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp FLASH 948104 948740 636 0.1
RAM 137637 137653 16 0.0

src/app/CommandSender.h Outdated Show resolved Hide resolved
src/app/CommandSender.h Outdated Show resolved Hide resolved
@tehampson tehampson merged commit b29c1de into project-chip:master Jun 11, 2024
68 checks passed
Alami-Amine pushed a commit to Alami-Amine/connectedhomeip that referenced this pull request Jun 12, 2024
…LV (project-chip#33782)

Allow CommandSender request to be built using DataModel::EncodableToTLV
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.

4 participants