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

Fix clusterStateCache dataVersion bug #18593

Conversation

yunhanw-google
Copy link
Contributor

@yunhanw-google yunhanw-google commented May 19, 2022

Problem

We cannot handle dataVersion cache for two paths: (E1, C1, wildcard), (wildcard, C1, A1).

Change overview

if there exists any path in the request that references a specific attribute, remove affacted wildcard cluster attribute in requestPathSet used in cached so that we would not cache the dataVersion for all clusters affected by that attribute.
note: in the worst case, referencing a global attribute in any path in the request with wildcard for cluster would effectively disable all data version caching

Testing

Add the test with paths (E1, C1, wildcard), (wildcard, C1, A1), we would not cache the version for E1C1

@github-actions
Copy link

github-actions bot commented May 19, 2022

PR #18593: Size comparison from 70e259c to 29dd861

Increases (1 build for linux)
platform target config section 70e259c 29dd861 change % change
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9078228 9079348 1120 0.0
.text 7169076 7170196 1120 0.0
Full report (21 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 70e259c 29dd861 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 625570 625570 0 0.0
.app_xip_area 529184 529184 0 0.0
.bss 79028 79028 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 628542 628542 0 0.0
.app_xip_area 533612 533612 0 0.0
.bss 77604 77604 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570998 570998 0 0.0
.app_xip_area 466352 466352 0 0.0
.bss 87024 87024 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 917676 917676 0 0.0
(read/write) 133244 133244 0 0.0
.bss 131184 131184 0 0.0
.data 2060 2060 0 0.0
.text 917668 917668 0 0.0
BRD4161A+rpc (read only) 951848 951848 0 0.0
(read/write) 149928 149928 0 0.0
.bss 147664 147664 0 0.0
.data 2264 2264 0 0.0
.text 951840 951840 0 0.0
BRD4161A+rs911x (read only) 791140 791140 0 0.0
(read/write) 129512 129512 0 0.0
.bss 127444 127444 0 0.0
.data 2068 2068 0 0.0
.text 791132 791132 0 0.0
lock-app BRD4161A+wf200 (read only) 947140 947140 0 0.0
(read/write) 123996 123996 0 0.0
.bss 121972 121972 0 0.0
.data 2024 2024 0 0.0
.text 947132 947132 0 0.0
window-app BRD4161A (read only) 897796 897796 0 0.0
(read/write) 133304 133304 0 0.0
.bss 131256 131256 0 0.0
.data 2048 2048 0 0.0
.text 897788 897788 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000894 1000894 0 0.0
(read/write) 1478218 1478218 0 0.0
.dram0.bss 68208 68208 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 209960 209960 0 0.0
.flash.text 1000894 1000894 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1056019 1056019 0 0.0
(read/write) 480212 480212 0 0.0
.dram0.bss 73728 73728 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 240288 240288 0 0.0
.flash.text 1050635 1050635 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 683032 683032 0 0.0
.bss 80224 80224 0 0.0
.data 2016 2016 0 0.0
.text 599088 599088 0 0.0
lock k32w061+release (read/write) 729608 729608 0 0.0
.bss 80656 80656 0 0.0
.data 1976 1976 0 0.0
.text 645272 645272 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9078228 9079348 1120 0.0
(read/write) 646209 646209 0 0.0
.bss 42209 42209 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583944 583944 0 0.0
.dynamic 560 560 0 0.0
.got 15016 15016 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 444948 444948 0 0.0
.text 7169076 7170196 1120 0.0
thermostat-no-ble arm64 (read only) 2353036 2353036 0 0.0
(read/write) 176289 176289 0 0.0
.bss 87585 87585 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79376 79376 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147244 147244 0 0.0
.text 1975808 1975808 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2420736 2420736 0 0.0
.bss 202668 202668 0 0.0
.data 5872 5872 0 0.0
.text 1383380 1383380 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181151 1181151 0 0.0
bss 138380 138380 0 0.0
rodata 153176 153176 0 0.0
text 810720 810720 0 0.0
p6 all-clusters-app default (read/write) 2539096 2539096 0 0.0
.bss 136176 136176 0 0.0
.data 2808 2808 0 0.0
.text 1497360 1497360 0 0.0
light-app default (read/write) 2425512 2425512 0 0.0
.bss 129488 129488 0 0.0
.data 2608 2608 0 0.0
.text 1383776 1383776 0 0.0
lock-app default (read/write) 2436224 2436224 0 0.0
.bss 129304 129304 0 0.0
.data 2568 2568 0 0.0
.text 1394488 1394488 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 782752 782752 0 0.0
bss 70608 70608 0 0.0
noinit 40416 40416 0 0.0
text 553478 553478 0 0.0
lighting-app tlsr9518adk80d (read/write) 802844 802844 0 0.0
bss 70864 70864 0 0.0
noinit 40416 40416 0 0.0
text 570244 570244 0 0.0

@yunhanw-google yunhanw-google force-pushed the feature/not_cache_if_specific_attribute branch from 29dd861 to 60f5883 Compare May 19, 2022 17:50
@github-actions
Copy link

github-actions bot commented May 19, 2022

PR #18593: Size comparison from 3ef81a8 to 60f5883

Increases (3 builds for linux)
platform target config section 3ef81a8 60f5883 change % change
linux chip-tool debug (read only) 9305573 9306581 1008 0.0
.text 7497797 7498805 1008 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9077540 9078660 1120 0.0
.text 7169844 7170964 1120 0.0
tv-app debug (read only) 2854489 2855481 992 0.0
.text 2451266 2452258 992 0.0
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3ef81a8 60f5883 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667211 667211 0 0.0
(read/write) 183468 183468 0 0.0
.bss 73660 73660 0 0.0
.data 3404 3404 0 0.0
.rodata 100051 100051 0 0.0
.text 566932 566932 0 0.0
lock-ftd LP_CC2652R7 (read only) 677215 677215 0 0.0
(read/write) 165440 165440 0 0.0
.bss 72692 72692 0 0.0
.data 3236 3236 0 0.0
.rodata 94831 94831 0 0.0
.text 581900 581900 0 0.0
lock-mtd LP_CC2652R7 (read only) 626039 626039 0 0.0
(read/write) 145524 145524 0 0.0
.bss 68428 68428 0 0.0
.data 3236 3236 0 0.0
.rodata 94719 94719 0 0.0
.text 530828 530828 0 0.0
pump-app LP_CC2652R7 (read only) 659443 659443 0 0.0
(read/write) 184492 184492 0 0.0
.bss 72948 72948 0 0.0
.data 3268 3268 0 0.0
.rodata 79347 79347 0 0.0
.text 579616 579616 0 0.0
pump-controller-app LP_CC2652R7 (read only) 653947 653947 0 0.0
(read/write) 189796 189796 0 0.0
.bss 73012 73012 0 0.0
.data 3232 3232 0 0.0
.rodata 83459 83459 0 0.0
.text 570008 570008 0 0.0
shell LP_CC2652R7 (read only) 660278 660278 0 0.0
(read/write) 185960 185960 0 0.0
.bss 76020 76020 0 0.0
.data 3408 3408 0 0.0
.rodata 97006 97006 0 0.0
.text 563048 563048 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 625230 625230 0 0.0
.app_xip_area 528844 528844 0 0.0
.bss 79028 79028 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 628034 628034 0 0.0
.app_xip_area 533104 533104 0 0.0
.bss 77604 77604 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570986 570986 0 0.0
.app_xip_area 466340 466340 0 0.0
.bss 87024 87024 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 917676 917676 0 0.0
(read/write) 133244 133244 0 0.0
.bss 131184 131184 0 0.0
.data 2060 2060 0 0.0
.text 917668 917668 0 0.0
BRD4161A+rpc (read only) 951848 951848 0 0.0
(read/write) 149928 149928 0 0.0
.bss 147664 147664 0 0.0
.data 2264 2264 0 0.0
.text 951840 951840 0 0.0
BRD4161A+rs911x (read only) 791204 791204 0 0.0
(read/write) 129512 129512 0 0.0
.bss 127444 127444 0 0.0
.data 2068 2068 0 0.0
.text 791196 791196 0 0.0
lock-app BRD4161A+wf200 (read only) 947200 947200 0 0.0
(read/write) 123996 123996 0 0.0
.bss 121972 121972 0 0.0
.data 2024 2024 0 0.0
.text 947192 947192 0 0.0
window-app BRD4161A (read only) 897788 897788 0 0.0
(read/write) 133304 133304 0 0.0
.bss 131256 131256 0 0.0
.data 2048 2048 0 0.0
.text 897780 897780 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000948 1000948 0 0.0
(read/write) 1477874 1477874 0 0.0
.dram0.bss 68216 68216 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 209600 209600 0 0.0
.flash.text 1000948 1000948 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1056219 1056219 0 0.0
(read/write) 479868 479868 0 0.0
.dram0.bss 73736 73736 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239936 239936 0 0.0
.flash.text 1050835 1050835 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682716 682716 0 0.0
.bss 80224 80224 0 0.0
.data 2016 2016 0 0.0
.text 598772 598772 0 0.0
lock k32w061+release (read/write) 729260 729260 0 0.0
.bss 80656 80656 0 0.0
.data 1976 1976 0 0.0
.text 644924 644924 0 0.0
linux all-clusters-app debug (read only) 2751209 2751209 0 0.0
(read/write) 175936 175936 0 0.0
.bss 85088 85088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 82616 82616 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 240797 240797 0 0.0
.text 2336146 2336146 0 0.0
bridge-app debug+rpc (read only) 2033633 2033633 0 0.0
(read/write) 147736 147736 0 0.0
.bss 72864 72864 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65352 65352 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 169129 169129 0 0.0
.text 1707506 1707506 0 0.0
chip-tool debug (read only) 9305573 9306581 1008 0.0
(read/write) 579128 579128 0 0.0
.bss 23936 23936 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 547752 547752 0 0.0
.dynamic 624 624 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 480989 480989 0 0.0
.text 7497797 7498805 1008 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9077540 9078660 1120 0.0
(read/write) 645249 645249 0 0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583000 583000 0 0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 445844 445844 0 0.0
.text 7169844 7170964 1120 0.0
lighting-app debug+rpc (read only) 2328113 2328113 0 0.0
(read/write) 153152 153152 0 0.0
.bss 74656 74656 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70696 70696 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 188137 188137 0 0.0
.text 1973746 1973746 0 0.0
lock-app debug (read only) 2241561 2241561 0 0.0
(read/write) 147864 147864 0 0.0
.bss 73344 73344 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67256 67256 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 198745 198745 0 0.0
.text 1882978 1882978 0 0.0
ota-provider-app debug (read only) 2063553 2063553 0 0.0
(read/write) 140944 140944 0 0.0
.bss 72800 72800 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60568 60568 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 179360 179360 0 0.0
.text 1725746 1725746 0 0.0
ota-requestor-app debug (read only) 2092473 2092473 0 0.0
(read/write) 143752 143752 0 0.0
.bss 73472 73472 0 0.0
.data 1992 1992 0 0.0
.data.rel.ro 62632 62632 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 175392 175392 0 0.0
.text 1757170 1757170 0 0.0
shell debug (read only) 2566969 2566969 0 0.0
(read/write) 199800 199800 0 0.0
.bss 115784 115784 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 76880 76880 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 221778 221778 0 0.0
.text 2184306 2184306 0 0.0
thermostat-no-ble arm64 (read only) 2354172 2354172 0 0.0
(read/write) 176305 176305 0 0.0
.bss 87617 87617 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79360 79360 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147356 147356 0 0.0
.text 1977952 1977952 0 0.0
tv-app debug (read only) 2854489 2855481 992 0.0
(read/write) 278784 278784 0 0.0
.bss 190776 190776 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 77064 77064 0 0.0
.dynamic 592 592 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221169 221169 0 0.0
.text 2451266 2452258 992 0.0
tv-casting-app debug (read only) 5416553 5416553 0 0.0
(read/write) 225024 225024 0 0.0
.bss 78360 78360 0 0.0
.data 2368 2368 0 0.0
.data.rel.ro 138064 138064 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 339713 339713 0 0.0
.text 4717490 4717490 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2420448 2420448 0 0.0
.bss 202668 202668 0 0.0
.data 5872 5872 0 0.0
.text 1383092 1383092 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180803 1180803 0 0.0
bss 138388 138388 0 0.0
rodata 152780 152780 0 0.0
text 810768 810768 0 0.0
p6 all-clusters-app default (read/write) 2538776 2538776 0 0.0
.bss 136184 136184 0 0.0
.data 2808 2808 0 0.0
.text 1497040 1497040 0 0.0
light-app default (read/write) 2425240 2425240 0 0.0
.bss 129488 129488 0 0.0
.data 2608 2608 0 0.0
.text 1383504 1383504 0 0.0
lock-app default (read/write) 2435928 2435928 0 0.0
.bss 129304 129304 0 0.0
.data 2568 2568 0 0.0
.text 1394192 1394192 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 782596 782596 0 0.0
bss 70616 70616 0 0.0
noinit 40416 40416 0 0.0
text 553500 553500 0 0.0
lighting-app tlsr9518adk80d (read/write) 802676 802676 0 0.0
bss 70872 70872 0 0.0
noinit 40416 40416 0 0.0
text 570266 570266 0 0.0

--if there exists any path in the request that references a specific attribute, remove affacted wildcard cluster attribute in requestPathSet used in cached
so that we would not cache the dataVersion  for all clusters affected by that attribute.
@yunhanw-google yunhanw-google force-pushed the feature/not_cache_if_specific_attribute branch from 232201a to 5893403 Compare May 20, 2022 03:43
src/app/ClusterStateCache.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented May 20, 2022

PR #18593: Size comparison from fd84c37 to b958468

Increases (1 build for linux)
platform target config section fd84c37 b958468 change % change
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9155476 9155956 480 0.0
.text 7247540 7248020 480 0.0
Full report (27 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section fd84c37 b958468 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 666483 666483 0 0.0
(read/write) 184204 184204 0 0.0
.bss 73668 73668 0 0.0
.data 3404 3404 0 0.0
.rodata 99611 99611 0 0.0
.text 566644 566644 0 0.0
lock-ftd LP_CC2652R7 (read only) 676315 676315 0 0.0
(read/write) 166340 166340 0 0.0
.bss 72692 72692 0 0.0
.data 3236 3236 0 0.0
.rodata 94379 94379 0 0.0
.text 581452 581452 0 0.0
lock-mtd LP_CC2652R7 (read only) 625139 625139 0 0.0
(read/write) 145524 145524 0 0.0
.bss 68428 68428 0 0.0
.data 3236 3236 0 0.0
.rodata 94267 94267 0 0.0
.text 530380 530380 0 0.0
pump-app LP_CC2652R7 (read only) 659595 659595 0 0.0
(read/write) 184340 184340 0 0.0
.bss 72948 72948 0 0.0
.data 3268 3268 0 0.0
.rodata 79371 79371 0 0.0
.text 579744 579744 0 0.0
pump-controller-app LP_CC2652R7 (read only) 654083 654083 0 0.0
(read/write) 189660 189660 0 0.0
.bss 73012 73012 0 0.0
.data 3232 3232 0 0.0
.rodata 83475 83475 0 0.0
.text 570128 570128 0 0.0
shell LP_CC2652R7 (read only) 659562 659562 0 0.0
(read/write) 186684 186684 0 0.0
.bss 76028 76028 0 0.0
.data 3408 3408 0 0.0
.rodata 96578 96578 0 0.0
.text 562760 562760 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624306 624306 0 0.0
.app_xip_area 527920 527920 0 0.0
.bss 79028 79028 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 627126 627126 0 0.0
.app_xip_area 532196 532196 0 0.0
.bss 77604 77604 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 571038 571038 0 0.0
.app_xip_area 466392 466392 0 0.0
.bss 87024 87024 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916652 916652 0 0.0
(read/write) 133244 133244 0 0.0
.bss 131184 131184 0 0.0
.data 2060 2060 0 0.0
.text 916644 916644 0 0.0
BRD4161A+rpc (read only) 950824 950824 0 0.0
(read/write) 149928 149928 0 0.0
.bss 147664 147664 0 0.0
.data 2264 2264 0 0.0
.text 950816 950816 0 0.0
BRD4161A+rs911x (read only) 790084 790084 0 0.0
(read/write) 129512 129512 0 0.0
.bss 127444 127444 0 0.0
.data 2068 2068 0 0.0
.text 790076 790076 0 0.0
lock-app BRD4161A+wf200 (read only) 946204 946204 0 0.0
(read/write) 123996 123996 0 0.0
.bss 121972 121972 0 0.0
.data 2024 2024 0 0.0
.text 946196 946196 0 0.0
window-app BRD4161A (read only) 897924 897924 0 0.0
(read/write) 133304 133304 0 0.0
.bss 131256 131256 0 0.0
.data 2048 2048 0 0.0
.text 897916 897916 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000458 1000458 0 0.0
(read/write) 1477442 1477442 0 0.0
.dram0.bss 68232 68232 0 0.0
.dram0.data 14632 14632 0 0.0
.flash.rodata 209136 209136 0 0.0
.flash.text 1000458 1000458 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1055827 1055827 0 0.0
(read/write) 479452 479452 0 0.0
.dram0.bss 73752 73752 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239504 239504 0 0.0
.flash.text 1050443 1050443 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682204 682204 0 0.0
.bss 80224 80224 0 0.0
.data 2016 2016 0 0.0
.text 598260 598260 0 0.0
lock k32w061+release (read/write) 728352 728352 0 0.0
.bss 80656 80656 0 0.0
.data 1976 1976 0 0.0
.text 644016 644016 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9155476 9155956 480 0.0
(read/write) 645297 645297 0 0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583048 583048 0 0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 446036 446036 0 0.0
.text 7247540 7248020 480 0.0
thermostat-no-ble arm64 (read only) 2354116 2354116 0 0.0
(read/write) 176321 176321 0 0.0
.bss 87617 87617 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79384 79384 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147332 147332 0 0.0
.text 1977904 1977904 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418432 2418432 0 0.0
.bss 202668 202668 0 0.0
.data 5872 5872 0 0.0
.text 1381076 1381076 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180075 1180075 0 0.0
bss 138400 138400 0 0.0
rodata 152340 152340 0 0.0
text 810484 810484 0 0.0
p6 all-clusters-app default (read/write) 2537888 2537888 0 0.0
.bss 136200 136200 0 0.0
.data 2808 2808 0 0.0
.text 1496152 1496152 0 0.0
light-app default (read/write) 2424104 2424104 0 0.0
.bss 129488 129488 0 0.0
.data 2608 2608 0 0.0
.text 1382368 1382368 0 0.0
lock-app default (read/write) 2434792 2434792 0 0.0
.bss 129304 129304 0 0.0
.data 2568 2568 0 0.0
.text 1393056 1393056 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 781572 781572 0 0.0
bss 70616 70616 0 0.0
noinit 40416 40416 0 0.0
text 552938 552938 0 0.0
lighting-app tlsr9518adk80d (read/write) 801644 801644 0 0.0
bss 70872 70872 0 0.0
noinit 40416 40416 0 0.0
text 569704 569704 0 0.0

@github-actions
Copy link

github-actions bot commented May 20, 2022

PR #18593: Size comparison from fd84c37 to cf60e94

Increases above 0.2%:

platform target config section fd84c37 cf60e94 change % change
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9155476 9196532 41056 0.4
.text 7247540 7288596 41056 0.6
Increases (1 build for linux)
platform target config section fd84c37 cf60e94 change % change
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9155476 9196532 41056 0.4
.text 7247540 7288596 41056 0.6
Decreases (5 builds for cyw30739, esp32, telink)
platform target config section fd84c37 cf60e94 change % change
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 571038 571030 -8 -0.0
.app_xip_area 466392 466384 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1000458 1000454 -4 -0.0
.flash.text 1000458 1000454 -4 -0.0
m5stack (read only) 1055827 1055815 -12 -0.0
.flash.text 1050443 1050431 -12 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 781572 781564 -8 -0.0
text 552938 552934 -4 -0.0
lighting-app tlsr9518adk80d text 569704 569700 -4 -0.0
Full report (27 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section fd84c37 cf60e94 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 666483 666483 0 0.0
(read/write) 184204 184204 0 0.0
.bss 73668 73668 0 0.0
.data 3404 3404 0 0.0
.rodata 99611 99611 0 0.0
.text 566644 566644 0 0.0
lock-ftd LP_CC2652R7 (read only) 676315 676315 0 0.0
(read/write) 166340 166340 0 0.0
.bss 72692 72692 0 0.0
.data 3236 3236 0 0.0
.rodata 94379 94379 0 0.0
.text 581452 581452 0 0.0
lock-mtd LP_CC2652R7 (read only) 625139 625139 0 0.0
(read/write) 145524 145524 0 0.0
.bss 68428 68428 0 0.0
.data 3236 3236 0 0.0
.rodata 94267 94267 0 0.0
.text 530380 530380 0 0.0
pump-app LP_CC2652R7 (read only) 659595 659595 0 0.0
(read/write) 184340 184340 0 0.0
.bss 72948 72948 0 0.0
.data 3268 3268 0 0.0
.rodata 79371 79371 0 0.0
.text 579744 579744 0 0.0
pump-controller-app LP_CC2652R7 (read only) 654083 654083 0 0.0
(read/write) 189660 189660 0 0.0
.bss 73012 73012 0 0.0
.data 3232 3232 0 0.0
.rodata 83475 83475 0 0.0
.text 570128 570128 0 0.0
shell LP_CC2652R7 (read only) 659562 659562 0 0.0
(read/write) 186684 186684 0 0.0
.bss 76028 76028 0 0.0
.data 3408 3408 0 0.0
.rodata 96578 96578 0 0.0
.text 562760 562760 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624306 624306 0 0.0
.app_xip_area 527920 527920 0 0.0
.bss 79028 79028 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 627126 627126 0 0.0
.app_xip_area 532196 532196 0 0.0
.bss 77604 77604 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 571038 571030 -8 -0.0
.app_xip_area 466392 466384 -8 -0.0
.bss 87024 87024 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916652 916652 0 0.0
(read/write) 133244 133244 0 0.0
.bss 131184 131184 0 0.0
.data 2060 2060 0 0.0
.text 916644 916644 0 0.0
BRD4161A+rpc (read only) 950824 950824 0 0.0
(read/write) 149928 149928 0 0.0
.bss 147664 147664 0 0.0
.data 2264 2264 0 0.0
.text 950816 950816 0 0.0
BRD4161A+rs911x (read only) 790084 790084 0 0.0
(read/write) 129512 129512 0 0.0
.bss 127444 127444 0 0.0
.data 2068 2068 0 0.0
.text 790076 790076 0 0.0
lock-app BRD4161A+wf200 (read only) 946204 946204 0 0.0
(read/write) 123996 123996 0 0.0
.bss 121972 121972 0 0.0
.data 2024 2024 0 0.0
.text 946196 946196 0 0.0
window-app BRD4161A (read only) 897924 897924 0 0.0
(read/write) 133304 133304 0 0.0
.bss 131256 131256 0 0.0
.data 2048 2048 0 0.0
.text 897916 897916 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000458 1000454 -4 -0.0
(read/write) 1477442 1477442 0 0.0
.dram0.bss 68232 68232 0 0.0
.dram0.data 14632 14632 0 0.0
.flash.rodata 209136 209136 0 0.0
.flash.text 1000458 1000454 -4 -0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1055827 1055815 -12 -0.0
(read/write) 479452 479452 0 0.0
.dram0.bss 73752 73752 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239504 239504 0 0.0
.flash.text 1050443 1050431 -12 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682204 682204 0 0.0
.bss 80224 80224 0 0.0
.data 2016 2016 0 0.0
.text 598260 598260 0 0.0
lock k32w061+release (read/write) 728352 728352 0 0.0
.bss 80656 80656 0 0.0
.data 1976 1976 0 0.0
.text 644016 644016 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9155476 9196532 41056 0.4
(read/write) 645297 645297 0 0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583048 583048 0 0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 446036 446036 0 0.0
.text 7247540 7288596 41056 0.6
thermostat-no-ble arm64 (read only) 2354116 2354116 0 0.0
(read/write) 176321 176321 0 0.0
.bss 87617 87617 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79384 79384 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147332 147332 0 0.0
.text 1977904 1977904 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418432 2418432 0 0.0
.bss 202668 202668 0 0.0
.data 5872 5872 0 0.0
.text 1381076 1381076 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180075 1180075 0 0.0
bss 138400 138400 0 0.0
rodata 152340 152340 0 0.0
text 810484 810484 0 0.0
p6 all-clusters-app default (read/write) 2537888 2537888 0 0.0
.bss 136200 136200 0 0.0
.data 2808 2808 0 0.0
.text 1496152 1496152 0 0.0
light-app default (read/write) 2424104 2424104 0 0.0
.bss 129488 129488 0 0.0
.data 2608 2608 0 0.0
.text 1382368 1382368 0 0.0
lock-app default (read/write) 2434792 2434792 0 0.0
.bss 129304 129304 0 0.0
.data 2568 2568 0 0.0
.text 1393056 1393056 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 781572 781564 -8 -0.0
bss 70616 70616 0 0.0
noinit 40416 40416 0 0.0
text 552938 552934 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 801644 801644 0 0.0
bss 70872 70872 0 0.0
noinit 40416 40416 0 0.0
text 569704 569700 -4 -0.0

@yunhanw-google yunhanw-google merged commit 9490a5f into project-chip:master May 20, 2022
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