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

Update ZAP to force lists to be external-storage. #13846

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

@bzbarsky-apple bzbarsky-apple commented Jan 22, 2022

The Power Source cluster addition is because that was one of two lists
that we did not already have AttributeAccessInterface handling for
(and the other one was in a cluster that already had an
AttributeAccessInterface).

Now that we have AttributeAccessInterface for all lists, we no longer
need the fake "return an empty list" thing in
ember-compatibility-functions.cpp.

Problem

Various lists are not marked as external in ZAP config.

Change overview

Force them to be treated as external automatically no matter what the UI says. Implement a Power Source cluster to actually provide one of the lists tests try to read. Fix various other clusters' attribute access interfaces to output empty lists as needed instead of just falling back to the attribute store, since these things no longer live in the attribute store.

Testing

Should be no observable behavior changes, apart from less RAM use.

@github-actions
Copy link

github-actions bot commented Jan 22, 2022

PR #13846: Size comparison from d6b2a6b to 42bf26a

Increases above 0.2%:

platform target config section d6b2a6b 42bf26a change % change
efr32 window-app BRD4161A .data 1852 1856 4 0.2
k32w lock k32w061+release .data 1888 1892 4 0.2
p6 all-clusters-app default .data 2584 2592 8 0.3
qpg lock-app qpg6105+debug .data 988 992 4 0.4
Increases (6 builds for efr32, k32w, p6, qpg, telink)
platform target config section d6b2a6b 42bf26a change % change
efr32 window-app BRD4161A .data 1852 1856 4 0.2
k32w lock k32w061+release .data 1888 1892 4 0.2
p6 all-clusters-app default .data 2584 2592 8 0.3
lock-app default (read/write) 2299752 2299768 16 0.0
.text 1258016 1258032 16 0.0
qpg lock-app qpg6105+debug (read/write) 146936 146940 4 0.0
.data 988 992 4 0.4
telink lighting-app tlsr9518adk80d text 588346 588456 110 0.0
Decreases (14 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
platform target config section d6b2a6b 42bf26a change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
efr32 lighting-app BRD4161A (read only) 835916 835604 -312 -0.0
(read/write) 127244 126980 -264 -0.2
.bss 125344 125080 -264 -0.2
.text 835908 835596 -312 -0.0
BRD4161A+rpc (read only) 823336 823000 -336 -0.0
(read/write) 143904 143640 -264 -0.2
.bss 141904 141640 -264 -0.2
.text 823328 822992 -336 -0.0
window-app BRD4161A (read/write) 125812 125560 -252 -0.2
.bss 123960 123704 -256 -0.2
k32w light k32w061+release (read/write) 660556 660084 -472 -0.1
.bss 76608 76336 -272 -0.4
.text 576280 576080 -200 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8521332 8521108 -224 -0.0
.rodata 436460 436444 -16 -0.0
.text 7246436 7246228 -208 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
p6 all-clusters-app default (read/write) 2410472 2407400 -3072 -0.1
.bss 117756 114420 -3336 -2.8
.text 1368736 1365664 -3072 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.text 1289000 1288680 -320 -0.0
lock-app default .bss 104392 104144 -248 -0.2
qpg lighting-app qpg6105+debug (read only) 567428 567224 -204 -0.0
.bss 89688 89416 -272 -0.3
.text 562108 561904 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
.bss 88256 88008 -248 -0.3
.text 510584 510516 -68 -0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
Full report (15 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
platform target config section d6b2a6b 42bf26a change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835916 835604 -312 -0.0
(read/write) 127244 126980 -264 -0.2
.bss 125344 125080 -264 -0.2
.data 1900 1900 0 0.0
.text 835908 835596 -312 -0.0
BRD4161A+rpc (read only) 823336 823000 -336 -0.0
(read/write) 143904 143640 -264 -0.2
.bss 141904 141640 -264 -0.2
.data 2000 2000 0 0.0
.text 823328 822992 -336 -0.0
window-app BRD4161A (read only) 806476 806476 0 0.0
(read/write) 125812 125560 -252 -0.2
.bss 123960 123704 -256 -0.2
.data 1852 1856 4 0.2
.text 806468 806468 0 0.0
k32w light k32w061+release (read/write) 660556 660084 -472 -0.1
.bss 76608 76336 -272 -0.4
.data 1868 1868 0 0.0
.text 576280 576080 -200 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.data 1888 1892 4 0.2
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8521332 8521108 -224 -0.0
(read/write) 390753 390753 0 0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 260872 260872 0 0.0
.dynamic 560 560 0 0.0
.got 68952 68952 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436460 436444 -16 -0.0
.text 7246436 7246228 -208 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
p6 all-clusters-app default (read/write) 2410472 2407400 -3072 -0.1
.bss 117756 114420 -3336 -2.8
.data 2584 2592 8 0.3
.text 1368736 1365664 -3072 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.data 2408 2408 0 0.0
.text 1289000 1288680 -320 -0.0
lock-app default (read/write) 2299752 2299768 16 0.0
.bss 104392 104144 -248 -0.2
.data 2360 2360 0 0.0
.text 1258016 1258032 16 0.0
qpg lighting-app qpg6105+debug (read only) 567428 567224 -204 -0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89416 -272 -0.3
.data 1064 1064 0 0.0
.text 562108 561904 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
(read/write) 146936 146940 4 0.0
.bss 88256 88008 -248 -0.3
.data 988 992 4 0.4
.text 510584 510516 -68 -0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
noinit 37160 37160 0 0.0
text 588346 588456 110 0.0

@github-actions
Copy link

github-actions bot commented Jan 22, 2022

PR #13846: Size comparison from d6b2a6b to c187d97

Increases above 0.2%:

platform target config section d6b2a6b c187d97 change % change
efr32 window-app BRD4161A .data 1852 1856 4 0.2
p6 all-clusters-app default .data 2584 2592 8 0.3
qpg lock-app qpg6105+debug .data 988 992 4 0.4
Increases (6 builds for efr32, k32w, p6, qpg, telink)
platform target config section d6b2a6b c187d97 change % change
efr32 window-app BRD4161A .data 1852 1856 4 0.2
k32w lock k32w061+release .data 1888 1892 4 0.2
p6 all-clusters-app default .data 2584 2592 8 0.3
lock-app default (read/write) 2299752 2299768 16 0.0
.text 1258016 1258032 16 0.0
qpg lock-app qpg6105+debug (read/write) 146936 146940 4 0.0
.data 988 992 4 0.4
telink lighting-app tlsr9518adk80d text 588346 588456 110 0.0
Decreases (14 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
platform target config section d6b2a6b c187d97 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
efr32 lighting-app BRD4161A (read only) 835916 835604 -312 -0.0
(read/write) 127244 126980 -264 -0.2
.bss 125344 125080 -264 -0.2
.text 835908 835596 -312 -0.0
BRD4161A+rpc (read only) 823336 823000 -336 -0.0
(read/write) 143904 143640 -264 -0.2
.bss 141904 141640 -264 -0.2
.text 823328 822992 -336 -0.0
window-app BRD4161A (read/write) 125812 125560 -252 -0.2
.bss 123960 123704 -256 -0.2
k32w light k32w061+release (read/write) 660556 660084 -472 -0.1
.bss 76608 76336 -272 -0.4
.text 576280 576080 -200 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8521332 8521108 -224 -0.0
.rodata 436460 436444 -16 -0.0
.text 7246436 7246228 -208 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
p6 all-clusters-app default (read/write) 2410472 2407432 -3040 -0.1
.bss 117756 114420 -3336 -2.8
.text 1368736 1365696 -3040 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.text 1289000 1288680 -320 -0.0
lock-app default .bss 104392 104144 -248 -0.2
qpg lighting-app qpg6105+debug (read only) 567428 567224 -204 -0.0
.bss 89688 89416 -272 -0.3
.text 562108 561904 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
.bss 88256 88008 -248 -0.3
.text 510584 510516 -68 -0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
Full report (15 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
platform target config section d6b2a6b c187d97 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835916 835604 -312 -0.0
(read/write) 127244 126980 -264 -0.2
.bss 125344 125080 -264 -0.2
.data 1900 1900 0 0.0
.text 835908 835596 -312 -0.0
BRD4161A+rpc (read only) 823336 823000 -336 -0.0
(read/write) 143904 143640 -264 -0.2
.bss 141904 141640 -264 -0.2
.data 2000 2000 0 0.0
.text 823328 822992 -336 -0.0
window-app BRD4161A (read only) 806476 806476 0 0.0
(read/write) 125812 125560 -252 -0.2
.bss 123960 123704 -256 -0.2
.data 1852 1856 4 0.2
.text 806468 806468 0 0.0
k32w light k32w061+release (read/write) 660556 660084 -472 -0.1
.bss 76608 76336 -272 -0.4
.data 1868 1868 0 0.0
.text 576280 576080 -200 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.data 1888 1892 4 0.2
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8521332 8521108 -224 -0.0
(read/write) 390753 390753 0 0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 260872 260872 0 0.0
.dynamic 560 560 0 0.0
.got 68952 68952 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436460 436444 -16 -0.0
.text 7246436 7246228 -208 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
p6 all-clusters-app default (read/write) 2410472 2407432 -3040 -0.1
.bss 117756 114420 -3336 -2.8
.data 2584 2592 8 0.3
.text 1368736 1365696 -3040 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.data 2408 2408 0 0.0
.text 1289000 1288680 -320 -0.0
lock-app default (read/write) 2299752 2299768 16 0.0
.bss 104392 104144 -248 -0.2
.data 2360 2360 0 0.0
.text 1258016 1258032 16 0.0
qpg lighting-app qpg6105+debug (read only) 567428 567224 -204 -0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89416 -272 -0.3
.data 1064 1064 0 0.0
.text 562108 561904 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
(read/write) 146936 146940 4 0.0
.bss 88256 88008 -248 -0.3
.data 988 992 4 0.4
.text 510584 510516 -68 -0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
noinit 37160 37160 0 0.0
text 588346 588456 110 0.0

@bzbarsky-apple bzbarsky-apple force-pushed the zap-update-storage-policy branch from c187d97 to c3eef3c Compare January 22, 2022 09:49
@github-actions
Copy link

github-actions bot commented Jan 22, 2022

PR #13846: Size comparison from d6b2a6b to c3eef3c

Increases above 0.2%:

platform target config section d6b2a6b c3eef3c change % change
p6 all-clusters-app default .data 2584 2592 8 0.3
qpg lock-app qpg6105+debug .data 988 992 4 0.4
Increases (16 builds for esp32, k32w, mbed, nrfconnect, p6, qpg, telink)
platform target config section d6b2a6b c3eef3c change % change
esp32 all-clusters-app c3devkit (read only) 918584 918754 170 0.0
.flash.text 918584 918754 170 0.0
m5stack (read only) 967091 967283 192 0.0
.flash.text 961707 961899 192 0.0
k32w lock k32w061+release .data 1888 1892 4 0.2
mbed lock-app CY8CPROTO_062_4343W+release .data 5560 5568 8 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 text 637312 637388 76 0.0
nrf52840dk_nrf52840+rpc text 632708 632780 72 0.0
nrf52840dongle_nrf52840 text 669512 669584 72 0.0
nrf5340dk_nrf5340_cpuapp text 554232 554308 76 0.0
lock-app nrf52840dk_nrf52840 text 612756 612940 184 0.0
nrf5340dk_nrf5340_cpuapp text 529712 529896 184 0.0
pump-app nrf52840dk_nrf52840 text 615404 615476 72 0.0
pump-controller-app nrf52840dk_nrf52840 text 611428 611504 76 0.0
p6 all-clusters-app default .data 2584 2592 8 0.3
lock-app default (read/write) 2299752 2299768 16 0.0
.text 1258016 1258032 16 0.0
qpg lock-app qpg6105+debug (read/write) 146936 146940 4 0.0
.data 988 992 4 0.4
telink lighting-app tlsr9518adk80d text 588346 588456 110 0.0
Decreases (24 builds for cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section d6b2a6b c3eef3c change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
esp32 all-clusters-app c3devkit (read/write) 1383418 1376762 -6656 -0.5
.dram0.bss 70704 67368 -3336 -4.7
.flash.rodata 179344 176016 -3328 -1.9
m5stack (read/write) 449836 443184 -6652 -1.5
.dram0.bss 75168 71840 -3328 -4.4
.flash.rodata 208508 205184 -3324 -1.6
k32w light k32w061+release (read/write) 660556 660084 -472 -0.1
.bss 76608 76336 -272 -0.4
.text 576280 576080 -200 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8521332 8521108 -224 -0.0
.rodata 436460 436444 -16 -0.0
.text 7246436 7246228 -208 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2352184 2349112 -3072 -0.1
.bss 189412 186076 -3336 -1.8
.text 1314760 1311688 -3072 -0.2
lighting-app CY8CPROTO_062_4343W+release (read/write) 2334408 2334200 -208 -0.0
.bss 180960 180696 -264 -0.1
.text 1297008 1296800 -208 -0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304760 2304704 -56 -0.0
.bss 179960 179704 -256 -0.1
.text 1267360 1267304 -56 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942879 942391 -488 -0.1
bss 119044 118776 -268 -0.2
rodata 108916 108652 -264 -0.2
nrf52840dk_nrf52840+rpc (read/write) 928347 927903 -444 -0.0
bss 116088 115820 -268 -0.2
rodata 101368 101100 -268 -0.3
nrf52840dongle_nrf52840 (read/write) 993527 993067 -460 -0.0
bss 121884 121620 -264 -0.2
rodata 113672 113404 -268 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 852706 852250 -456 -0.1
bss 115828 115564 -264 -0.2
rodata 102092 101828 -264 -0.3
lock-app nrf52840dk_nrf52840 (read/write) 912223 911919 -304 -0.0
bss 118196 117948 -248 -0.2
rodata 103884 103644 -240 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 822294 821986 -308 -0.0
bss 115016 114764 -252 -0.2
rodata 97112 96868 -244 -0.3
pump-app nrf52840dk_nrf52840 (read/write) 915083 914607 -476 -0.1
bss 117960 117696 -264 -0.2
rodata 104248 103980 -268 -0.3
pump-controller-app nrf52840dk_nrf52840 (read/write) 910267 909823 -444 -0.0
bss 117984 117720 -264 -0.2
rodata 103400 103132 -268 -0.3
p6 all-clusters-app default (read/write) 2410472 2407448 -3024 -0.1
.bss 117756 114420 -3336 -2.8
.text 1368736 1365712 -3024 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.text 1289000 1288680 -320 -0.0
lock-app default .bss 104392 104144 -248 -0.2
qpg lighting-app qpg6105+debug (read only) 567428 567224 -204 -0.0
.bss 89688 89416 -272 -0.3
.text 562108 561904 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
.bss 88256 88008 -248 -0.3
.text 510584 510516 -68 -0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
Full report (30 builds for cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section d6b2a6b c3eef3c change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
esp32 all-clusters-app c3devkit (read only) 918584 918754 170 0.0
(read/write) 1383418 1376762 -6656 -0.5
.dram0.bss 70704 67368 -3336 -4.7
.dram0.data 14252 14252 0 0.0
.flash.rodata 179344 176016 -3328 -1.9
.flash.text 918584 918754 170 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 967091 967283 192 0.0
(read/write) 449836 443184 -6652 -1.5
.dram0.bss 75168 71840 -3328 -4.4
.dram0.data 34032 34032 0 0.0
.flash.rodata 208508 205184 -3324 -1.6
.flash.text 961707 961899 192 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 660556 660084 -472 -0.1
.bss 76608 76336 -272 -0.4
.data 1868 1868 0 0.0
.text 576280 576080 -200 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.data 1888 1892 4 0.2
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8521332 8521108 -224 -0.0
(read/write) 390753 390753 0 0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 260872 260872 0 0.0
.dynamic 560 560 0 0.0
.got 68952 68952 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436460 436444 -16 -0.0
.text 7246436 7246228 -208 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2352184 2349112 -3072 -0.1
.bss 189412 186076 -3336 -1.8
.data 5304 5304 0 0.0
.text 1314760 1311688 -3072 -0.2
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334408 2334200 -208 -0.0
.bss 180960 180696 -264 -0.1
.data 5584 5584 0 0.0
.text 1297008 1296800 -208 -0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304760 2304704 -56 -0.0
.bss 179960 179704 -256 -0.1
.data 5560 5568 8 0.1
.text 1267360 1267304 -56 -0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054256 2054256 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1016856 1016856 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942879 942391 -488 -0.1
bss 119044 118776 -268 -0.2
rodata 108916 108652 -264 -0.2
text 637312 637388 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 928347 927903 -444 -0.0
bss 116088 115820 -268 -0.2
rodata 101368 101100 -268 -0.3
text 632708 632780 72 0.0
nrf52840dongle_nrf52840 (read/write) 993527 993067 -460 -0.0
bss 121884 121620 -264 -0.2
rodata 113672 113404 -268 -0.2
text 669512 669584 72 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852706 852250 -456 -0.1
bss 115828 115564 -264 -0.2
rodata 102092 101828 -264 -0.3
text 554232 554308 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912223 911919 -304 -0.0
bss 118196 117948 -248 -0.2
rodata 103884 103644 -240 -0.2
text 612756 612940 184 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822294 821986 -308 -0.0
bss 115016 114764 -252 -0.2
rodata 97112 96868 -244 -0.3
text 529712 529896 184 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915083 914607 -476 -0.1
bss 117960 117696 -264 -0.2
rodata 104248 103980 -268 -0.3
text 615404 615476 72 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910267 909823 -444 -0.0
bss 117984 117720 -264 -0.2
rodata 103400 103132 -268 -0.3
text 611428 611504 76 0.0
shell nrf52840dk_nrf52840 (read/write) 798527 798527 0 0.0
bss 109776 109776 0 0.0
rodata 78324 78324 0 0.0
text 533928 533928 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711342 711342 0 0.0
bss 107664 107664 0 0.0
rodata 72624 72624 0 0.0
text 451608 451608 0 0.0
p6 all-clusters-app default (read/write) 2410472 2407448 -3024 -0.1
.bss 117756 114420 -3336 -2.8
.data 2584 2592 8 0.3
.text 1368736 1365712 -3024 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.data 2408 2408 0 0.0
.text 1289000 1288680 -320 -0.0
lock-app default (read/write) 2299752 2299768 16 0.0
.bss 104392 104144 -248 -0.2
.data 2360 2360 0 0.0
.text 1258016 1258032 16 0.0
qpg lighting-app qpg6105+debug (read only) 567428 567224 -204 -0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89416 -272 -0.3
.data 1064 1064 0 0.0
.text 562108 561904 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
(read/write) 146936 146940 4 0.0
.bss 88256 88008 -248 -0.3
.data 988 992 4 0.4
.text 510584 510516 -68 -0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
noinit 37160 37160 0 0.0
text 588346 588456 110 0.0

The Power Source cluster addition is because that was one of two lists
that we did not already have AttributeAccessInterface handling for
(and the other one was in a cluster that already had an
AttributeAccessInterface).

Now that we have AttributeAccessInterface for all lists, we no longer
need the fake "return an empty list" thing in
ember-compatibility-functions.cpp.
@bzbarsky-apple bzbarsky-apple force-pushed the zap-update-storage-policy branch from c3eef3c to 3dce09c Compare January 24, 2022 05:48
@boring-cyborg boring-cyborg bot added the darwin label Jan 24, 2022
@github-actions
Copy link

github-actions bot commented Jan 24, 2022

PR #13846: Size comparison from 5227f3e to 3dce09c

Increases above 0.2%:

platform target config section 5227f3e 3dce09c change % change
p6 all-clusters-app default .data 2584 2592 8 0.3
qpg lock-app qpg6105+debug .data 988 992 4 0.4
Increases (17 builds for efr32, esp32, k32w, mbed, nrfconnect, p6, qpg, telink)
platform target config section 5227f3e 3dce09c change % change
efr32 window-app BRD4161A .data 1852 1856 4 0.2
esp32 all-clusters-app c3devkit (read only) 918984 919290 306 0.0
.flash.text 918984 919290 306 0.0
m5stack (read only) 967431 967739 308 0.0
.flash.text 962047 962355 308 0.0
k32w lock k32w061+release .data 1888 1892 4 0.2
mbed lock-app CY8CPROTO_062_4343W+release .data 5560 5568 8 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 text 637312 637388 76 0.0
nrf52840dk_nrf52840+rpc text 632708 632780 72 0.0
nrf52840dongle_nrf52840 text 669512 669584 72 0.0
nrf5340dk_nrf5340_cpuapp text 554232 554308 76 0.0
lock-app nrf52840dk_nrf52840 text 612756 612940 184 0.0
nrf5340dk_nrf5340_cpuapp text 529712 529896 184 0.0
pump-app nrf52840dk_nrf52840 text 615404 615476 72 0.0
pump-controller-app nrf52840dk_nrf52840 text 611428 611504 76 0.0
p6 all-clusters-app default .data 2584 2592 8 0.3
lock-app default (read/write) 2299752 2299768 16 0.0
.text 1258016 1258032 16 0.0
qpg lock-app qpg6105+debug (read/write) 146936 146940 4 0.0
.data 988 992 4 0.4
telink lighting-app tlsr9518adk80d text 588346 588456 110 0.0
Decreases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 5227f3e 3dce09c change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
efr32 lighting-app BRD4161A (read only) 835916 835604 -312 -0.0
(read/write) 127244 126980 -264 -0.2
.bss 125344 125080 -264 -0.2
.text 835908 835596 -312 -0.0
BRD4161A+rpc (read only) 823336 823000 -336 -0.0
(read/write) 143904 143640 -264 -0.2
.bss 141904 141640 -264 -0.2
.text 823328 822992 -336 -0.0
window-app BRD4161A (read/write) 125812 125560 -252 -0.2
.bss 123960 123704 -256 -0.2
esp32 all-clusters-app c3devkit (read/write) 1383434 1376714 -6720 -0.5
.dram0.bss 70720 67384 -3336 -4.7
.flash.rodata 179344 175952 -3392 -1.9
m5stack (read/write) 449852 443136 -6716 -1.5
.dram0.bss 75184 71856 -3328 -4.4
.flash.rodata 208508 205120 -3388 -1.6
k32w light k32w061+release (read/write) 660588 660132 -456 -0.1
.bss 76608 76336 -272 -0.4
.text 576312 576128 -184 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8536964 8536756 -208 -0.0
.rodata 436908 436892 -16 -0.0
.text 7261028 7260836 -192 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2352184 2349080 -3104 -0.1
.bss 189428 186092 -3336 -1.8
.text 1314760 1311656 -3104 -0.2
lighting-app CY8CPROTO_062_4343W+release (read/write) 2334408 2334200 -208 -0.0
.bss 180960 180696 -264 -0.1
.text 1297008 1296800 -208 -0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304760 2304704 -56 -0.0
.bss 179960 179704 -256 -0.1
.text 1267360 1267304 -56 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942879 942391 -488 -0.1
bss 119044 118776 -268 -0.2
rodata 108916 108652 -264 -0.2
nrf52840dk_nrf52840+rpc (read/write) 928347 927903 -444 -0.0
bss 116088 115820 -268 -0.2
rodata 101368 101100 -268 -0.3
nrf52840dongle_nrf52840 (read/write) 993527 993067 -460 -0.0
bss 121884 121620 -264 -0.2
rodata 113672 113404 -268 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 852706 852250 -456 -0.1
bss 115828 115564 -264 -0.2
rodata 102092 101828 -264 -0.3
lock-app nrf52840dk_nrf52840 (read/write) 912223 911919 -304 -0.0
bss 118196 117948 -248 -0.2
rodata 103884 103644 -240 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 822294 821986 -308 -0.0
bss 115016 114764 -252 -0.2
rodata 97112 96868 -244 -0.3
pump-app nrf52840dk_nrf52840 (read/write) 915083 914607 -476 -0.1
bss 117960 117696 -264 -0.2
rodata 104248 103980 -268 -0.3
pump-controller-app nrf52840dk_nrf52840 (read/write) 910267 909823 -444 -0.0
bss 117984 117720 -264 -0.2
rodata 103400 103132 -268 -0.3
p6 all-clusters-app default (read/write) 2410664 2407688 -2976 -0.1
.bss 117772 114436 -3336 -2.8
.text 1368928 1365952 -2976 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.text 1289000 1288680 -320 -0.0
lock-app default .bss 104392 104144 -248 -0.2
qpg lighting-app qpg6105+debug (read only) 567476 567272 -204 -0.0
.bss 89688 89416 -272 -0.3
.text 562156 561952 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
.bss 88256 88008 -248 -0.3
.text 510584 510516 -68 -0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
Full report (33 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 5227f3e 3dce09c change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 573930 -460 -0.1
.app_xip_area 479404 479216 -188 -0.0
.bss 77724 77452 -272 -0.3
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835916 835604 -312 -0.0
(read/write) 127244 126980 -264 -0.2
.bss 125344 125080 -264 -0.2
.data 1900 1900 0 0.0
.text 835908 835596 -312 -0.0
BRD4161A+rpc (read only) 823336 823000 -336 -0.0
(read/write) 143904 143640 -264 -0.2
.bss 141904 141640 -264 -0.2
.data 2000 2000 0 0.0
.text 823328 822992 -336 -0.0
window-app BRD4161A (read only) 806476 806476 0 0.0
(read/write) 125812 125560 -252 -0.2
.bss 123960 123704 -256 -0.2
.data 1852 1856 4 0.2
.text 806468 806468 0 0.0
esp32 all-clusters-app c3devkit (read only) 918984 919290 306 0.0
(read/write) 1383434 1376714 -6720 -0.5
.dram0.bss 70720 67384 -3336 -4.7
.dram0.data 14252 14252 0 0.0
.flash.rodata 179344 175952 -3392 -1.9
.flash.text 918984 919290 306 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 967431 967739 308 0.0
(read/write) 449852 443136 -6716 -1.5
.dram0.bss 75184 71856 -3328 -4.4
.dram0.data 34032 34032 0 0.0
.flash.rodata 208508 205120 -3388 -1.6
.flash.text 962047 962355 308 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 660588 660132 -456 -0.1
.bss 76608 76336 -272 -0.4
.data 1868 1868 0 0.0
.text 576312 576128 -184 -0.0
lock k32w061+release (read/write) 661312 661000 -312 -0.0
.bss 76848 76600 -248 -0.3
.data 1888 1892 4 0.2
.text 576776 576708 -68 -0.0
linux chip-tool-ipv6only arm64 (read only) 8536964 8536756 -208 -0.0
(read/write) 391009 391009 0 0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 261032 261032 0 0.0
.dynamic 560 560 0 0.0
.got 69056 69056 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436908 436892 -16 -0.0
.text 7261028 7260836 -192 -0.0
thermostat-no-ble arm64 (read only) 2051916 2050860 -1056 -0.1
(read/write) 145697 144929 -768 -0.5
.bss 64785 64017 -768 -1.2
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130700 129916 -784 -0.6
.text 1706720 1706544 -176 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2352184 2349080 -3104 -0.1
.bss 189428 186092 -3336 -1.8
.data 5304 5304 0 0.0
.text 1314760 1311656 -3104 -0.2
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334408 2334200 -208 -0.0
.bss 180960 180696 -264 -0.1
.data 5584 5584 0 0.0
.text 1297008 1296800 -208 -0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304760 2304704 -56 -0.0
.bss 179960 179704 -256 -0.1
.data 5560 5568 8 0.1
.text 1267360 1267304 -56 -0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054256 2054256 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1016856 1016856 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942879 942391 -488 -0.1
bss 119044 118776 -268 -0.2
rodata 108916 108652 -264 -0.2
text 637312 637388 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 928347 927903 -444 -0.0
bss 116088 115820 -268 -0.2
rodata 101368 101100 -268 -0.3
text 632708 632780 72 0.0
nrf52840dongle_nrf52840 (read/write) 993527 993067 -460 -0.0
bss 121884 121620 -264 -0.2
rodata 113672 113404 -268 -0.2
text 669512 669584 72 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852706 852250 -456 -0.1
bss 115828 115564 -264 -0.2
rodata 102092 101828 -264 -0.3
text 554232 554308 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912223 911919 -304 -0.0
bss 118196 117948 -248 -0.2
rodata 103884 103644 -240 -0.2
text 612756 612940 184 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822294 821986 -308 -0.0
bss 115016 114764 -252 -0.2
rodata 97112 96868 -244 -0.3
text 529712 529896 184 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915083 914607 -476 -0.1
bss 117960 117696 -264 -0.2
rodata 104248 103980 -268 -0.3
text 615404 615476 72 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910267 909823 -444 -0.0
bss 117984 117720 -264 -0.2
rodata 103400 103132 -268 -0.3
text 611428 611504 76 0.0
shell nrf52840dk_nrf52840 (read/write) 798527 798527 0 0.0
bss 109776 109776 0 0.0
rodata 78324 78324 0 0.0
text 533928 533928 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711342 711342 0 0.0
bss 107664 107664 0 0.0
rodata 72624 72624 0 0.0
text 451608 451608 0 0.0
p6 all-clusters-app default (read/write) 2410664 2407688 -2976 -0.1
.bss 117772 114436 -3336 -2.8
.data 2584 2592 8 0.3
.text 1368928 1365952 -2976 -0.2
light-app default (read/write) 2330736 2330416 -320 -0.0
.bss 105544 105272 -272 -0.3
.data 2408 2408 0 0.0
.text 1289000 1288680 -320 -0.0
lock-app default (read/write) 2299752 2299768 16 0.0
.bss 104392 104144 -248 -0.2
.data 2360 2360 0 0.0
.text 1258016 1258032 16 0.0
qpg lighting-app qpg6105+debug (read only) 567476 567272 -204 -0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89416 -272 -0.3
.data 1064 1064 0 0.0
.text 562156 561952 -204 -0.0
lock-app qpg6105+debug (read only) 515904 515836 -68 -0.0
(read/write) 146936 146940 4 0.0
.bss 88256 88008 -248 -0.3
.data 988 992 4 0.4
.text 510584 510516 -68 -0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841274 -444 -0.1
bss 87492 87224 -268 -0.3
noinit 37160 37160 0 0.0
text 588346 588456 110 0.0

@andy31415
Copy link
Contributor

fast track: change by domain owner, has been up sufficiently for cross timezone review.

@andy31415 andy31415 merged commit 42f0433 into project-chip:master Jan 24, 2022
@bzbarsky-apple bzbarsky-apple deleted the zap-update-storage-policy branch January 24, 2022 20:47
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Jan 28, 2022
The Power Source cluster addition is because that was one of two lists
that we did not already have AttributeAccessInterface handling for
(and the other one was in a cluster that already had an
AttributeAccessInterface).

Now that we have AttributeAccessInterface for all lists, we no longer
need the fake "return an empty list" thing in
ember-compatibility-functions.cpp.
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Feb 24, 2022
project-chip#13609 had a bad
merge and ended up reverting part of
project-chip#13846.

This just restores the reverted bits, so we go back to forcing lists
to be external storage.
andy31415 pushed a commit that referenced this pull request Feb 24, 2022
#13609 had a bad
merge and ended up reverting part of
#13846.

This just restores the reverted bits, so we go back to forcing lists
to be external storage.
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