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

[ICD] Improve ICDClientStorage #36036

Merged
merged 13 commits into from
Oct 12, 2024

Conversation

yunhanw-google
Copy link
Contributor

@yunhanw-google yunhanw-google commented Oct 11, 2024

-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove ICDFabricList from persistent storage, if there is at least 1 fabric in table, we need update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric error, and deleteEntry or deleteAllEntries needs to return no error.
-- check error for writer.Finalize
-- return earlier when counter from load function is 0
-- Add multiple unit tests to cover the ordering combination around
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics(fixes #30722)

Copy link

Review changes with SemanticDiff.

@yunhanw-google yunhanw-google changed the title Improve ICDClientStorage [ICD] Improve ICDClientStorage Oct 11, 2024
@github-actions github-actions bot added app tests icd Intermittently Connected Devices labels Oct 11, 2024
-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove
ICDFabricList from persistent storage, if there is at least 1 fabric in
table, we would update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric
error, and deleteEntry or deleteAllEntries needs to return no error.
-- Add multiple unit tests to cover
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics
@yunhanw-google yunhanw-google force-pushed the feature/icd_storage_test branch from e832afb to 5d153dc Compare October 11, 2024 06:16
Copy link

github-actions bot commented Oct 11, 2024

PR #36036: Size comparison from a76cc9b to 5d153dc

Full report (83 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a76cc9b 5d153dc change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349640 1349642 2 0.0
RAM 103928 103928 0 0.0
bl702 lighting-app bl702+eth FLASH 647678 647678 0 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825164 825164 0 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053792 1053794 2 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974932 974934 2 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829460 829460 0 0.0
RAM 123292 123292 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814792 814792 0 0.0
RAM 125172 125172 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761356 761356 0 0.0
RAM 113664 113664 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745584 745584 0 0.0
RAM 113856 113856 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617114 617114 0 0.0
RAM 205396 205396 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657218 657218 0 0.0
RAM 205548 205548 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678437 678437 0 0.0
RAM 78508 78508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698281 698281 0 0.0
RAM 81140 81140 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698281 698281 0 0.0
RAM 81140 81140 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655217 655217 0 0.0
RAM 73576 73576 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614765 614765 0 0.0
RAM 71468 71468 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634393 634393 0 0.0
RAM 74020 74020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634393 634393 0 0.0
RAM 74020 74020 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634085 634085 0 0.0
RAM 74516 74516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653793 653793 0 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653793 653793 0 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609389 609389 0 0.0
RAM 68604 68604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629249 629249 0 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629249 629249 0 0.0
RAM 71236 71236 0 0.0
efr32 lighting-app BRD4187C FLASH 934544 934544 0 0.0
RAM 135956 135956 0 0.0
lock-app BRD2605a FLASH 740640 740632 -8 -0.0
RAM 230816 230816 0 0.0
BRD4338a FLASH 741288 741280 -8 -0.0
RAM 230848 230848 0 0.0
window-app BRD4187C FLASH 1018108 1018108 0 0.0
RAM 127892 127892 0 0.0
esp32 all-clusters-app c3devkit DRAM 94088 94088 0 0.0
FLASH 1538682 1538682 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115032 0 0.0
FLASH 1549018 1549018 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2780949 2780949 0 0.0
RAM 129520 129520 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085554 6085554 0 0.0
RAM 514752 514752 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418228 5418228 0 0.0
RAM 241200 241200 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751700 4751700 0 0.0
RAM 218384 218384 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780226 12781296 1070 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11397328 752 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091129 11092199 1070 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575330 4575330 0 0.0
RAM 205048 205048 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692289 5692289 0 0.0
RAM 228488 228488 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801264 4801264 0 0.0
RAM 204472 204472 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430688 4430688 0 0.0
RAM 198192 198192 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569502 4569502 0 0.0
RAM 202760 202760 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111005 3111005 0 0.0
RAM 159280 159280 0 0.0
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319472 4319472 0 0.0
RAM 242888 242888 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029621 6029621 0 0.0
RAM 588256 588256 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 1097932 1097932 0 0.0
RAM 656960 656960 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914420 914420 0 0.0
RAM 142199 142199 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885228 885228 0 0.0
RAM 140338 140338 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847836 847836 0 0.0
RAM 141101 141101 0 0.0
nxp contact k32w0+release FLASH 582168 582168 0 0.0
RAM 70792 70792 0 0.0
k32w1+release FLASH 597000 597000 0 0.0
RAM 63016 63016 0 0.0
mcxw71+release FLASH 596760 596760 0 0.0
RAM 63016 63016 0 0.0
light k32w0+release FLASH 618700 618700 0 0.0
RAM 70256 70256 0 0.0
k32w1+release FLASH 683008 683008 0 0.0
RAM 48648 48648 0 0.0
mcxw71+release FLASH 683008 683008 0 0.0
RAM 48648 48648 0 0.0
lock k32w1+release FLASH 705360 705360 0 0.0
RAM 67156 67156 0 0.0
mcxw71+release FLASH 705368 705368 0 0.0
RAM 67156 67156 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646292 1646292 0 0.0
RAM 210888 210888 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552356 1552356 0 0.0
RAM 207688 207688 0 0.0
light cy8ckit_062s2_43012 FLASH 1467828 1467828 0 0.0
RAM 200688 200688 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464900 1464900 0 0.0
RAM 225048 225048 0 0.0
qpg lighting-app qpg6105+debug FLASH 660488 660488 0 0.0
RAM 105236 105236 0 0.0
lock-app qpg6105+debug FLASH 618508 618508 0 0.0
RAM 99704 99704 0 0.0
stm32 light STM32WB5MM-DK FLASH 481784 481784 0 0.0
RAM 144684 144684 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620946 620946 0 0.0
RAM 50488 50488 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688144 688144 0 0.0
RAM 148328 148328 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 781136 781136 0 0.0
RAM 110280 110280 0 0.0
bridge-app tlsr9258a FLASH 681042 681042 0 0.0
RAM 91144 91144 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620710 620710 0 0.0
RAM 50440 50440 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708652 708652 0 0.0
RAM 73780 73780 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625648 625648 0 0.0
RAM 144308 144308 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811408 811408 0 0.0
RAM 98940 98940 0 0.0
lock-app-dfu tlsr9528a FLASH 656616 656616 0 0.0
RAM 66500 66500 0 0.0
ota-requestor-app tlsr9258a FLASH 697020 697020 0 0.0
RAM 90736 90736 0 0.0
pump-app-usb tlsr9518adk80d FLASH 634344 634344 0 0.0
RAM 55316 55316 0 0.0
pump-controller-app tlsr9518adk80d FLASH 611534 611534 0 0.0
RAM 52560 52560 0 0.0
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627860 627860 0 0.0
RAM 52160 52160 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653666 653666 0 0.0
RAM 56108 56108 0 0.0
thermostat tlsr9518adk80d FLASH 638266 638266 0 0.0
RAM 52952 52952 0 0.0
window-covering tlsr9118bdk40d FLASH 524404 524404 0 0.0
RAM 97284 97284 0 0.0
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726732 1726732 0 0.0
RAM 89084 89084 0 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718370 17719290 920 0.0
RAM 7714704 7715040 336 0.0

src/app/icd/client/DefaultICDClientStorage.cpp Outdated Show resolved Hide resolved
src/app/icd/client/DefaultICDClientStorage.cpp Outdated Show resolved Hide resolved
src/app/icd/client/DefaultICDClientStorage.cpp Outdated Show resolved Hide resolved
src/app/icd/client/DefaultICDClientStorage.cpp Outdated Show resolved Hide resolved
src/app/icd/client/DefaultICDClientStorage.cpp Outdated Show resolved Hide resolved
src/app/tests/TestDefaultICDClientStorage.cpp Show resolved Hide resolved
src/app/tests/TestDefaultICDClientStorage.cpp Show resolved Hide resolved
src/app/tests/TestDefaultICDClientStorage.cpp Show resolved Hide resolved
Copy link

github-actions bot commented Oct 11, 2024

PR #36036: Size comparison from a76cc9b to 685ba45

Increases above 0.2%:

platform target config section a76cc9b 685ba45 change % change
nxp contact k32w1+release RAM 63016 63176 160 0.3
mcxw71+release RAM 63016 63176 160 0.3
light k32w1+release RAM 48648 48808 160 0.3
mcxw71+release RAM 48648 48808 160 0.3
psoc6 light cy8ckit_062s2_43012 RAM 200688 201200 512 0.3
telink air-quality-sensor-app tlsr9528a_retention RAM 50488 50648 160 0.3
contact-sensor-app tlsr9528a_retention RAM 50440 50600 160 0.3
light-switch-app-ota-shell-factory-data tlsr9528a RAM 73780 73940 160 0.2
lock-app-dfu tlsr9528a RAM 66500 66660 160 0.2
pump-app-usb tlsr9518adk80d RAM 55316 55476 160 0.3
pump-controller-app tlsr9518adk80d RAM 52560 52720 160 0.3
smoke_co_alarm-app tlsr9528a_retention RAM 52160 52320 160 0.3
temperature-measurement-app-mars-ota tlsr9518adk80d RAM 56108 56268 160 0.3
thermostat tlsr9518adk80d RAM 52952 53112 160 0.3
Full report (83 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a76cc9b 685ba45 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349640 1349682 42 0.0
RAM 103928 104120 192 0.2
bl702 lighting-app bl702+eth FLASH 647678 647718 40 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825164 825204 40 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053792 1053834 42 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974932 974974 42 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829460 829492 32 0.0
RAM 123292 123452 160 0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 814792 814832 40 0.0
RAM 125172 125332 160 0.1
pump-app LP_EM_CC1354P10_6 FLASH 761356 761396 40 0.0
RAM 113664 113824 160 0.1
pump-controller-app LP_EM_CC1354P10_6 FLASH 745584 745624 40 0.0
RAM 113856 114016 160 0.1
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617114 617154 40 0.0
RAM 205396 205908 512 0.2
lock CC3235SF_LAUNCHXL FLASH 657218 657258 40 0.0
RAM 205548 206060 512 0.2
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678437 678477 40 0.0
RAM 78508 78668 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698281 698321 40 0.0
RAM 81140 81300 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698281 698321 40 0.0
RAM 81140 81300 160 0.2
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655217 655257 40 0.0
RAM 73576 73736 160 0.2
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614765 614805 40 0.0
RAM 71468 71628 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634393 634433 40 0.0
RAM 74020 74180 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634393 634433 40 0.0
RAM 74020 74180 160 0.2
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634085 634125 40 0.0
RAM 74516 74676 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653793 653833 40 0.0
RAM 77068 77228 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653793 653833 40 0.0
RAM 77068 77228 160 0.2
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609389 609429 40 0.0
RAM 68604 68764 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629249 629289 40 0.0
RAM 71236 71396 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629249 629289 40 0.0
RAM 71236 71396 160 0.2
efr32 lighting-app BRD4187C FLASH 934544 934608 64 0.0
RAM 135956 136116 160 0.1
lock-app BRD2605a FLASH 740640 740696 56 0.0
RAM 230816 230976 160 0.1
BRD4338a FLASH 741288 741344 56 0.0
RAM 230848 231008 160 0.1
window-app BRD4187C FLASH 1018108 1018140 32 0.0
RAM 127892 128052 160 0.1
esp32 all-clusters-app c3devkit DRAM 94088 94248 160 0.2
FLASH 1538682 1538700 18 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115192 160 0.1
FLASH 1549018 1549010 -8 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2780949 2781021 72 0.0
RAM 129520 129520 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085554 6085626 72 0.0
RAM 514752 514752 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418228 5418300 72 0.0
RAM 241200 241200 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751700 4751772 72 0.0
RAM 218384 218384 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780226 12781372 1146 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11397376 800 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091129 11092243 1114 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575330 4575402 72 0.0
RAM 205048 205048 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692289 5692353 64 0.0
RAM 228488 228488 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801264 4801336 72 0.0
RAM 204472 204472 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430688 4430760 72 0.0
RAM 198192 198192 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569502 4569574 72 0.0
RAM 202760 202760 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111005 3111085 80 0.0
RAM 159280 159280 0 0.0
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319472 4319488 16 0.0
RAM 242888 242888 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029621 6029685 64 0.0
RAM 588256 588256 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 1097932 10979373 48 0.0
RAM 656960 656960 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914420 914460 40 0.0
RAM 142199 142359 160 0.1
nrf7002dk_nrf5340_cpuapp FLASH 885228 885276 48 0.0
RAM 140338 140498 160 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847836 847880 44 0.0
RAM 141101 141261 160 0.1
nxp contact k32w0+release FLASH 582168 582216 48 0.0
RAM 70792 70952 160 0.2
k32w1+release FLASH 597000 597048 48 0.0
RAM 63016 63176 160 0.3
mcxw71+release FLASH 596760 596808 48 0.0
RAM 63016 63176 160 0.3
light k32w0+release FLASH 618700 618732 32 0.0
RAM 70256 70416 160 0.2
k32w1+release FLASH 683008 683040 32 0.0
RAM 48648 48808 160 0.3
mcxw71+release FLASH 683008 683040 32 0.0
RAM 48648 48808 160 0.3
lock k32w1+release FLASH 705360 705408 48 0.0
RAM 67156 67316 160 0.2
mcxw71+release FLASH 705368 705416 48 0.0
RAM 67156 67316 160 0.2
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646292 1646340 48 0.0
RAM 210888 211400 512 0.2
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552356 1552388 32 0.0
RAM 207688 208200 512 0.2
light cy8ckit_062s2_43012 FLASH 1467828 1467860 32 0.0
RAM 200688 201200 512 0.3
lock cy8ckit_062s2_43012 FLASH 1464900 1464932 32 0.0
RAM 225048 225560 512 0.2
qpg lighting-app qpg6105+debug FLASH 660488 660528 40 0.0
RAM 105236 105396 160 0.2
lock-app qpg6105+debug FLASH 618508 618548 40 0.0
RAM 99704 99864 160 0.2
stm32 light STM32WB5MM-DK FLASH 481784 481824 40 0.0
RAM 144684 144844 160 0.1
telink air-quality-sensor-app tlsr9528a_retention FLASH 620946 620986 40 0.0
RAM 50488 50648 160 0.3
all-clusters-app tlsr9118bdk40d FLASH 688144 688188 44 0.0
RAM 148328 148488 160 0.1
all-clusters-minimal-app tlsr9528a FLASH 781136 781180 44 0.0
RAM 110280 110440 160 0.1
bridge-app tlsr9258a FLASH 681042 681086 44 0.0
RAM 91144 91304 160 0.2
contact-sensor-app tlsr9528a_retention FLASH 620710 620750 40 0.0
RAM 50440 50600 160 0.3
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708652 708692 40 0.0
RAM 73780 73940 160 0.2
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625648 625692 44 0.0
RAM 144308 144468 160 0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811408 811452 44 0.0
RAM 98940 99100 160 0.2
lock-app-dfu tlsr9528a FLASH 656616 656656 40 0.0
RAM 66500 66660 160 0.2
ota-requestor-app tlsr9258a FLASH 697020 697064 44 0.0
RAM 90736 90896 160 0.2
pump-app-usb tlsr9518adk80d FLASH 634344 634384 40 0.0
RAM 55316 55476 160 0.3
pump-controller-app tlsr9518adk80d FLASH 611534 611574 40 0.0
RAM 52560 52720 160 0.3
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627860 627900 40 0.0
RAM 52160 52320 160 0.3
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653666 653706 40 0.0
RAM 56108 56268 160 0.3
thermostat tlsr9518adk80d FLASH 638266 638306 40 0.0
RAM 52952 53112 160 0.3
window-covering tlsr9118bdk40d FLASH 524404 524444 40 0.0
RAM 97284 97444 160 0.2
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726732 1726772 40 0.0
RAM 89084 89084 0 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718370 17719522 1152 0.0
RAM 7714704 7715136 432 0.0

Copy link

github-actions bot commented Oct 11, 2024

PR #36036: Size comparison from a76cc9b to 512f5c8

Increases above 0.2%:

platform target config section a76cc9b 512f5c8 change % change
nxp contact k32w1+release RAM 63016 63176 160 0.3
mcxw71+release RAM 63016 63176 160 0.3
light k32w1+release RAM 48648 48808 160 0.3
mcxw71+release RAM 48648 48808 160 0.3
psoc6 light cy8ckit_062s2_43012 RAM 200688 201200 512 0.3
telink air-quality-sensor-app tlsr9528a_retention RAM 50488 50648 160 0.3
contact-sensor-app tlsr9528a_retention RAM 50440 50600 160 0.3
pump-app-usb tlsr9518adk80d RAM 55316 55476 160 0.3
pump-controller-app tlsr9518adk80d RAM 52560 52720 160 0.3
smoke_co_alarm-app tlsr9528a_retention RAM 52160 52320 160 0.3
temperature-measurement-app-mars-ota tlsr9518adk80d RAM 56108 56268 160 0.3
thermostat tlsr9518adk80d RAM 52952 53112 160 0.3
Full report (81 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a76cc9b 512f5c8 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349640 1349682 42 0.0
RAM 103928 104120 192 0.2
bl702 lighting-app bl702+eth FLASH 647678 647718 40 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825164 825204 40 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053792 1053834 42 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974932 974974 42 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829460 829492 32 0.0
RAM 123292 123452 160 0.1
lock-ftd LP_EM_CC1354P10_6 FLASH 814792 814832 40 0.0
RAM 125172 125332 160 0.1
pump-app LP_EM_CC1354P10_6 FLASH 761356 761396 40 0.0
RAM 113664 113824 160 0.1
pump-controller-app LP_EM_CC1354P10_6 FLASH 745584 745624 40 0.0
RAM 113856 114016 160 0.1
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617114 617154 40 0.0
RAM 205396 205908 512 0.2
lock CC3235SF_LAUNCHXL FLASH 657218 657258 40 0.0
RAM 205548 206060 512 0.2
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678437 678477 40 0.0
RAM 78508 78668 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698281 698321 40 0.0
RAM 81140 81300 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698281 698321 40 0.0
RAM 81140 81300 160 0.2
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655217 655257 40 0.0
RAM 73576 73736 160 0.2
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614765 614805 40 0.0
RAM 71468 71628 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634393 634433 40 0.0
RAM 74020 74180 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634393 634433 40 0.0
RAM 74020 74180 160 0.2
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634085 634125 40 0.0
RAM 74516 74676 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653793 653833 40 0.0
RAM 77068 77228 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653793 653833 40 0.0
RAM 77068 77228 160 0.2
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609389 609429 40 0.0
RAM 68604 68764 160 0.2
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629249 629289 40 0.0
RAM 71236 71396 160 0.2
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629249 629289 40 0.0
RAM 71236 71396 160 0.2
efr32 lock-app BRD4338a FLASH 741288 741344 56 0.0
RAM 230848 231008 160 0.1
window-app BRD4187C FLASH 1018108 1018140 32 0.0
RAM 127892 128052 160 0.1
esp32 all-clusters-app c3devkit DRAM 94088 94248 160 0.2
FLASH 1538682 1538700 18 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115032 115192 160 0.1
FLASH 1549018 1549010 -8 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2780949 2781021 72 0.0
RAM 129520 129520 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085554 6085626 72 0.0
RAM 514752 514752 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418228 5418300 72 0.0
RAM 241200 241200 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751700 4751760 60 0.0
RAM 218384 218384 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780226 12781182 956 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11397296 720 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091129 11092053 924 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575330 4575394 64 0.0
RAM 205048 205048 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692289 5692353 64 0.0
RAM 228488 228488 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801264 4801336 72 0.0
RAM 204472 204472 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430688 4430760 72 0.0
RAM 198192 198192 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569502 4569574 72 0.0
RAM 202760 202760 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111005 3111085 80 0.0
RAM 159280 159280 0 0.0
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319472 4319488 16 0.0
RAM 242888 242888 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029621 6029669 48 0.0
RAM 588256 588256 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 1097932 10979373 48 0.0
RAM 656960 656960 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914420 914460 40 0.0
RAM 142199 142359 160 0.1
nrf7002dk_nrf5340_cpuapp FLASH 885228 885276 48 0.0
RAM 140338 140498 160 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847836 847880 44 0.0
RAM 141101 141261 160 0.1
nxp contact k32w0+release FLASH 582168 582216 48 0.0
RAM 70792 70952 160 0.2
k32w1+release FLASH 597000 597048 48 0.0
RAM 63016 63176 160 0.3
mcxw71+release FLASH 596760 596808 48 0.0
RAM 63016 63176 160 0.3
light k32w0+release FLASH 618700 618732 32 0.0
RAM 70256 70416 160 0.2
k32w1+release FLASH 683008 683040 32 0.0
RAM 48648 48808 160 0.3
mcxw71+release FLASH 683008 683040 32 0.0
RAM 48648 48808 160 0.3
lock k32w1+release FLASH 705360 705408 48 0.0
RAM 67156 67316 160 0.2
mcxw71+release FLASH 705368 705416 48 0.0
RAM 67156 67316 160 0.2
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646292 1646340 48 0.0
RAM 210888 211400 512 0.2
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552356 1552388 32 0.0
RAM 207688 208200 512 0.2
light cy8ckit_062s2_43012 FLASH 1467828 1467860 32 0.0
RAM 200688 201200 512 0.3
lock cy8ckit_062s2_43012 FLASH 1464900 1464932 32 0.0
RAM 225048 225560 512 0.2
qpg lighting-app qpg6105+debug FLASH 660488 660528 40 0.0
RAM 105236 105396 160 0.2
lock-app qpg6105+debug FLASH 618508 618548 40 0.0
RAM 99704 99864 160 0.2
stm32 light STM32WB5MM-DK FLASH 481784 481824 40 0.0
RAM 144684 144844 160 0.1
telink air-quality-sensor-app tlsr9528a_retention FLASH 620946 620986 40 0.0
RAM 50488 50648 160 0.3
all-clusters-app tlsr9118bdk40d FLASH 688144 688188 44 0.0
RAM 148328 148488 160 0.1
all-clusters-minimal-app tlsr9528a FLASH 781136 781180 44 0.0
RAM 110280 110440 160 0.1
bridge-app tlsr9258a FLASH 681042 681086 44 0.0
RAM 91144 91304 160 0.2
contact-sensor-app tlsr9528a_retention FLASH 620710 620750 40 0.0
RAM 50440 50600 160 0.3
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708652 708692 40 0.0
RAM 73780 73940 160 0.2
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625648 625692 44 0.0
RAM 144308 144468 160 0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811408 811452 44 0.0
RAM 98940 99100 160 0.2
lock-app-dfu tlsr9528a FLASH 656616 656656 40 0.0
RAM 66500 66660 160 0.2
ota-requestor-app tlsr9258a FLASH 697020 697064 44 0.0
RAM 90736 90896 160 0.2
pump-app-usb tlsr9518adk80d FLASH 634344 634384 40 0.0
RAM 55316 55476 160 0.3
pump-controller-app tlsr9518adk80d FLASH 611534 611574 40 0.0
RAM 52560 52720 160 0.3
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627860 627900 40 0.0
RAM 52160 52320 160 0.3
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653666 653706 40 0.0
RAM 56108 56268 160 0.3
thermostat tlsr9518adk80d FLASH 638266 638306 40 0.0
RAM 52952 53112 160 0.3
window-covering tlsr9118bdk40d FLASH 524404 524444 40 0.0
RAM 97284 97444 160 0.2
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726732 1726772 40 0.0
RAM 89084 89084 0 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718370 17719410 1040 0.0
RAM 7714704 7715096 392 0.0

Copy link

PR #36036: Size comparison from a76cc9b to 8723c99

Increases above 0.2%:

platform target config section a76cc9b 8723c99 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL RAM 205396 205908 512 0.2
lock CC3235SF_LAUNCHXL RAM 205548 206060 512 0.2
Full report (3 builds for cc32xx, stm32)
platform target config section a76cc9b 8723c99 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617114 617154 40 0.0
RAM 205396 205908 512 0.2
lock CC3235SF_LAUNCHXL FLASH 657218 657258 40 0.0
RAM 205548 206060 512 0.2
stm32 light STM32WB5MM-DK FLASH 481784 481824 40 0.0
RAM 144684 144844 160 0.1

@yunhanw-google yunhanw-google force-pushed the feature/icd_storage_test branch from 8723c99 to 21356a2 Compare October 11, 2024 23:07
Copy link

github-actions bot commented Oct 11, 2024

PR #36036: Size comparison from 1988399 to 21356a2

Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 1988399 21356a2 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349682 1349682 0 0.0
RAM 104120 104120 0 0.0
bl702 lighting-app bl702+eth FLASH 647718 647718 0 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825204 825204 0 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053834 1053834 0 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974974 974974 0 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829492 829492 0 0.0
RAM 123452 123452 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814832 814832 0 0.0
RAM 125332 125332 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761396 761396 0 0.0
RAM 113824 113824 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745624 745624 0 0.0
RAM 114016 114016 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617154 617154 0 0.0
RAM 205908 205908 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657258 657258 0 0.0
RAM 206060 206060 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678477 678477 0 0.0
RAM 78668 78668 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655257 655257 0 0.0
RAM 73736 73736 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614805 614805 0 0.0
RAM 71628 71628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634433 634433 0 0.0
RAM 74180 74180 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634433 634433 0 0.0
RAM 74180 74180 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634125 634125 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609429 609429 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
efr32 lock-app BRD4187C FLASH 924824 924824 0 0.0
RAM 159708 159708 0 0.0
BRD4338a FLASH 741352 741344 -8 -0.0
RAM 231008 231008 0 0.0
window-app BRD4187C FLASH 1018140 1018140 0 0.0
RAM 128052 128052 0 0.0
esp32 all-clusters-app c3devkit DRAM 94248 94248 0 0.0
FLASH 1538700 1538700 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115192 115192 0 0.0
FLASH 1549010 1549010 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2781021 2781021 0 0.0
RAM 129520 129520 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085626 6085626 0 0.0
RAM 514752 514752 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418300 5418300 0 0.0
RAM 241200 241200 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751760 4751760 0 0.0
RAM 218384 218384 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780298 12781358 1060 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11397488 912 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091169 11092229 1060 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575394 4575394 0 0.0
RAM 205048 205048 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692353 5692353 0 0.0
RAM 228488 228488 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801336 4801336 0 0.0
RAM 204472 204472 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430760 4430760 0 0.0
RAM 198192 198192 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569574 4569574 0 0.0
RAM 202760 202760 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111085 3111085 0 0.0
RAM 159280 159280 0 0.0
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319488 4319488 0 0.0
RAM 242888 242888 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029669 6029669 0 0.0
RAM 588256 588256 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10979373 10979373 0 0.0
RAM 656960 656960 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914460 914460 0 0.0
RAM 142359 142359 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885276 885276 0 0.0
RAM 140498 140498 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847880 847880 0 0.0
RAM 141261 141261 0 0.0
nxp contact k32w0+release FLASH 582216 582216 0 0.0
RAM 70952 70952 0 0.0
k32w1+release FLASH 597048 597048 0 0.0
RAM 63176 63176 0 0.0
mcxw71+release FLASH 596808 596808 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 618732 618732 0 0.0
RAM 70416 70416 0 0.0
k32w1+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
mcxw71+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
lock k32w1+release FLASH 705408 705408 0 0.0
RAM 67316 67316 0 0.0
mcxw71+release FLASH 705416 705416 0 0.0
RAM 67316 67316 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646340 1646340 0 0.0
RAM 211400 211400 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552388 1552388 0 0.0
RAM 208200 208200 0 0.0
light cy8ckit_062s2_43012 FLASH 1467860 1467860 0 0.0
RAM 201200 201200 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464932 1464932 0 0.0
RAM 225560 225560 0 0.0
qpg lighting-app qpg6105+debug FLASH 660528 660528 0 0.0
RAM 105396 105396 0 0.0
lock-app qpg6105+debug FLASH 618548 618548 0 0.0
RAM 99864 99864 0 0.0
stm32 light STM32WB5MM-DK FLASH 481824 481824 0 0.0
RAM 144844 144844 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620986 620986 0 0.0
RAM 50648 50648 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688188 688188 0 0.0
RAM 148488 148488 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 781180 781180 0 0.0
RAM 110440 110440 0 0.0
bridge-app tlsr9258a FLASH 681086 681086 0 0.0
RAM 91304 91304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620750 620750 0 0.0
RAM 50600 50600 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708692 708692 0 0.0
RAM 73940 73940 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625692 625692 0 0.0
RAM 144468 144468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811452 811452 0 0.0
RAM 99100 99100 0 0.0
lock-app-dfu tlsr9528a FLASH 656656 656656 0 0.0
RAM 66660 66660 0 0.0
ota-requestor-app tlsr9258a FLASH 697064 697064 0 0.0
RAM 90896 90896 0 0.0
pump-app-usb tlsr9518adk80d FLASH 634384 634384 0 0.0
RAM 55476 55476 0 0.0
pump-controller-app tlsr9518adk80d FLASH 611574 611574 0 0.0
RAM 52720 52720 0 0.0
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627900 627900 0 0.0
RAM 52320 52320 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653706 653706 0 0.0
RAM 56268 56268 0 0.0
thermostat tlsr9518adk80d FLASH 638306 638306 0 0.0
RAM 53112 53112 0 0.0
window-covering tlsr9118bdk40d FLASH 524444 524444 0 0.0
RAM 97444 97444 0 0.0
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726772 1726772 0 0.0
RAM 89084 89084 0 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718602 17719618 1016 0.0
RAM 7714800 7715160 360 0.0

@yunhanw-google yunhanw-google force-pushed the feature/icd_storage_test branch from 21356a2 to 7334a09 Compare October 12, 2024 18:36
Copy link

github-actions bot commented Oct 12, 2024

PR #36036: Size comparison from f94fbfd to 7334a09

Full report (27 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, nxp, qpg, stm32, tizen)
platform target config section f94fbfd 7334a09 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349682 1349682 0 0.0
RAM 104120 104120 0 0.0
bl702 lighting-app bl702+eth FLASH 647718 647718 0 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825204 825204 0 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053834 1053834 0 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974974 974974 0 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829492 829492 0 0.0
RAM 123452 123452 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814832 814832 0 0.0
RAM 125332 125332 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761396 761396 0 0.0
RAM 113824 113824 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745624 745624 0 0.0
RAM 114016 114016 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617154 617154 0 0.0
RAM 205908 205908 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657258 657258 0 0.0
RAM 206060 206060 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914460 914460 0 0.0
RAM 142359 142359 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885276 885276 0 0.0
RAM 140498 140498 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847880 847880 0 0.0
RAM 141261 141261 0 0.0
nxp contact k32w0+release FLASH 582216 582216 0 0.0
RAM 70952 70952 0 0.0
k32w1+release FLASH 597048 597048 0 0.0
RAM 63176 63176 0 0.0
mcxw71+release FLASH 596808 596808 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 618732 618732 0 0.0
RAM 70416 70416 0 0.0
k32w1+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
mcxw71+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
lock k32w1+release FLASH 705408 705408 0 0.0
RAM 67316 67316 0 0.0
mcxw71+release FLASH 705416 705416 0 0.0
RAM 67316 67316 0 0.0
qpg lighting-app qpg6105+debug FLASH 660528 660528 0 0.0
RAM 105396 105396 0 0.0
lock-app qpg6105+debug FLASH 618548 618548 0 0.0
RAM 99864 99864 0 0.0
stm32 light STM32WB5MM-DK FLASH 481824 481824 0 0.0
RAM 144844 144844 0 0.0
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726772 1726772 0 0.0
RAM 89084 89084 0 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718602 17719618 1016 0.0
RAM 7714800 7715160 360 0.0

@yunhanw-google yunhanw-google force-pushed the feature/icd_storage_test branch from 7334a09 to 51fa4b6 Compare October 12, 2024 19:07
Copy link

github-actions bot commented Oct 12, 2024

PR #36036: Size comparison from f94fbfd to eb3e1f6

Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section f94fbfd eb3e1f6 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349682 1349682 0 0.0
RAM 104120 104120 0 0.0
bl702 lighting-app bl702+eth FLASH 647718 647718 0 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825204 825204 0 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053834 1053834 0 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974974 974974 0 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829492 829492 0 0.0
RAM 123452 123452 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814832 814832 0 0.0
RAM 125332 125332 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761396 761396 0 0.0
RAM 113824 113824 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745624 745624 0 0.0
RAM 114016 114016 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617154 617154 0 0.0
RAM 205908 205908 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657258 657258 0 0.0
RAM 206060 206060 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678477 678477 0 0.0
RAM 78668 78668 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655257 655257 0 0.0
RAM 73736 73736 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614805 614805 0 0.0
RAM 71628 71628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634433 634433 0 0.0
RAM 74180 74180 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634433 634433 0 0.0
RAM 74180 74180 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634125 634125 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609429 609429 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
efr32 lock-app BRD4187C FLASH 924824 924824 0 0.0
RAM 159708 159708 0 0.0
BRD4338a FLASH 741352 741344 -8 -0.0
RAM 231008 231008 0 0.0
window-app BRD4187C FLASH 1018140 1018140 0 0.0
RAM 128052 128052 0 0.0
esp32 all-clusters-app c3devkit DRAM 94248 94248 0 0.0
FLASH 1538700 1538700 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115192 115192 0 0.0
FLASH 1549010 1549010 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2781021 2781021 0 0.0
RAM 129520 129520 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085626 6085626 0 0.0
RAM 514752 514752 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418300 5418300 0 0.0
RAM 241200 241200 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751760 4751760 0 0.0
RAM 218384 218384 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780298 12781402 1104 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11397584 1008 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091169 1109230 1136 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575394 4575394 0 0.0
RAM 205048 205048 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692353 5692353 0 0.0
RAM 228488 228488 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801336 4801336 0 0.0
RAM 204472 204472 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430760 4430760 0 0.0
RAM 198192 198192 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569574 4569574 0 0.0
RAM 202760 202760 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111085 3111085 0 0.0
RAM 159280 159280 0 0.0
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319488 4319488 0 0.0
RAM 242888 242888 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029669 6029669 0 0.0
RAM 588256 588256 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10979373 10979373 0 0.0
RAM 656960 656960 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914460 914460 0 0.0
RAM 142359 142359 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885276 885276 0 0.0
RAM 140498 140498 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847880 847880 0 0.0
RAM 141261 141261 0 0.0
nxp contact k32w0+release FLASH 582216 582216 0 0.0
RAM 70952 70952 0 0.0
k32w1+release FLASH 597048 597048 0 0.0
RAM 63176 63176 0 0.0
mcxw71+release FLASH 596808 596808 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 618732 618732 0 0.0
RAM 70416 70416 0 0.0
k32w1+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
mcxw71+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
lock k32w1+release FLASH 705408 705408 0 0.0
RAM 67316 67316 0 0.0
mcxw71+release FLASH 705416 705416 0 0.0
RAM 67316 67316 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646340 1646340 0 0.0
RAM 211400 211400 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552388 1552388 0 0.0
RAM 208200 208200 0 0.0
light cy8ckit_062s2_43012 FLASH 1467860 1467860 0 0.0
RAM 201200 201200 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464932 1464932 0 0.0
RAM 225560 225560 0 0.0
qpg lighting-app qpg6105+debug FLASH 660528 660528 0 0.0
RAM 105396 105396 0 0.0
lock-app qpg6105+debug FLASH 618548 618548 0 0.0
RAM 99864 99864 0 0.0
stm32 light STM32WB5MM-DK FLASH 481824 481824 0 0.0
RAM 144844 144844 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620986 620986 0 0.0
RAM 50648 50648 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688188 688188 0 0.0
RAM 148488 148488 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 781180 781180 0 0.0
RAM 110440 110440 0 0.0
bridge-app tlsr9258a FLASH 681086 681086 0 0.0
RAM 91304 91304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620750 620750 0 0.0
RAM 50600 50600 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708692 708692 0 0.0
RAM 73940 73940 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625692 625692 0 0.0
RAM 144468 144468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811452 811452 0 0.0
RAM 99100 99100 0 0.0
lock-app-dfu tlsr9528a FLASH 656656 656656 0 0.0
RAM 66660 66660 0 0.0
ota-requestor-app tlsr9258a FLASH 697064 697064 0 0.0
RAM 90896 90896 0 0.0
pump-app-usb tlsr9518adk80d FLASH 634384 634384 0 0.0
RAM 55476 55476 0 0.0
pump-controller-app tlsr9518adk80d FLASH 611574 611574 0 0.0
RAM 52720 52720 0 0.0
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627900 627900 0 0.0
RAM 52320 52320 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653706 653706 0 0.0
RAM 56268 56268 0 0.0
thermostat tlsr9518adk80d FLASH 638306 638306 0 0.0
RAM 53112 53112 0 0.0
window-covering tlsr9118bdk40d FLASH 524444 524444 0 0.0
RAM 97444 97444 0 0.0
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726772 1726772 0 0.0
RAM 89084 89084 0 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718602 17719674 1072 0.0
RAM 7714800 7715160 360 0.0

@mergify mergify bot merged commit bf37d4e into project-chip:master Oct 12, 2024
70 checks passed
yunhanw-google added a commit to yunhanw-google/connectedhomeip that referenced this pull request Oct 12, 2024
* Improve ICDClientStorage

-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove
ICDFabricList from persistent storage, if there is at least 1 fabric in
table, we would update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric
error, and deleteEntry or deleteAllEntries needs to return no error.
-- Add multiple unit tests to cover
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* address comments

* Restyled by whitespace

* Restyled by clang-format

* address comments

* address comments and add more tests

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: mkardous-silabs <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
yunhanw-google added a commit to yunhanw-google/connectedhomeip that referenced this pull request Oct 12, 2024
* Improve ICDClientStorage

-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove
ICDFabricList from persistent storage, if there is at least 1 fabric in
table, we would update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric
error, and deleteEntry or deleteAllEntries needs to return no error.
-- Add multiple unit tests to cover
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* address comments

* Restyled by whitespace

* Restyled by clang-format

* address comments

* address comments and add more tests

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: mkardous-silabs <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
andy31415 pushed a commit that referenced this pull request Oct 15, 2024
* Improve ICDClientStorage

-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove
ICDFabricList from persistent storage, if there is at least 1 fabric in
table, we would update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric
error, and deleteEntry or deleteAllEntries needs to return no error.
-- Add multiple unit tests to cover
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics

* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* address comments

* Restyled by whitespace

* Restyled by clang-format

* address comments

* address comments and add more tests

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: mkardous-silabs <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
dinabenamar pushed a commit to NXP/matter that referenced this pull request Oct 24, 2024
…roject-chip#36055)

* Improve ICDClientStorage

-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove
ICDFabricList from persistent storage, if there is at least 1 fabric in
table, we would update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric
error, and deleteEntry or deleteAllEntries needs to return no error.
-- Add multiple unit tests to cover
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics

* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* Update DefaultICDClientStorage.cpp



* address comments

* Restyled by whitespace

* Restyled by clang-format

* address comments

* address comments and add more tests

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: mkardous-silabs <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
(cherry picked from commit 5335054)
marius-alex-tache pushed a commit to NXP/matter that referenced this pull request Nov 14, 2024
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
* Improve ICDClientStorage

-- when DeleteAllEntries is triggered, and all fabric are removed, we need remove
ICDFabricList from persistent storage, if there is at least 1 fabric in
table, we would update fabricList vector and persistent storage.
-- when fabric does not exist, storeEntry needs to return invalid fabric
error, and deleteEntry or deleteAllEntries needs to return no error.
-- Add multiple unit tests to cover
DeleteAllEntries/StoreEntry/CheckInHandling for
multiple fabrics

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* Update DefaultICDClientStorage.cpp

Co-authored-by: mkardous-silabs <[email protected]>

* address comments

* Restyled by whitespace

* Restyled by clang-format

* address comments

* address comments and add more tests

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: mkardous-silabs <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app icd Intermittently Connected Devices review - approved tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

More unit tests for corner cases for ICDStorage
4 participants