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

Implement DataModel based read support in the interaction model engine. #34419

Merged
merged 38 commits into from
Jul 24, 2024

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Jul 19, 2024

This implements reads via ember and via codegen as well as a checked-mode where reads are validated as returning the same status codes and data size (because data content is not available)

Changes

  • Implement Read-Ember/DataModel/Checked inside src/app/reporting.
  • chip_use_data_model_interface moved to common_flags.gni so that the flag is accessible across various BUILD.gn files.
  • InteractionModelEngine now maintains a DataModel that can be set/replaced and which will be used as the basis for reads. NOTE: this does NOT yet implement init/shutdown as I have yet to build the relevant interfaces. Those interfaces are relevant for writes and invokes mainly (ability to provide current exchange and dirty paths)
  • Fixed unit tests to use the new interfaces
  • Removed the data version from the read input arguments as such data is not currently needed/provided (interaction model engine seems to use the data version from iteration).

image

ReadChecked coverage is low because the "there are differences" codepaths are never hit.

This implements reads via ember and via codegen as well as a
checked-mode where reads are validated as returning the same
status codes and data size (because data content is not available)
src/app/reporting/Read-Checked.cpp Outdated Show resolved Hide resolved
src/app/reporting/Read-Checked.cpp Outdated Show resolved Hide resolved
src/app/reporting/Read-Checked.cpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Jul 23, 2024

PR #34419: Size comparison from c0d76b3 to dd92d3e

Full report (17 builds for cc13x4_26x4, cc32xx, mbed, nxp, qpg, stm32, tizen)
platform target config section c0d76b3 dd92d3e change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798868 798892 24 0.0
RAM 109236 109236 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816620 816644 24 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808468 808492 24 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761084 761108 24 0.0
RAM 105408 105408 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746868 746892 24 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606646 606654 8 0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651994 652002 8 0.0
RAM 204836 204836 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576116 16 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591664 591672 8 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610400 610432 32 0.0
RAM 69564 69564 0 0.0
k32w1+release FLASH 675184 675208 24 0.0
RAM 82872 82872 0 0.0
qpg lighting-app qpg6105+debug FLASH 651724 651740 16 0.0
RAM 104636 104636 0 0.0
lock-app qpg6105+debug FLASH 612112 612136 24 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474064 474080 16 0.0
RAM 144260 144260 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1641212 1641228 16 0.0
RAM 48708 48708 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16324654 16324894 240 0.0
RAM 7168528 7168672 144 0.0

Copy link

github-actions bot commented Jul 23, 2024

PR #34419: Size comparison from c0d76b3 to 008e44e

Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c0d76b3 008e44e change % change
bl602 lighting-app bl602 FLASH 1271952 1271964 12 0.0
RAM 95384 95384 0 0.0
bl602+mfd FLASH 1286210 1286222 12 0.0
RAM 95528 95528 0 0.0
bl602+rpc FLASH 1310920 1310932 12 0.0
RAM 103808 103808 0 0.0
bl702 lighting-app bl702 FLASH 1092846 1092858 12 0.0
RAM 15245 15245 0 0.0
bl702+mfd FLASH 1103540 1103552 12 0.0
RAM 15397 15397 0 0.0
bl702+rpc FLASH 1182912 1182924 12 0.0
RAM 24245 24245 0 0.0
bl706-eth FLASH 876146 876158 12 0.0
RAM 27348 27348 0 0.0
bl706-wifi FLASH 1128328 1128342 14 0.0
RAM 14681 14681 0 0.0
bl702l lighting-app bl702l FLASH 1079744 1079756 12 0.0
RAM 21800 21800 0 0.0
bl702l+mfd FLASH 1091006 1091018 12 0.0
RAM 21960 21960 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798868 798892 24 0.0
RAM 109236 109236 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816620 816644 24 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808468 808492 24 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761084 761108 24 0.0
RAM 105408 105408 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746868 746892 24 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606646 606654 8 0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651994 652002 8 0.0
RAM 204836 204836 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 668009 668041 32 0.0
RAM 77700 77700 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687861 687893 32 0.0
RAM 80340 80340 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687861 687893 32 0.0
RAM 80340 80340 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644805 644829 24 0.0
RAM 72768 72768 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609561 609585 24 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629189 629221 32 0.0
RAM 73428 73428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629189 629221 32 0.0
RAM 73428 73428 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625257 625289 32 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644965 644997 32 0.0
RAM 76444 76444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644965 644997 32 0.0
RAM 76444 76444 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593629 593661 32 0.0
RAM 67852 67852 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613481 613513 32 0.0
RAM 70492 70492 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613481 613513 32 0.0
RAM 70492 70492 0 0.0
efr32 lighting-app BRD4187C FLASH 926120 926120 0 0.0
RAM 134528 134528 0 0.0
lock-app BRD4338a FLASH 734508 734516 8 0.0
RAM 208004 208004 0 0.0
window-app BRD4187C FLASH 1014572 1014604 32 0.0
RAM 126648 126648 0 0.0
esp32 all-clusters-app c3devkit DRAM 90924 90924 0 0.0
FLASH 1471174 1471188 14 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117404 117404 0 0.0
FLASH 1540279 1540299 20 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2706933 2710627 3694 0.1
RAM 125200 125200 0 0.0
all-clusters-app debug unknown 5392 5392 0 0.0
FLASH 5835410 5839104 3694 0.1
RAM 494784 494784 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5295110 5298804 3694 0.1
RAM 235728 235728 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4694432 4698126 3694 0.1
RAM 212992 212992 0 0.0
chip-tool debug unknown 5776 5776 0 0.0
FLASH 12297022 12300684 3662 0.0
RAM 548882 548882 0 0.0
chip-tool-ipv6only arm64 unknown 20168 20168 0 0.0
FLASH 11003052 11006060 3008 0.0
RAM 598528 598552 24 0.0
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11314955 11318617 3662 0.0
RAM 545722 545722 0 0.0
fabric-bridge-app debug unknown 4560 4560 0 0.0
FLASH 4448666 4452328 3662 0.1
RAM 199024 199024 0 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5618513 5622161 3648 0.1
RAM 224272 224272 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4752884 4756578 3694 0.1
RAM 200704 200704 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4397376 4401038 3662 0.1
RAM 194880 194880 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4535158 4538852 3694 0.1
RAM 199416 199416 0 0.0
shell debug unknown 4168 4168 0 0.0
FLASH 2979645 2983341 3696 0.1
RAM 153736 153736 0 0.0
thermostat-no-ble arm64 unknown 9208 9208 0 0.0
FLASH 4256916 4259924 3008 0.1
RAM 236336 236360 24 0.0
tv-app debug unknown 5496 5496 0 0.0
FLASH 5970221 5973917 3696 0.1
RAM 573376 573376 0 0.0
tv-casting-app debug unknown 5160 5160 0 0.0
FLASH 10509261 10512925 3664 0.0
RAM 634344 634344 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576116 16 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591664 591672 8 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610400 610432 32 0.0
RAM 69564 69564 0 0.0
k32w1+release FLASH 675184 675208 24 0.0
RAM 82872 82872 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1611652 1611652 0 0.0
RAM 209728 209728 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1531988 1532004 16 0.0
RAM 206544 206544 0 0.0
light cy8ckit_062s2_43012 FLASH 1458812 1458828 16 0.0
RAM 199808 199808 0 0.0
lock cy8ckit_062s2_43012 FLASH 1459468 1459484 16 0.0
RAM 224328 224328 0 0.0
qpg lighting-app qpg6105+debug FLASH 651724 651740 16 0.0
RAM 104636 104636 0 0.0
lock-app qpg6105+debug FLASH 612112 612136 24 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474064 474080 16 0.0
RAM 144260 144260 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 633084 633110 26 0.0
RAM 50576 50576 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658936 658962 26 0.0
RAM 148480 148480 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 779162 779188 26 0.0
RAM 113260 113260 0 0.0
bridge-app tlsr9258a FLASH 676004 676030 26 0.0
RAM 95344 95344 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634668 634694 26 0.0
RAM 50620 50620 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720540 720566 26 0.0
RAM 77196 77196 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614038 614064 26 0.0
RAM 144684 144684 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801842 801868 26 0.0
RAM 103088 103088 0 0.0
lock-app-dfu tlsr9528a FLASH 666496 666522 26 0.0
RAM 69900 69900 0 0.0
ota-requestor-app tlsr9258a FLASH 695366 695392 26 0.0
RAM 95068 95068 0 0.0
pump-app tlsr9518adk80d FLASH 616932 616958 26 0.0
RAM 57000 57000 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607342 607368 26 0.0
RAM 56800 56800 0 0.0
shell tlsr9518adk80d FLASH 466520 466520 0 0.0
RAM 72488 72488 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641286 641312 26 0.0
RAM 52248 52248 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651164 651190 26 0.0
RAM 60436 60436 0 0.0
thermostat tlsr9518adk80d FLASH 626228 626254 26 0.0
RAM 57124 57124 0 0.0
window-covering tlsr9118bdk40d FLASH 519434 519460 26 0.0
RAM 97856 97856 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1641212 1641228 16 0.0
RAM 48708 48708 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16324654 16324894 240 0.0
RAM 7168528 7168672 144 0.0

src/app/InteractionModelEngine.h Show resolved Hide resolved
src/app/BUILD.gn Show resolved Hide resolved
src/app/reporting/Read-DataModel.cpp Show resolved Hide resolved
src/app/reporting/Read-Ember.cpp Show resolved Hide resolved
Copy link

github-actions bot commented Jul 24, 2024

PR #34419: Size comparison from c0d76b3 to 5ea3356

Increases above 0.2%:

platform target config section c0d76b3 5ea3356 change % change
tizen all-clusters-app arm unknown 1584 1588 4 0.3
Full report (17 builds for cc13x4_26x4, cc32xx, mbed, nxp, qpg, stm32, tizen)
platform target config section c0d76b3 5ea3356 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798868 798924 56 0.0
RAM 109236 109236 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816620 816684 64 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808468 808516 48 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761084 761132 48 0.0
RAM 105408 105408 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746868 746916 48 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606646 606494 -152 -0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651994 652026 32 0.0
RAM 204836 204836 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591664 591672 8 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610400 610432 32 0.0
RAM 69564 69564 0 0.0
k32w1+release FLASH 675184 675216 32 0.0
RAM 82872 82872 0 0.0
qpg lighting-app qpg6105+debug FLASH 651724 651748 24 0.0
RAM 104636 104636 0 0.0
lock-app qpg6105+debug FLASH 612112 612136 24 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474064 474144 80 0.0
RAM 144260 144260 0 0.0
tizen all-clusters-app arm unknown 1584 1588 4 0.3
FLASH 1641212 1640516 -696 -0.0
RAM 48708 48708 0 0.0
chip-tool-ubsan arm unknown 2384 2388 4 0.2
FLASH 16324654 16290886 -33768 -0.2
RAM 7168528 7153232 -15296 -0.2

Copy link

github-actions bot commented Jul 24, 2024

PR #34419: Size comparison from 6768739 to c91c21b

Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 6768739 c91c21b change % change
bl602 lighting-app bl602 FLASH 1271952 1271964 12 0.0
RAM 95384 95384 0 0.0
bl602+mfd FLASH 1286210 1286222 12 0.0
RAM 95528 95528 0 0.0
bl602+rpc FLASH 1310920 1310932 12 0.0
RAM 103808 103808 0 0.0
bl702 lighting-app bl702 FLASH 1092846 1092858 12 0.0
RAM 15245 15245 0 0.0
bl702+mfd FLASH 1103540 1103552 12 0.0
RAM 15397 15397 0 0.0
bl702+rpc FLASH 1182912 1182924 12 0.0
RAM 24245 24245 0 0.0
bl706-eth FLASH 876146 876158 12 0.0
RAM 27348 27348 0 0.0
bl706-wifi FLASH 1128328 1128342 14 0.0
RAM 14681 14681 0 0.0
bl702l lighting-app bl702l FLASH 1079744 1079756 12 0.0
RAM 21800 21800 0 0.0
bl702l+mfd FLASH 1091006 1091018 12 0.0
RAM 21960 21960 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798900 798924 24 0.0
RAM 109236 109236 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816660 816684 24 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808492 808516 24 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761108 761132 24 0.0
RAM 105408 105408 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746892 746916 24 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606478 606494 16 0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 652018 652026 8 0.0
RAM 204836 204836 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 668009 668041 32 0.0
RAM 77700 77700 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687861 687893 32 0.0
RAM 80340 80340 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687861 687893 32 0.0
RAM 80340 80340 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644805 644829 24 0.0
RAM 72768 72768 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609561 609585 24 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629189 629221 32 0.0
RAM 73428 73428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629189 629221 32 0.0
RAM 73428 73428 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625257 625289 32 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644965 644997 32 0.0
RAM 76444 76444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644965 644997 32 0.0
RAM 76444 76444 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593477 593509 32 0.0
RAM 67852 67852 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613329 613361 32 0.0
RAM 70492 70492 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613329 613361 32 0.0
RAM 70492 70492 0 0.0
efr32 lighting-app BRD4187C FLASH 926120 926120 0 0.0
RAM 134528 134528 0 0.0
lock-app BRD4338a FLASH 734508 734516 8 0.0
RAM 208004 208004 0 0.0
window-app BRD4187C FLASH 1014572 1014604 32 0.0
RAM 126648 126648 0 0.0
esp32 all-clusters-app c3devkit DRAM 90948 90948 0 0.0
FLASH 1471072 1471086 14 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117428 117428 0 0.0
FLASH 1540191 1540211 20 0.0
IRAM 125403 125403 0 0.0
linux chip-tool-ipv6only arm64 unknown 20128 20128 0 0.0
FLASH 10983084 10986972 3888 0.0
RAM 597656 597680 24 0.0
thermostat-no-ble arm64 unknown 9208 9208 0 0.0
FLASH 4255716 4259572 3856 0.1
RAM 236336 236360 24 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591656 591672 16 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610400 610432 32 0.0
RAM 69564 69564 0 0.0
k32w1+release FLASH 675192 675216 24 0.0
RAM 82872 82872 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1611460 1611476 16 0.0
RAM 209728 209728 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1531812 1531828 16 0.0
RAM 206544 206544 0 0.0
light cy8ckit_062s2_43012 FLASH 1458844 1458860 16 0.0
RAM 199808 199808 0 0.0
lock cy8ckit_062s2_43012 FLASH 1459484 1459500 16 0.0
RAM 224328 224328 0 0.0
qpg lighting-app qpg6105+debug FLASH 651724 651748 24 0.0
RAM 104636 104636 0 0.0
lock-app qpg6105+debug FLASH 612120 612136 16 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474120 474144 24 0.0
RAM 144260 144260 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 633086 633112 26 0.0
RAM 50576 50576 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658760 658786 26 0.0
RAM 148480 148480 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 778986 779012 26 0.0
RAM 113260 113260 0 0.0
bridge-app tlsr9258a FLASH 676006 676032 26 0.0
RAM 95344 95344 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634670 634696 26 0.0
RAM 50620 50620 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720542 720568 26 0.0
RAM 77196 77196 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614040 614066 26 0.0
RAM 144684 144684 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801844 801870 26 0.0
RAM 103088 103088 0 0.0
lock-app-dfu tlsr9528a FLASH 666498 666524 26 0.0
RAM 69900 69900 0 0.0
ota-requestor-app tlsr9258a FLASH 695368 695394 26 0.0
RAM 95068 95068 0 0.0
pump-app tlsr9518adk80d FLASH 616934 616960 26 0.0
RAM 57000 57000 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607344 607370 26 0.0
RAM 56800 56800 0 0.0
shell tlsr9518adk80d FLASH 466520 466520 0 0.0
RAM 72488 72488 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641288 641314 26 0.0
RAM 52248 52248 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651166 651192 26 0.0
RAM 60436 60436 0 0.0
thermostat tlsr9518adk80d FLASH 626052 626078 26 0.0
RAM 57124 57124 0 0.0
window-covering tlsr9118bdk40d FLASH 519436 519462 26 0.0
RAM 97856 97856 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1640500 1640516 16 0.0
RAM 48708 48708 0 0.0
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16290646 16290886 240 0.0
RAM 7153088 7153232 144 0.0

Copy link

github-actions bot commented Jul 24, 2024

PR #34419: Size comparison from 6768739 to 6019d0e

Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 6768739 6019d0e change % change
bl602 lighting-app bl602 FLASH 1271952 1271964 12 0.0
RAM 95384 95384 0 0.0
bl602+mfd FLASH 1286210 1286222 12 0.0
RAM 95528 95528 0 0.0
bl602+rpc FLASH 1310920 1310932 12 0.0
RAM 103808 103808 0 0.0
bl702 lighting-app bl702 FLASH 1092846 1092858 12 0.0
RAM 15245 15245 0 0.0
bl702+mfd FLASH 1103540 1103552 12 0.0
RAM 15397 15397 0 0.0
bl702+rpc FLASH 1182912 1182924 12 0.0
RAM 24245 24245 0 0.0
bl706-eth FLASH 876146 876158 12 0.0
RAM 27348 27348 0 0.0
bl706-wifi FLASH 1128328 1128342 14 0.0
RAM 14681 14681 0 0.0
bl702l lighting-app bl702l FLASH 1079744 1079756 12 0.0
RAM 21800 21800 0 0.0
bl702l+mfd FLASH 1091006 1091018 12 0.0
RAM 21960 21960 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798900 798924 24 0.0
RAM 109236 109236 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816660 816684 24 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808492 808516 24 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761108 761132 24 0.0
RAM 105408 105408 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746892 746916 24 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606478 606494 16 0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 652018 652026 8 0.0
RAM 204836 204836 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 668009 668041 32 0.0
RAM 77700 77700 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687861 687893 32 0.0
RAM 80340 80340 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687861 687893 32 0.0
RAM 80340 80340 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644805 644829 24 0.0
RAM 72768 72768 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609561 609585 24 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629189 629221 32 0.0
RAM 73428 73428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629189 629221 32 0.0
RAM 73428 73428 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625257 625289 32 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644965 644997 32 0.0
RAM 76444 76444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644965 644997 32 0.0
RAM 76444 76444 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593477 593509 32 0.0
RAM 67852 67852 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613329 613361 32 0.0
RAM 70492 70492 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613329 613361 32 0.0
RAM 70492 70492 0 0.0
efr32 lighting-app BRD4187C FLASH 926120 926120 0 0.0
RAM 134528 134528 0 0.0
lock-app BRD4338a FLASH 734508 734516 8 0.0
RAM 208004 208004 0 0.0
window-app BRD4187C FLASH 1014572 1014604 32 0.0
RAM 126648 126648 0 0.0
esp32 all-clusters-app c3devkit DRAM 90948 90948 0 0.0
FLASH 1471072 1471086 14 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117428 117428 0 0.0
FLASH 1540191 1540211 20 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4632 4632 0 0.0
FLASH 2705679 2710279 4600 0.2
RAM 125200 125200 0 0.0
all-clusters-app debug unknown 5400 5400 0 0.0
FLASH 5834028 5838628 4600 0.1
RAM 494560 494560 0 0.0
all-clusters-minimal-app debug unknown 5312 5312 0 0.0
FLASH 5293826 5298426 4600 0.1
RAM 235728 235728 0 0.0
bridge-app debug unknown 5296 5296 0 0.0
FLASH 4694610 4699178 4568 0.1
RAM 212992 212992 0 0.0
chip-tool debug unknown 5784 5784 0 0.0
FLASH 12274738 12279306 4568 0.0
RAM 548050 548050 0 0.0
chip-tool-ipv6only arm64 unknown 20128 20128 0 0.0
FLASH 10983084 10986972 3888 0.0
RAM 597656 597680 24 0.0
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11295111 11299679 4568 0.0
RAM 544890 544890 0 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4448844 4453412 4568 0.1
RAM 199024 199024 0 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5618689 5623249 4560 0.1
RAM 224272 224272 0 0.0
lock-app debug unknown 5232 5232 0 0.0
FLASH 4753062 4757630 4568 0.1
RAM 200704 200704 0 0.0
ota-provider-app debug unknown 4608 4608 0 0.0
FLASH 4397556 4402124 4568 0.1
RAM 194880 194880 0 0.0
ota-requestor-app debug unknown 4544 4544 0 0.0
FLASH 4535338 4539938 4600 0.1
RAM 199416 199416 0 0.0
shell debug unknown 4168 4168 0 0.0
FLASH 2978349 2982829 4480 0.2
RAM 153704 153704 0 0.0
thermostat-no-ble arm64 unknown 9208 9208 0 0.0
FLASH 4255716 4259572 3856 0.1
RAM 236336 236360 24 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 5970301 5974781 4480 0.1
RAM 573184 573184 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 1048639 10490877 4480 0.0
RAM 633352 633352 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591656 591672 16 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610400 610432 32 0.0
RAM 69564 69564 0 0.0
k32w1+release FLASH 675192 675216 24 0.0
RAM 82872 82872 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1611460 1611476 16 0.0
RAM 209728 209728 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1531812 1531828 16 0.0
RAM 206544 206544 0 0.0
light cy8ckit_062s2_43012 FLASH 1458844 1458860 16 0.0
RAM 199808 199808 0 0.0
lock cy8ckit_062s2_43012 FLASH 1459484 1459500 16 0.0
RAM 224328 224328 0 0.0
qpg lighting-app qpg6105+debug FLASH 651724 651748 24 0.0
RAM 104636 104636 0 0.0
lock-app qpg6105+debug FLASH 612120 612136 16 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474120 474144 24 0.0
RAM 144260 144260 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 633086 633112 26 0.0
RAM 50576 50576 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658760 658786 26 0.0
RAM 148480 148480 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 778986 779012 26 0.0
RAM 113260 113260 0 0.0
bridge-app tlsr9258a FLASH 676006 676032 26 0.0
RAM 95344 95344 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634670 634696 26 0.0
RAM 50620 50620 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720542 720568 26 0.0
RAM 77196 77196 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614040 614066 26 0.0
RAM 144684 144684 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801844 801870 26 0.0
RAM 103088 103088 0 0.0
lock-app-dfu tlsr9528a FLASH 666498 666524 26 0.0
RAM 69900 69900 0 0.0
ota-requestor-app tlsr9258a FLASH 695368 695394 26 0.0
RAM 95068 95068 0 0.0
pump-app tlsr9518adk80d FLASH 616934 616960 26 0.0
RAM 57000 57000 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607344 607370 26 0.0
RAM 56800 56800 0 0.0
shell tlsr9518adk80d FLASH 466520 466520 0 0.0
RAM 72488 72488 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641288 641314 26 0.0
RAM 52248 52248 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651166 651192 26 0.0
RAM 60436 60436 0 0.0
thermostat tlsr9518adk80d FLASH 626052 626078 26 0.0
RAM 57124 57124 0 0.0
window-covering tlsr9118bdk40d FLASH 519436 519462 26 0.0
RAM 97856 97856 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1640500 1640516 16 0.0
RAM 48708 48708 0 0.0
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16290646 16290886 240 0.0
RAM 7153088 7153232 144 0.0

@mergify mergify bot merged commit c88d5cf into project-chip:master Jul 24, 2024
70 checks passed
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 31, 2024
…e. (project-chip#34419)

* Implement DataModel based read support in the interacton model engine.

This implements reads via ember and via codegen as well as a
checked-mode where reads are validated as returning the same
status codes and data size (because data content is not available)

* Comment update and logic update: we MAY get different sizes if data size changes for numbers

* Fix typo for ember implementation while renaming things

* Fix override markers

* run_tv_casting_test should be executable

* Do not report errors on chunking

* Typo fix

* move chipDie for tests only

* move all chipdie to unit test only

* fix comment and formatting

* Update encoderstate logic a bit - code is cleaner, will have to see if CI tests pass

* Restyle

* Enable tracing of messages for tv tests, to see what is going on in CI

* Restyle

* Start adding some log line processing for the tv tests, to have propper timeouts and not block on IO buffers

* Significant reformat and start refactoring the tv casting test

* TV tests pass

* Restyle

* Fix ruff

* Review comment update: set state in all cases

* Added a TODO regarding the awkward "callback on success only"

* Merge fix

* Update src/app/reporting/Read-Checked.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Review updates

* Fix placement of dm state

* Restyle

* Code review comments: double-check that IM not active when setting model, explain why we have the ifdef

* Code review: comment why we did not re-use code

* Code review feedback: warn if running in checked mode

* Restyle

* Avoid loop of err/out empty output

* Support a log directory argument for the casting tests, so I can debug their content

* Better debuggability and error reporting support for shell - this is to debug cast failures

---------

Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
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