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

Enforce DataModel::Provider everywhere #36319

Merged
merged 25 commits into from
Oct 31, 2024

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Oct 31, 2024

Remove the non-provider code to only maintain a single code path for data model handling.

This should enable code cleanups in the future:

  • ACL can be validated outside of read/write implementations (directly in IM)
  • IM could handle global attributes directly as it has metadata access

Changes

  • delete ember-compatibility-functions
  • Maintain only the enabled flags and remove all ifdef conditionals and code splits
    • In particular moved reporting/Read-DataModel and AttributePathExpandIterator-DataModel to be the main intefaces as a h and cpp file.
  • cleanup several overrides within tests and dynamic files (a few that were reused remained and were marked as static)

@andy31415 andy31415 requested review from a team as code owners October 31, 2024 14:59
Copy link

semanticdiff-com bot commented Oct 31, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  scripts/tests/local.py  1% smaller
  .github/workflows/build.yaml Unsupported file format
  .github/workflows/examples-linux-arm.yaml Unsupported file format
  .github/workflows/lint.yml Unsupported file format
  .github/workflows/tests.yaml Unsupported file format
  .github/workflows/unit_integration_test.yaml Unsupported file format
  build/chip/esp32/esp32_codegen.cmake Unsupported file format
  config/common/cmake/chip_gn_args.cmake Unsupported file format
  config/esp32/components/chip/CMakeLists.txt Unsupported file format
  config/mbed/CMakeLists.txt Unsupported file format
  config/nrfconnect/chip-module/CMakeLists.txt Unsupported file format
  config/nxp/chip-cmake-freertos/CMakeLists.txt Unsupported file format
  config/nxp/chip-module/CMakeLists.txt Unsupported file format
  config/telink/chip-module/CMakeLists.txt Unsupported file format
  config/zephyr/Kconfig Unsupported file format
  config/zephyr/chip-module/CMakeLists.txt Unsupported file format
  examples/common/pigweed/rpc_services/Attributes.h Unsupported file format
  scripts/build/build/targets.py  0% smaller
  scripts/build/builders/esp32.py  0% smaller
  scripts/build/builders/host.py  0% smaller
  scripts/build/builders/mbed.py  0% smaller
  scripts/build/builders/nrf.py  0% smaller
  scripts/build/builders/nxp.py  0% smaller
  scripts/build/builders/qpg.py  0% smaller
  scripts/build/builders/telink.py  0% smaller
  scripts/build/testdata/all_targets_linux_x64.txt Unsupported file format
  src/app/AttributePathExpandIterator-Checked.cpp Unsupported file format
  src/app/AttributePathExpandIterator-Checked.h Unsupported file format
  src/app/AttributePathExpandIterator-DataModel.h Unsupported file format
  src/app/AttributePathExpandIterator-Ember.cpp Unsupported file format
  src/app/AttributePathExpandIterator-Ember.h Unsupported file format
  src/app/AttributePathExpandIterator.cpp Unsupported file format
  src/app/AttributePathExpandIterator.h Unsupported file format
  src/app/AttributeValueEncoder.h Unsupported file format
  src/app/BUILD.gn Unsupported file format
  src/app/CommandHandlerImpl.cpp Unsupported file format
  src/app/InteractionModelEngine.cpp Unsupported file format
  src/app/WriteHandler.cpp Unsupported file format
  src/app/WriteHandler.h Unsupported file format
  src/app/chip_data_model.cmake Unsupported file format
  src/app/chip_data_model.gni Unsupported file format
  src/app/clusters/microwave-oven-control-server/microwave-oven-control-server.cpp Unsupported file format
  src/app/clusters/pump-configuration-and-control-server/pump-configuration-and-control-server.cpp Unsupported file format
  src/app/codegen-data-model-provider/tests/InteractionModelTemporaryOverrides.cpp Unsupported file format
  src/app/common_flags.gni Unsupported file format
  src/app/dynamic_server/AccessControl.cpp Unsupported file format
  src/app/dynamic_server/DynamicDispatcher.cpp Unsupported file format
  src/app/reporting/Engine.cpp Unsupported file format
  src/app/reporting/Read-Checked.cpp Unsupported file format
  src/app/reporting/Read-Checked.h Unsupported file format
  src/app/reporting/Read-DataModel.h Unsupported file format
  src/app/reporting/Read-Ember.cpp Unsupported file format
  src/app/reporting/Read-Ember.h Unsupported file format
  src/app/reporting/Read.cpp Unsupported file format
  src/app/reporting/Read.h Unsupported file format
  src/app/server/Server.cpp Unsupported file format
  src/app/tests/BUILD.gn Unsupported file format
  src/app/tests/TestCommandInteraction.cpp Unsupported file format
  src/app/tests/integration/chip_im_initiator.cpp Unsupported file format
  src/app/tests/integration/chip_im_responder.cpp Unsupported file format
  src/app/tests/test-interaction-model-api.cpp Unsupported file format
  src/app/tests/test-interaction-model-api.h Unsupported file format
  src/app/util/ember-compatibility-functions.cpp Unsupported file format
  src/app/util/ember-compatibility-functions.h Unsupported file format
  src/controller/tests/data_model/DataModelFixtures.cpp Unsupported file format
  src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAccessControl.mm Unsupported file format
  src/darwin/Framework/Matter.xcodeproj/project.pbxproj Unsupported file format

Copy link

github-actions bot commented Oct 31, 2024

PR #36319: Size comparison from 6aa13c0 to 48e8163

Full report (79 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 6aa13c0 48e8163 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1351880 1351436 -444 -0.0
RAM 104080 104080 0 0.0
bl702 lighting-app bl702+eth FLASH 649246 649042 -204 -0.0
RAM 25321 25321 0 0.0
bl702+wifi FLASH 826826 826622 -204 -0.0
RAM 14053 14053 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056486 1056282 -204 -0.0
RAM 23901 23901 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 976652 976448 -204 -0.0
RAM 16556 16556 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838028 837852 -176 -0.0
RAM 123628 123628 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823792 823616 -176 -0.0
RAM 125516 125516 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770532 770348 -184 -0.0
RAM 113984 113984 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754736 754560 -176 -0.0
RAM 114192 114192 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 627342 627294 -48 -0.0
RAM 205780 205780 0 0.0
lock CC3235SF_LAUNCHXL FLASH 667078 667038 -40 -0.0
RAM 205932 205932 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679689 679497 -192 -0.0
RAM 78684 78684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699541 699349 -192 -0.0
RAM 81324 81324 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699541 699349 -192 -0.0
RAM 81324 81324 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656477 656277 -200 -0.0
RAM 73752 73752 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616393 616201 -192 -0.0
RAM 71644 71644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636021 635837 -184 -0.0
RAM 74188 74188 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636021 635837 -184 -0.0
RAM 74188 74188 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635857 635665 -192 -0.0
RAM 74692 74692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655565 655381 -184 -0.0
RAM 77236 77236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655565 655381 -184 -0.0
RAM 77236 77236 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611253 611069 -184 -0.0
RAM 68772 68772 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631113 630921 -192 -0.0
RAM 71412 71412 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631113 630921 -192 -0.0
RAM 71412 71412 0 0.0
efr32 lock-app BRD4187C FLASH 928652 928556 -96 -0.0
RAM 160164 160164 0 0.0
BRD4338a FLASH 743352 743336 -16 -0.0
RAM 233272 233272 0 0.0
window-app BRD4187C FLASH 1018520 1018504 -16 -0.0
RAM 128260 128260 0 0.0
esp32 all-clusters-app c3devkit DRAM 95328 95328 0 0.0
FLASH 1540094 1539896 -198 -0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116256 116256 0 0.0
FLASH 1549262 1549070 -192 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2731595 2698407 -33188 -1.2
RAM 129616 129616 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6019704 5986314 -33390 -0.6
RAM 523872 523872 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5356946 5323622 -33324 -0.6
RAM 242448 242448 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4700450 4666066 -34384 -0.7
RAM 218400 218384 -16 -0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12901222 12867276 -33946 -0.3
RAM 584466 584466 0 0.0
chip-tool-ipv6only arm64 unknown 21416 21400 -16 -0.1
FLASH 11029376 10999984 -29392 -0.3
RAM 635400 635368 -32 -0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11308753 11274331 -34422 -0.3
RAM 584922 584922 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4527502 4492878 -34624 -0.8
RAM 205368 205368 0 0.0
fabric-sync debug unknown 4840 4840 0 0.0
FLASH 5239621 5205141 -34480 -0.7
RAM 465432 465432 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5637313 5604849 -32464 -0.6
RAM 228520 228520 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4748870 4715508 -33362 -0.7
RAM 204520 204520 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4375630 4340972 -34658 -0.8
RAM 198240 198240 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4513870 4479342 -34528 -0.8
RAM 202808 202808 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3046973 3013629 -33344 -1.1
RAM 160336 160336 0 0.0
thermostat-no-ble arm64 unknown 9456 9440 -16 -0.2
FLASH 4117192 4087216 -29976 -0.7
RAM 242936 242904 -32 -0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 5971893 5937685 -34208 -0.6
RAM 596304 596304 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 11108589 11074429 -34160 -0.3
RAM 694552 694536 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915096 914984 -112 -0.0
RAM 143281 143281 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 887740 887560 -180 -0.0
RAM 141468 141468 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 849160 849048 -112 -0.0
RAM 142189 142189 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 793524 793412 -112 -0.0
RAM 132259 132259 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937880 937764 -116 -0.0
RAM 130832 130832 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 885700 885588 -112 -0.0
RAM 146677 146677 0 0.0
nrf52840dongle_nrf52840 FLASH 825456 825344 -112 -0.0
RAM 154539 154539 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 781720 781604 -116 -0.0
RAM 145687 145687 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937880 937764 -116 -0.0
RAM 130832 130832 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 808648 808536 -112 -0.0
RAM 132814 132814 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 734200 734084 -116 -0.0
RAM 132944 132944 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953940 953824 -116 -0.0
RAM 131387 131387 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 761588 761472 -116 -0.0
RAM 131605 131605 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 746724 746612 -112 -0.0
RAM 131364 131364 0 0.0
nxp contact k32w0+release FLASH 584208 584096 -112 -0.0
RAM 71044 71044 0 0.0
mcxw71+release FLASH 598744 598568 -176 -0.0
RAM 63144 63144 0 0.0
light k32w0+release FLASH 611252 611140 -112 -0.0
RAM 70436 70436 0 0.0
k32w1+release FLASH 685048 684864 -184 -0.0
RAM 48776 48776 0 0.0
lock mcxw71+release FLASH 748576 748408 -168 -0.0
RAM 67300 67300 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1642780 1642748 -32 -0.0
RAM 212056 212056 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550324 1550292 -32 -0.0
RAM 208856 208856 0 0.0
light cy8ckit_062s2_43012 FLASH 1466924 1466892 -32 -0.0
RAM 200840 200840 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464636 1464604 -32 -0.0
RAM 225200 225200 0 0.0
qpg lighting-app qpg6105+debug FLASH 662336 662224 -112 -0.0
RAM 105380 105380 0 0.0
lock-app qpg6105+debug FLASH 620300 620180 -120 -0.0
RAM 99832 99832 0 0.0
stm32 light STM32WB5MM-DK FLASH 483160 483040 -120 -0.0
RAM 144844 144844 0 0.0
telink bridge-app tlsr9258a FLASH 683142 683014 -128 -0.0
RAM 91232 91232 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 622538 622356 -182 -0.0
RAM 50464 50464 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 710454 710272 -182 -0.0
RAM 73804 73804 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627100 626918 -182 -0.0
RAM 144404 144404 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813660 813478 -182 -0.0
RAM 99036 99036 0 0.0
tizen all-clusters-app arm unknown 4932 4932 0 0.0
FLASH 1722100 1721484 -616 -0.0
RAM 90608 90608 0 0.0
chip-tool-ubsan arm unknown 10820 10820 0 0.0
FLASH 18008310 18005942 -2368 -0.0
RAM 7858000 7857048 -952 -0.0

src/app/AttributePathExpandIterator.h Outdated Show resolved Hide resolved
src/app/AttributePathExpandIterator.h Outdated Show resolved Hide resolved
src/app/CommandHandlerImpl.cpp Show resolved Hide resolved
src/app/WriteHandler.h Show resolved Hide resolved
src/app/reporting/Read.cpp Show resolved Hide resolved
src/app/reporting/Read.cpp Show resolved Hide resolved
src/app/server/Server.cpp Show resolved Hide resolved
Copy link

github-actions bot commented Oct 31, 2024

PR #36319: Size comparison from 6aa13c0 to 0c7bc59

Increases above 0.2%:

platform target config section 6aa13c0 0c7bc59 change % change
telink bridge-app tlsr9258a RAM 91232 91528 296 0.3
lighting-app-ota-factory-data tlsr9118bdk40d RAM 144404 145384 980 0.7
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d RAM 99036 100004 968 1.0
Full report (79 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 6aa13c0 0c7bc59 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1351880 1351454 -426 -0.0
RAM 104080 104080 0 0.0
bl702 lighting-app bl702+eth FLASH 649246 649058 -188 -0.0
RAM 25321 25321 0 0.0
bl702+wifi FLASH 826826 826638 -188 -0.0
RAM 14053 14053 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056486 1056298 -188 -0.0
RAM 23901 23901 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 976652 976464 -188 -0.0
RAM 16556 16556 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838028 837924 -104 -0.0
RAM 123628 123628 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823792 823696 -96 -0.0
RAM 125516 125516 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770532 770436 -96 -0.0
RAM 113984 113984 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754736 754640 -96 -0.0
RAM 114192 114192 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 627342 627382 40 0.0
RAM 205780 205780 0 0.0
lock CC3235SF_LAUNCHXL FLASH 667078 667126 48 0.0
RAM 205932 205932 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679689 679585 -104 -0.0
RAM 78684 78684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699541 699437 -104 -0.0
RAM 81324 81324 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699541 699437 -104 -0.0
RAM 81324 81324 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656477 656373 -104 -0.0
RAM 73752 73752 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616393 616289 -104 -0.0
RAM 71644 71644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636021 635917 -104 -0.0
RAM 74188 74188 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636021 635917 -104 -0.0
RAM 74188 74188 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635857 635753 -104 -0.0
RAM 74692 74692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655565 655469 -96 -0.0
RAM 77236 77236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655565 655469 -96 -0.0
RAM 77236 77236 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611253 611157 -96 -0.0
RAM 68772 68772 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631113 631009 -104 -0.0
RAM 71412 71412 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631113 631009 -104 -0.0
RAM 71412 71412 0 0.0
efr32 lock-app BRD4187C FLASH 928652 928556 -96 -0.0
RAM 160164 160164 0 0.0
BRD4338a FLASH 743352 743288 -64 -0.0
RAM 233272 233272 0 0.0
window-app BRD4187C FLASH 1018520 1018552 32 0.0
RAM 128260 128260 0 0.0
esp32 all-clusters-app c3devkit DRAM 95328 95328 0 0.0
FLASH 1540094 1539912 -182 -0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116256 116256 0 0.0
FLASH 1549262 1549102 -160 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2731595 2698549 -33046 -1.2
RAM 129616 129616 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6019704 5986488 -33216 -0.6
RAM 523872 523872 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5356946 5323796 -33150 -0.6
RAM 242448 242448 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4700450 4666208 -34242 -0.7
RAM 218400 218384 -16 -0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12901222 12867450 -33772 -0.3
RAM 584466 584466 0 0.0
chip-tool-ipv6only arm64 unknown 21416 21400 -16 -0.1
FLASH 11029376 11000112 -29264 -0.3
RAM 635400 635368 -32 -0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11308753 11274505 -34248 -0.3
RAM 584922 584922 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4527502 4493052 -34450 -0.8
RAM 205368 205368 0 0.0
fabric-sync debug unknown 4840 4840 0 0.0
FLASH 5239621 5205317 -34304 -0.7
RAM 465432 465432 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5637313 5604977 -32336 -0.6
RAM 228520 228520 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4748870 4715682 -33188 -0.7
RAM 204520 204520 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4375630 4341114 -34516 -0.8
RAM 198240 198240 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4513870 4479516 -34354 -0.8
RAM 202808 202808 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3046973 3013773 -33200 -1.1
RAM 160336 160336 0 0.0
thermostat-no-ble arm64 unknown 9456 9440 -16 -0.2
FLASH 4117192 4087360 -29832 -0.7
RAM 242936 242904 -32 -0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 5971893 5937829 -34064 -0.6
RAM 596304 596304 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 11108589 11074605 -33984 -0.3
RAM 694552 694536 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915096 915000 -96 -0.0
RAM 143281 143281 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 887740 887560 -180 -0.0
RAM 141468 141468 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 849160 849064 -96 -0.0
RAM 142189 142189 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 793524 793428 -96 -0.0
RAM 132259 132259 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937880 937780 -100 -0.0
RAM 130832 130832 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 885700 885604 -96 -0.0
RAM 146677 146677 0 0.0
nrf52840dongle_nrf52840 FLASH 825456 825360 -96 -0.0
RAM 154539 154539 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 781720 781620 -100 -0.0
RAM 145687 145687 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937880 937780 -100 -0.0
RAM 130832 130832 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 808648 808552 -96 -0.0
RAM 132814 132814 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 734200 734100 -100 -0.0
RAM 132944 132944 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953940 953840 -100 -0.0
RAM 131387 131387 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 761588 761488 -100 -0.0
RAM 131605 131605 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 746724 746628 -96 -0.0
RAM 131364 131364 0 0.0
nxp contact k32w0+release FLASH 584208 584112 -96 -0.0
RAM 71044 71044 0 0.0
mcxw71+release FLASH 598744 598656 -88 -0.0
RAM 63144 63144 0 0.0
light k32w0+release FLASH 611252 611156 -96 -0.0
RAM 70436 70436 0 0.0
k32w1+release FLASH 685048 684952 -96 -0.0
RAM 48776 48776 0 0.0
lock mcxw71+release FLASH 748576 748488 -88 -0.0
RAM 67300 67300 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1642780 1642828 48 0.0
RAM 212056 212056 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550324 1550356 32 0.0
RAM 208856 208856 0 0.0
light cy8ckit_062s2_43012 FLASH 1466924 1466956 32 0.0
RAM 200840 200840 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464636 1464684 48 0.0
RAM 225200 225200 0 0.0
qpg lighting-app qpg6105+debug FLASH 662336 662240 -96 -0.0
RAM 105380 105380 0 0.0
lock-app qpg6105+debug FLASH 620300 620196 -104 -0.0
RAM 99832 99832 0 0.0
stm32 light STM32WB5MM-DK FLASH 483160 483056 -104 -0.0
RAM 144844 144844 0 0.0
telink bridge-app tlsr9258a FLASH 683142 684316 1174 0.2
RAM 91232 91528 296 0.3
contact-sensor-app tlsr9528a_retention FLASH 622538 622372 -166 -0.0
RAM 50464 50464 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 710454 710288 -166 -0.0
RAM 73804 73804 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627100 628478 1378 0.2
RAM 144404 145384 980 0.7
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813660 814826 1166 0.1
RAM 99036 100004 968 1.0
tizen all-clusters-app arm unknown 4932 4932 0 0.0
FLASH 1722100 1721588 -512 -0.0
RAM 90608 90608 0 0.0
chip-tool-ubsan arm unknown 10820 10820 0 0.0
FLASH 18008310 18006430 -1880 -0.0
RAM 7858000 7857244 -756 -0.0

@project-chip project-chip deleted a comment from github-actions bot Oct 31, 2024
src/app/tests/BUILD.gn Outdated Show resolved Hide resolved
Co-authored-by: Junior Martinez <[email protected]>
Copy link

github-actions bot commented Oct 31, 2024

PR #36319: Size comparison from 6aa13c0 to 70bf365

Increases above 0.2%:

platform target config section 6aa13c0 70bf365 change % change
telink bridge-app tlsr9258a RAM 91232 91528 296 0.3
lighting-app-ota-factory-data tlsr9118bdk40d RAM 144404 145384 980 0.7
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d RAM 99036 100004 968 1.0
Full report (79 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 6aa13c0 70bf365 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1351880 1351454 -426 -0.0
RAM 104080 104080 0 0.0
bl702 lighting-app bl702+eth FLASH 649246 649058 -188 -0.0
RAM 25321 25321 0 0.0
bl702+wifi FLASH 826826 826638 -188 -0.0
RAM 14053 14053 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056486 1056298 -188 -0.0
RAM 23901 23901 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 976652 976464 -188 -0.0
RAM 16556 16556 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838028 837924 -104 -0.0
RAM 123628 123628 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823792 823696 -96 -0.0
RAM 125516 125516 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770532 770436 -96 -0.0
RAM 113984 113984 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754736 754640 -96 -0.0
RAM 114192 114192 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 627342 627382 40 0.0
RAM 205780 205780 0 0.0
lock CC3235SF_LAUNCHXL FLASH 667078 667126 48 0.0
RAM 205932 205932 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679689 679585 -104 -0.0
RAM 78684 78684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699541 699437 -104 -0.0
RAM 81324 81324 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699541 699437 -104 -0.0
RAM 81324 81324 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656477 656373 -104 -0.0
RAM 73752 73752 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616393 616289 -104 -0.0
RAM 71644 71644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636021 635917 -104 -0.0
RAM 74188 74188 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636021 635917 -104 -0.0
RAM 74188 74188 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635857 635753 -104 -0.0
RAM 74692 74692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655565 655469 -96 -0.0
RAM 77236 77236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655565 655469 -96 -0.0
RAM 77236 77236 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611253 611157 -96 -0.0
RAM 68772 68772 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631113 631009 -104 -0.0
RAM 71412 71412 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631113 631009 -104 -0.0
RAM 71412 71412 0 0.0
efr32 lock-app BRD4187C FLASH 928652 928556 -96 -0.0
RAM 160164 160164 0 0.0
BRD4338a FLASH 743352 743288 -64 -0.0
RAM 233272 233272 0 0.0
window-app BRD4187C FLASH 1018520 1018552 32 0.0
RAM 128260 128260 0 0.0
esp32 all-clusters-app c3devkit DRAM 95328 95328 0 0.0
FLASH 1540094 1539912 -182 -0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116256 116256 0 0.0
FLASH 1549262 1549102 -160 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2731595 2698549 -33046 -1.2
RAM 129616 129616 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6019704 5986488 -33216 -0.6
RAM 523872 523872 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5356946 5323796 -33150 -0.6
RAM 242448 242448 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4700450 4666208 -34242 -0.7
RAM 218400 218384 -16 -0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12901222 12867450 -33772 -0.3
RAM 584466 584466 0 0.0
chip-tool-ipv6only arm64 unknown 21416 21400 -16 -0.1
FLASH 11029376 11000112 -29264 -0.3
RAM 635400 635368 -32 -0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11308753 11274505 -34248 -0.3
RAM 584922 584922 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4527502 4493052 -34450 -0.8
RAM 205368 205368 0 0.0
fabric-sync debug unknown 4840 4840 0 0.0
FLASH 5239621 5205317 -34304 -0.7
RAM 465432 465432 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5637313 5604977 -32336 -0.6
RAM 228520 228520 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4748870 4715682 -33188 -0.7
RAM 204520 204520 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4375630 4341114 -34516 -0.8
RAM 198240 198240 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4513870 4479516 -34354 -0.8
RAM 202808 202808 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3046973 3013773 -33200 -1.1
RAM 160336 160336 0 0.0
thermostat-no-ble arm64 unknown 9456 9440 -16 -0.2
FLASH 4117192 4087360 -29832 -0.7
RAM 242936 242904 -32 -0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 5971893 5937829 -34064 -0.6
RAM 596304 596304 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 11108589 11074605 -33984 -0.3
RAM 694552 694536 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915096 915000 -96 -0.0
RAM 143281 143281 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 887740 887560 -180 -0.0
RAM 141468 141468 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 849160 849064 -96 -0.0
RAM 142189 142189 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 793524 793428 -96 -0.0
RAM 132259 132259 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937880 937780 -100 -0.0
RAM 130832 130832 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 885700 885604 -96 -0.0
RAM 146677 146677 0 0.0
nrf52840dongle_nrf52840 FLASH 825456 825360 -96 -0.0
RAM 154539 154539 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 781720 781620 -100 -0.0
RAM 145687 145687 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937880 937780 -100 -0.0
RAM 130832 130832 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 808648 808552 -96 -0.0
RAM 132814 132814 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 734200 734100 -100 -0.0
RAM 132944 132944 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953940 953840 -100 -0.0
RAM 131387 131387 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 761588 761488 -100 -0.0
RAM 131605 131605 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 746724 746628 -96 -0.0
RAM 131364 131364 0 0.0
nxp contact k32w0+release FLASH 584208 584112 -96 -0.0
RAM 71044 71044 0 0.0
mcxw71+release FLASH 598744 598656 -88 -0.0
RAM 63144 63144 0 0.0
light k32w0+release FLASH 611252 611156 -96 -0.0
RAM 70436 70436 0 0.0
k32w1+release FLASH 685048 684952 -96 -0.0
RAM 48776 48776 0 0.0
lock mcxw71+release FLASH 748576 748488 -88 -0.0
RAM 67300 67300 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1642780 1642828 48 0.0
RAM 212056 212056 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550324 1550356 32 0.0
RAM 208856 208856 0 0.0
light cy8ckit_062s2_43012 FLASH 1466924 1466956 32 0.0
RAM 200840 200840 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464636 1464684 48 0.0
RAM 225200 225200 0 0.0
qpg lighting-app qpg6105+debug FLASH 662336 662240 -96 -0.0
RAM 105380 105380 0 0.0
lock-app qpg6105+debug FLASH 620300 620196 -104 -0.0
RAM 99832 99832 0 0.0
stm32 light STM32WB5MM-DK FLASH 483160 483056 -104 -0.0
RAM 144844 144844 0 0.0
telink bridge-app tlsr9258a FLASH 683142 684316 1174 0.2
RAM 91232 91528 296 0.3
contact-sensor-app tlsr9528a_retention FLASH 622538 622372 -166 -0.0
RAM 50464 50464 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 710454 710288 -166 -0.0
RAM 73804 73804 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627100 628478 1378 0.2
RAM 144404 145384 980 0.7
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813660 814826 1166 0.1
RAM 99036 100004 968 1.0
tizen all-clusters-app arm unknown 4932 4932 0 0.0
FLASH 1722100 1721588 -512 -0.0
RAM 90608 90608 0 0.0
chip-tool-ubsan arm unknown 10820 10820 0 0.0
FLASH 18008310 18006430 -1880 -0.0
RAM 7858000 7857244 -756 -0.0

@mergify mergify bot merged commit 4efe777 into project-chip:master Oct 31, 2024
67 checks passed
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
* Pass 1: remove a large set of ifdefs

* More flags removes

* Remove more flags

* More flags removes

* Clean up a few more builders

* Clean up references from ember compatibility functions and make the data model implementation of reporting and attribute path expand iterator be the only implemented versions

* Remove ServerClusterCommandExists

* Remove ConcreteAttributePathExists

* Remove ReadSingleClusterData

* Remove GetAttributeMetadata

* Even more cleanup

* Remove invalid include

* Update target test file: we removed all DM enable/disable

* Add back endif

* Cleanup targets for building

* Cleanup unused target

* one more unused function removal

* Fix up one condition

* Restyled by clang-format

* Update src/app/AttributePathExpandIterator.h

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

* Update src/app/AttributePathExpandIterator.h

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

* Update src/darwin/Framework/CHIP/ServerEndpoint/MTRServerAccessControl.mm

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

* Add back missed code

* Restyled by clang-format

* Update src/app/tests/BUILD.gn

Co-authored-by: Junior Martinez <[email protected]>

---------

Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants