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

Address review comments on PR 13172. #13600

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Changes:

  • Remove length anotations on some lists that are always handled via
    AttributeAccessInterface so should not count toward
    ATTRIBUTE_LARGEST. Reduces ATTRIBUTE_LARGEST from 401 to 255/259
    for most apps.

  • Fix some .zap files that did not have those lists marked as External
    storage.

  • Add a way for applications to static_assert via a config variable
    that ATTRIBUTE_LARGEST is not larger than expected.

  • Stop using %zu for logging in Server.h

  • Add checks + logging for a missing attribute persistence provider in
    attribute-storage.

Problem

Addressing review comments on #13172

Change overview

See above.

Testing

No obvious behavior changes, except in hard-to-exercise error conditions.

@github-actions
Copy link

github-actions bot commented Jan 14, 2022

PR #13600: Size comparison from 8aca71c to 9be87ec

Increases (26 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 8aca71c 9be87ec change % change
efr32 lighting-app BRD4161A (read only) 834852 835028 176 0.0
.text 834844 835020 176 0.0
BRD4161A+rpc (read only) 822248 822416 168 0.0
.text 822240 822408 168 0.0
window-app BRD4161A (read only) 805440 805600 160 0.0
.text 805432 805592 160 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912152 38 0.0
(read/write) 1316682 1316802 120 0.0
.flash.rodata 178384 178504 120 0.1
.flash.text 912114 912152 38 0.0
m5stack (read/write) 448840 448944 104 0.0
.flash.rodata 207672 207776 104 0.1
k32w light k32w061+release .text 573132 573276 144 0.0
lock k32w061+release (read/write) 661796 661812 16 0.0
.text 576692 576852 160 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042340 208 0.0
.rodata 419420 419532 112 0.0
.text 6833716 6833812 96 0.0
thermostat-no-ble arm64 (read only) 2042140 2042348 208 0.0
.rodata 129884 129996 112 0.1
.text 1697664 1697760 96 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2349920 2350032 112 0.0
.text 1312496 1312608 112 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2334504 2334680 176 0.0
.text 1297104 1297280 176 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304848 2305024 176 0.0
.text 1267448 1267624 176 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 rodata 108824 108932 108 0.1
text 637380 637428 48 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928915 32 0.0
rodata 101272 101384 112 0.1
text 632776 632820 44 0.0
nrf52840dongle_nrf52840 rodata 113576 113688 112 0.1
text 669580 669624 44 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853274 32 0.0
rodata 101996 102108 112 0.1
text 554308 554352 44 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912791 28 0.0
rodata 103792 103900 108 0.1
text 612828 612868 40 0.0
nrf5340dk_nrf5340_cpuapp rodata 97016 97128 112 0.1
text 529792 529828 36 0.0
pump-app nrf52840dk_nrf52840 rodata 104152 104264 112 0.1
text 615484 615520 36 0.0
pump-controller-app nrf52840dk_nrf52840 rodata 103264 103372 108 0.1
text 611408 611448 40 0.0
p6 all-clusters-app default (read/write) 2404400 2404568 168 0.0
.text 1362664 1362832 168 0.0
light-app default (read/write) 2329704 2329872 168 0.0
.text 1287968 1288136 168 0.0
lock-app default (read/write) 2298728 2298880 152 0.0
.text 1256992 1257144 152 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564120 136 0.0
.text 558664 558800 136 0.0
lock-app qpg6105+debug (read only) 515484 515636 152 0.0
.text 510164 510316 152 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840798 12 0.0
text 587756 587794 38 0.0
Decreases (22 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 8aca71c 9be87ec change % change
efr32 lighting-app BRD4161A (read/write) 127628 127484 -144 -0.1
.bss 125744 125600 -144 -0.1
BRD4161A+rpc (read/write) 144288 144144 -144 -0.1
.bss 142304 142160 -144 -0.1
window-app BRD4161A (read/write) 126320 126176 -144 -0.1
.bss 124480 124336 -144 -0.1
esp32 all-clusters-app m5stack (read only) 960895 960887 -8 -0.0
.flash.text 955511 955503 -8 -0.0
k32w light k32w061+release .bss 77136 76992 -144 -0.2
lock k32w061+release .bss 77432 77288 -144 -0.2
linux thermostat-no-ble arm64 (read/write) 145969 145825 -144 -0.1
.bss 65089 64945 -144 -0.2
mbed lighting-app CY8CPROTO_062_4343W+release .bss 180760 180624 -136 -0.1
lock-app CY8CPROTO_062_4343W+release .bss 179768 179624 -144 -0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943415 -4 -0.0
bss 119628 119488 -140 -0.1
nrf52840dk_nrf52840+rpc bss 116672 116532 -140 -0.1
nrf52840dongle_nrf52840 (read/write) 994095 994079 -16 -0.0
bss 122472 122328 -144 -0.1
nrf5340dk_nrf5340_cpuapp bss 116416 116272 -144 -0.1
lock-app nrf52840dk_nrf52840 bss 118784 118636 -148 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822830 -16 -0.0
bss 115600 115456 -144 -0.1
pump-app nrf52840dk_nrf52840 (read/write) 915627 915611 -16 -0.0
bss 118548 118400 -148 -0.1
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910695 -20 -0.0
bss 118572 118424 -148 -0.1
p6 light-app default .bss 106064 105920 -144 -0.1
lock-app default .bss 104920 104768 -152 -0.1
qpg lighting-app qpg6105+debug .bss 89960 89824 -136 -0.2
lock-app qpg6105+debug .bss 88584 88440 -144 -0.2
telink lighting-app tlsr9518adk80d bss 87316 87172 -144 -0.2
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 8aca71c 9be87ec change % change
efr32 lighting-app BRD4161A (read only) 834852 835028 176 0.0
(read/write) 127628 127484 -144 -0.1
.bss 125744 125600 -144 -0.1
.data 1884 1884 0 0.0
.text 834844 835020 176 0.0
BRD4161A+rpc (read only) 822248 822416 168 0.0
(read/write) 144288 144144 -144 -0.1
.bss 142304 142160 -144 -0.1
.data 1984 1984 0 0.0
.text 822240 822408 168 0.0
window-app BRD4161A (read only) 805440 805600 160 0.0
(read/write) 126320 126176 -144 -0.1
.bss 124480 124336 -144 -0.1
.data 1836 1836 0 0.0
.text 805432 805592 160 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912152 38 0.0
(read/write) 1316682 1316802 120 0.0
.dram0.bss 70520 70520 0 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178384 178504 120 0.1
.flash.text 912114 912152 38 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 960895 960887 -8 -0.0
(read/write) 448840 448944 104 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207672 207776 104 0.1
.flash.text 955511 955503 -8 -0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 657920 0 0.0
.bss 77136 76992 -144 -0.2
.data 1852 1852 0 0.0
.text 573132 573276 144 0.0
lock k32w061+release (read/write) 661796 661812 16 0.0
.bss 77432 77288 -144 -0.2
.data 1872 1872 0 0.0
.text 576692 576852 160 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042340 208 0.0
(read/write) 370641 370641 0 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245856 245856 0 0.0
.dynamic 560 560 0 0.0
.got 64776 64776 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419420 419532 112 0.0
.text 6833716 6833812 96 0.0
thermostat-no-ble arm64 (read only) 2042140 2042348 208 0.0
(read/write) 145969 145825 -144 -0.1
.bss 65089 64945 -144 -0.2
.data 880 880 0 0.0
.data.rel.ro 73016 73016 0 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129996 112 0.1
.text 1697664 1697760 96 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2349920 2350032 112 0.0
.bss 189220 189220 0 0.0
.data 5320 5320 0 0.0
.text 1312496 1312608 112 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334504 2334680 176 0.0
.bss 180760 180624 -136 -0.1
.data 5568 5568 0 0.0
.text 1297104 1297280 176 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304848 2305024 176 0.0
.bss 179768 179624 -144 -0.1
.data 5544 5544 0 0.0
.text 1267448 1267624 176 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) 2054464 2054464 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017064 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943415 -4 -0.0
bss 119628 119488 -140 -0.1
rodata 108824 108932 108 0.1
text 637380 637428 48 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928915 32 0.0
bss 116672 116532 -140 -0.1
rodata 101272 101384 112 0.1
text 632776 632820 44 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994079 -16 -0.0
bss 122472 122328 -144 -0.1
rodata 113576 113688 112 0.1
text 669580 669624 44 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853274 32 0.0
bss 116416 116272 -144 -0.1
rodata 101996 102108 112 0.1
text 554308 554352 44 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912791 28 0.0
bss 118784 118636 -148 -0.1
rodata 103792 103900 108 0.1
text 612828 612868 40 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822830 -16 -0.0
bss 115600 115456 -144 -0.1
rodata 97016 97128 112 0.1
text 529792 529828 36 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) 915627 915611 -16 -0.0
bss 118548 118400 -148 -0.1
rodata 104152 104264 112 0.1
text 615484 615520 36 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910695 -20 -0.0
bss 118572 118424 -148 -0.1
rodata 103264 103372 108 0.1
text 611408 611448 40 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798655 0 0.0
bss 109776 109776 0 0.0
rodata 78388 78388 0 0.0
text 533992 533992 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711470 0 0.0
bss 107664 107664 0 0.0
rodata 72688 72688 0 0.0
text 451668 451668 0 0.0
p6 all-clusters-app default (read/write) 2404400 2404568 168 0.0
.bss 117492 117492 0 0.0
.data 2600 2600 0 0.0
.text 1362664 1362832 168 0.0
light-app default (read/write) 2329704 2329872 168 0.0
.bss 106064 105920 -144 -0.1
.data 2392 2392 0 0.0
.text 1287968 1288136 168 0.0
lock-app default (read/write) 2298728 2298880 152 0.0
.bss 104920 104768 -152 -0.1
.data 2344 2344 0 0.0
.text 1256992 1257144 152 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564120 136 0.0
(read/write) 146940 146940 0 0.0
.bss 89960 89824 -136 -0.2
.data 1048 1048 0 0.0
.text 558664 558800 136 0.0
lock-app qpg6105+debug (read only) 515484 515636 152 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88440 -144 -0.2
.data 972 972 0 0.0
.text 510164 510316 152 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840798 12 0.0
bss 87316 87172 -144 -0.2
noinit 37160 37160 0 0.0
text 587756 587794 38 0.0

@stale
Copy link

stale bot commented Jan 21, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Jan 21, 2022
@bzbarsky-apple bzbarsky-apple removed the stale Stale issue or PR label Jan 22, 2022
@woody-apple
Copy link
Contributor

Fast tracking, given older PR, doesn't look like it should be stale. Still needs comments resolved.

@stale
Copy link

stale bot commented Feb 2, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Feb 2, 2022
@bzbarsky-apple bzbarsky-apple removed the stale Stale issue or PR label Feb 2, 2022
Changes:

* Remove length anotations on some lists that are always handled via
  AttributeAccessInterface so should not count toward
  ATTRIBUTE_LARGEST.  Reduces ATTRIBUTE_LARGEST from 401 to 255/259
  for most apps.

* Fix some .zap files that did not have those lists marked as External
  storage.

* Add a way for applications to static_assert via a config variable
  that ATTRIBUTE_LARGEST is not larger than expected.

* Stop using %zu for logging in Server.h

* Add checks + logging for a missing attribute persistence provider in
  attribute-storage.
@bzbarsky-apple bzbarsky-apple force-pushed the nvm-storage-followup branch 2 times, most recently from e0d187d to bdc68b1 Compare February 5, 2022 05:57
@github-actions
Copy link

github-actions bot commented Feb 5, 2022

PR #13600: Size comparison from 740284a to bdc68b1

Increases (2 builds for qpg)
platform target config section 740284a bdc68b1 change % change
qpg lighting-app qpg6105+debug (read only) 580400 580468 68 0.0
.text 575080 575148 68 0.0
lock-app qpg6105+debug (read only) 526480 526548 68 0.0
.text 521160 521228 68 0.0
Decreases (2 builds for qpg)
platform target config section 740284a bdc68b1 change % change
qpg lighting-app qpg6105+debug .bss 88112 87976 -136 -0.2
lock-app qpg6105+debug .bss 87560 87424 -136 -0.2
Full report (3 builds for qpg)
platform target config section 740284a bdc68b1 change % change
qpg lighting-app qpg6105+debug (read only) 580400 580468 68 0.0
(read/write) 146940 146940 0 0.0
.bss 88112 87976 -136 -0.2
.data 1088 1088 0 0.0
.text 575080 575148 68 0.0
lock-app qpg6105+debug (read only) 526480 526548 68 0.0
(read/write) 146940 146940 0 0.0
.bss 87560 87424 -136 -0.2
.data 1024 1024 0 0.0
.text 521160 521228 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

@github-actions
Copy link

github-actions bot commented Feb 5, 2022

PR #13600: Size comparison from 740284a to f7a1715

Increases (39 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 740284a f7a1715 change % change
cyw30739 light cyw930739m2evb_01 .app_xip_area 494320 494404 84 0.0
lock cyw930739m2evb_01 .app_xip_area 453796 453880 84 0.0
ota-requestor cyw930739m2evb_01 .app_xip_area 468900 468984 84 0.0
efr32 lighting-app BRD4161A (read only) 857408 857496 88 0.0
.text 857400 857488 88 0.0
BRD4161A+rpc (read only) 844760 844848 88 0.0
.text 844752 844840 88 0.0
window-app BRD4161A (read only) 829644 829732 88 0.0
.text 829636 829724 88 0.0
esp32 all-clusters-app c3devkit (read only) 936958 936986 28 0.0
(read/write) 1401186 1401242 56 0.0
.flash.rodata 197944 198000 56 0.0
.flash.text 936958 936986 28 0.0
m5stack (read only) 984947 984975 28 0.0
(read/write) 465536 465592 56 0.0
.flash.rodata 224552 224608 56 0.0
.flash.text 979563 979591 28 0.0
k32w light k32w061+release .text 588768 588840 72 0.0
lock k32w061+release .text 589932 590004 72 0.0
linux all-clusters-app debug (read only) 2323905 2324145 240 0.0
.rodata 204197 204325 128 0.1
.text 1957506 1957618 112 0.0
bridge-app debug+rpc (read only) 1700453 1700693 240 0.0
.rodata 139476 139604 128 0.1
.text 1444549 1444661 112 0.0
chip-tool debug (read only) 7298237 7298461 224 0.0
.rodata 410165 410293 128 0.0
.text 6518133 6518229 96 0.0
chip-tool-ipv6only arm64 (read only) 7238660 7238916 256 0.0
.rodata 392684 392812 128 0.0
.text 6241140 6241268 128 0.0
door-lock-app debug (read only) 1904489 1904729 240 0.0
.rodata 171996 172124 128 0.1
.text 1584098 1584210 112 0.0
lighting-app debug+rpc (read only) 1999313 1999553 240 0.0
.rodata 162097 162225 128 0.1
.text 1682690 1682802 112 0.0
ota-provider-app debug (read only) 1708553 1708793 240 0.0
.rodata 150054 150182 128 0.1
.text 1439922 1440034 112 0.0
ota-requestor-app debug (read only) 1700001 1700241 240 0.0
.rodata 144535 144663 128 0.1
.text 1438690 1438802 112 0.0
shell debug (read only) 2297961 2298201 240 0.0
.rodata 205074 205202 128 0.1
.text 1936466 1936578 112 0.0
thermostat-no-ble arm64 (read only) 2126852 2127092 240 0.0
.rodata 131220 131348 128 0.1
.text 1777680 1777792 112 0.0
tv-app debug (read only) 2518417 2518657 240 0.0
.rodata 193492 193620 128 0.1
.text 2151890 2152002 112 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2389136 2389192 56 0.0
.text 1351736 1351792 56 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2348328 2348448 120 0.0
.text 1310928 1311048 120 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2312312 2312368 56 0.0
.text 1274912 1274968 56 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2302652 2302708 56 0.0
.text 1265224 1265280 56 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 rodata 117252 117308 56 0.0
text 681432 681464 32 0.0
nrf52840dk_nrf52840+rpc rodata 108640 108696 56 0.1
text 665992 666020 28 0.0
nrf52840dongle_nrf52840 rodata 116092 116144 52 0.0
text 686928 686956 28 0.0
nrf5340dk_nrf5340_cpuapp rodata 110512 110564 52 0.0
text 596444 596472 28 0.0
lock-app nrf52840dk_nrf52840 rodata 105604 105656 52 0.0
text 627292 627324 32 0.0
nrf5340dk_nrf5340_cpuapp rodata 98772 98828 56 0.1
text 543076 543108 32 0.0
pump-app nrf52840dk_nrf52840 rodata 106072 106128 56 0.1
text 629632 629660 28 0.0
pump-controller-app nrf52840dk_nrf52840 rodata 105076 105132 56 0.1
text 625572 625600 28 0.0
p6 all-clusters-app default (read/write) 2450216 2450304 88 0.0
.text 1408480 1408568 88 0.0
light-app default (read/write) 2353648 2353736 88 0.0
.text 1311912 1312000 88 0.0
lock-app default (read/write) 2318856 2318944 88 0.0
.text 1277120 1277208 88 0.0
qpg lighting-app qpg6105+debug (read only) 580400 580468 68 0.0
.text 575080 575148 68 0.0
lock-app qpg6105+debug (read only) 526480 526548 68 0.0
.text 521160 521228 68 0.0
telink lighting-app tlsr9518adk80d text 602154 602176 22 0.0
Decreases (31 builds for cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 740284a f7a1715 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 587722 587670 -52 -0.0
.bss 76124 75988 -136 -0.2
lock cyw930739m2evb_01 (read/write) 545646 545586 -60 -0.0
.bss 74604 74460 -144 -0.2
ota-requestor cyw930739m2evb_01 (read/write) 570062 570010 -52 -0.0
.bss 83588 83452 -136 -0.2
efr32 lighting-app BRD4161A (read/write) 125888 125744 -144 -0.1
.bss 123960 123816 -144 -0.1
BRD4161A+rpc (read/write) 142544 142400 -144 -0.1
.bss 140520 140376 -144 -0.1
window-app BRD4161A (read/write) 124528 124384 -144 -0.1
.bss 122648 122504 -144 -0.1
k32w light k32w061+release (read/write) 672284 672212 -72 -0.0
.bss 75832 75688 -144 -0.2
lock k32w061+release (read/write) 673816 673744 -72 -0.0
.bss 76160 76016 -144 -0.2
linux bridge-app debug+rpc (read/write) 84504 84344 -160 -0.2
.bss 39264 39104 -160 -0.4
door-lock-app debug (read/write) 110760 110600 -160 -0.1
.bss 42272 42112 -160 -0.4
lighting-app debug+rpc (read/write) 115784 115624 -160 -0.1
.bss 43256 43096 -160 -0.4
ota-provider-app debug (read/write) 81400 81240 -160 -0.2
.bss 41248 41088 -160 -0.4
ota-requestor-app debug (read/write) 83448 83288 -160 -0.2
.bss 42432 42272 -160 -0.4
thermostat-no-ble arm64 (read/write) 140705 140561 -144 -0.1
.bss 57745 57601 -144 -0.2
tv-app debug (read/write) 139704 139544 -160 -0.1
.bss 57280 57120 -160 -0.3
mbed lighting-app CY8CPROTO_062_4343W+release .bss 181072 180936 -136 -0.1
lock-app CY8CPROTO_062_4343W+release .bss 180960 180824 -136 -0.1
shell CY8CPROTO_062_4343W+release .bss 178244 178100 -144 -0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 998135 998095 -40 -0.0
bss 120544 120404 -140 -0.1
nrf52840dk_nrf52840+rpc (read/write) 969491 969451 -40 -0.0
bss 116400 116260 -140 -0.1
nrf52840dongle_nrf52840 (read/write) 1014827 1014783 -44 -0.0
bss 121908 121768 -140 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 904830 904786 -44 -0.0
bss 117108 116964 -144 -0.1
lock-app nrf52840dk_nrf52840 (read/write) 930279 930235 -44 -0.0
bss 118884 118740 -144 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 837802 837762 -40 -0.0
bss 115476 115336 -140 -0.1
pump-app nrf52840dk_nrf52840 (read/write) 932907 932867 -40 -0.0
bss 118636 118492 -144 -0.1
pump-controller-app nrf52840dk_nrf52840 (read/write) 927863 927807 -56 -0.0
bss 118636 118496 -140 -0.1
p6 light-app default .bss 106272 106128 -144 -0.1
lock-app default .bss 105992 105848 -144 -0.1
qpg lighting-app qpg6105+debug .bss 88112 87976 -136 -0.2
lock-app qpg6105+debug .bss 87560 87424 -136 -0.2
telink lighting-app tlsr9518adk80d (read/write) 859174 859102 -72 -0.0
bss 88476 88332 -144 -0.2
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 740284a f7a1715 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 587722 587670 -52 -0.0
.app_xip_area 494320 494404 84 0.0
.bss 76124 75988 -136 -0.2
.data 624 624 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 545646 545586 -60 -0.0
.app_xip_area 453796 453880 84 0.0
.bss 74604 74460 -144 -0.2
.data 588 588 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570062 570010 -52 -0.0
.app_xip_area 468900 468984 84 0.0
.bss 83588 83452 -136 -0.2
.data 532 532 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 857408 857496 88 0.0
(read/write) 125888 125744 -144 -0.1
.bss 123960 123816 -144 -0.1
.data 1924 1924 0 0.0
.text 857400 857488 88 0.0
BRD4161A+rpc (read only) 844760 844848 88 0.0
(read/write) 142544 142400 -144 -0.1
.bss 140520 140376 -144 -0.1
.data 2024 2024 0 0.0
.text 844752 844840 88 0.0
window-app BRD4161A (read only) 829644 829732 88 0.0
(read/write) 124528 124384 -144 -0.1
.bss 122648 122504 -144 -0.1
.data 1880 1880 0 0.0
.text 829636 829724 88 0.0
esp32 all-clusters-app c3devkit (read only) 936958 936986 28 0.0
(read/write) 1401186 1401242 56 0.0
.dram0.bss 70064 70064 0 0.0
.dram0.data 14276 14276 0 0.0
.flash.rodata 197944 198000 56 0.0
.flash.text 936958 936986 28 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 984947 984975 28 0.0
(read/write) 465536 465592 56 0.0
.dram0.bss 74816 74816 0 0.0
.dram0.data 34040 34040 0 0.0
.flash.rodata 224552 224608 56 0.0
.flash.text 979563 979591 28 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 672284 672212 -72 -0.0
.bss 75832 75688 -144 -0.2
.data 1884 1884 0 0.0
.text 588768 588840 72 0.0
lock k32w061+release (read/write) 673816 673744 -72 -0.0
.bss 76160 76016 -144 -0.2
.data 1924 1924 0 0.0
.text 589932 590004 72 0.0
linux all-clusters-app debug (read only) 2323905 2324145 240 0.0
(read/write) 140032 140032 0 0.0
.bss 54656 54656 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 204197 204325 128 0.1
.text 1957506 1957618 112 0.0
bridge-app debug+rpc (read only) 1700453 1700693 240 0.0
(read/write) 84504 84344 -160 -0.2
.bss 39264 39104 -160 -0.4
.data 1986 1986 0 0.0
.data.rel.ro 38088 38088 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139476 139604 128 0.1
.text 1444549 1444661 112 0.0
chip-tool debug (read only) 7298237 7298461 224 0.0
(read/write) 184592 184592 0 0.0
.bss 32360 32360 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 145072 145072 0 0.0
.dynamic 608 608 0 0.0
.got 4760 4760 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 410165 410293 128 0.0
.text 6518133 6518229 96 0.0
chip-tool-ipv6only arm64 (read only) 7238660 7238916 256 0.0
(read/write) 287921 287921 0 0.0
.bss 50641 50641 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 186528 186528 0 0.0
.dynamic 560 560 0 0.0
.got 45784 45784 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 392684 392812 128 0.0
.text 6241140 6241268 128 0.0
door-lock-app debug (read only) 1904489 1904729 240 0.0
(read/write) 110760 110600 -160 -0.1
.bss 42272 42112 -160 -0.4
.data 962 962 0 0.0
.data.rel.ro 62088 62088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 171996 172124 128 0.1
.text 1584098 1584210 112 0.0
lighting-app debug+rpc (read only) 1999313 1999553 240 0.0
(read/write) 115784 115624 -160 -0.1
.bss 43256 43096 -160 -0.4
.data 1384 1384 0 0.0
.data.rel.ro 65640 65640 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 162097 162225 128 0.1
.text 1682690 1682802 112 0.0
ota-provider-app debug (read only) 1708553 1708793 240 0.0
(read/write) 81400 81240 -160 -0.2
.bss 41248 41088 -160 -0.4
.data 1096 1096 0 0.0
.data.rel.ro 33528 33528 0 0.0
.dynamic 608 608 0 0.0
.got 4248 4248 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 150054 150182 128 0.1
.text 1439922 1440034 112 0.0
ota-requestor-app debug (read only) 1700001 1700241 240 0.0
(read/write) 83448 83288 -160 -0.2
.bss 42432 42272 -160 -0.4
.data 1128 1128 0 0.0
.data.rel.ro 34584 34584 0 0.0
.dynamic 592 592 0 0.0
.got 4040 4040 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 144535 144663 128 0.1
.text 1438690 1438802 112 0.0
shell debug (read only) 2297961 2298201 240 0.0
(read/write) 141552 141552 0 0.0
.bss 62016 62016 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73040 73040 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 205074 205202 128 0.1
.text 1936466 1936578 112 0.0
thermostat-no-ble arm64 (read only) 2126852 2127092 240 0.0
(read/write) 140705 140561 -144 -0.1
.bss 57745 57601 -144 -0.2
.data 968 968 0 0.0
.data.rel.ro 74872 74872 0 0.0
.dynamic 560 560 0 0.0
.got 4152 4152 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 131220 131348 128 0.1
.text 1777680 1777792 112 0.0
tv-app debug (read only) 2518417 2518657 240 0.0
(read/write) 139704 139544 -160 -0.1
.bss 57280 57120 -160 -0.3
.data 3168 3168 0 0.0
.data.rel.ro 73224 73224 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 193492 193620 128 0.1
.text 2151890 2152002 112 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2389136 2389192 56 0.0
.bss 188972 188972 0 0.0
.data 5296 5296 0 0.0
.text 1351736 1351792 56 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2348328 2348448 120 0.0
.bss 181072 180936 -136 -0.1
.data 5600 5600 0 0.0
.text 1310928 1311048 120 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2312312 2312368 56 0.0
.bss 180960 180824 -136 -0.1
.data 5584 5584 0 0.0
.text 1274912 1274968 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) 2302652 2302708 56 0.0
.bss 178244 178100 -144 -0.1
.data 5400 5400 0 0.0
.text 1265224 1265280 56 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 998135 998095 -40 -0.0
bss 120544 120404 -140 -0.1
rodata 117252 117308 56 0.0
text 681432 681464 32 0.0
nrf52840dk_nrf52840+rpc (read/write) 969491 969451 -40 -0.0
bss 116400 116260 -140 -0.1
rodata 108640 108696 56 0.1
text 665992 666020 28 0.0
nrf52840dongle_nrf52840 (read/write) 1014827 1014783 -44 -0.0
bss 121908 121768 -140 -0.1
rodata 116092 116144 52 0.0
text 686928 686956 28 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 904830 904786 -44 -0.0
bss 117108 116964 -144 -0.1
rodata 110512 110564 52 0.0
text 596444 596472 28 0.0
lock-app nrf52840dk_nrf52840 (read/write) 930279 930235 -44 -0.0
bss 118884 118740 -144 -0.1
rodata 105604 105656 52 0.0
text 627292 627324 32 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 837802 837762 -40 -0.0
bss 115476 115336 -140 -0.1
rodata 98772 98828 56 0.1
text 543076 543108 32 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541779 541779 0 0.0
bss 52588 52588 0 0.0
rodata 50048 50048 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 932907 932867 -40 -0.0
bss 118636 118492 -144 -0.1
rodata 106072 106128 56 0.1
text 629632 629660 28 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 927863 927807 -56 -0.0
bss 118636 118496 -140 -0.1
rodata 105076 105132 56 0.1
text 625572 625600 28 0.0
shell nrf52840dk_nrf52840 (read/write) 802811 802811 0 0.0
bss 110968 110968 0 0.0
rodata 78480 78480 0 0.0
text 535792 535792 0 0.0
p6 all-clusters-app default (read/write) 2450216 2450304 88 0.0
.bss 117128 117128 0 0.0
.data 2584 2584 0 0.0
.text 1408480 1408568 88 0.0
light-app default (read/write) 2353648 2353736 88 0.0
.bss 106272 106128 -144 -0.1
.data 2432 2432 0 0.0
.text 1311912 1312000 88 0.0
lock-app default (read/write) 2318856 2318944 88 0.0
.bss 105992 105848 -144 -0.1
.data 2392 2392 0 0.0
.text 1277120 1277208 88 0.0
qpg lighting-app qpg6105+debug (read only) 580400 580468 68 0.0
(read/write) 146940 146940 0 0.0
.bss 88112 87976 -136 -0.2
.data 1088 1088 0 0.0
.text 575080 575148 68 0.0
lock-app qpg6105+debug (read only) 526480 526548 68 0.0
(read/write) 146940 146940 0 0.0
.bss 87560 87424 -136 -0.2
.data 1024 1024 0 0.0
.text 521160 521228 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) 859174 859102 -72 -0.0
bss 88476 88332 -144 -0.2
noinit 37160 37160 0 0.0
text 602154 602176 22 0.0

@bzbarsky-apple bzbarsky-apple merged commit e94c9a9 into project-chip:master Feb 5, 2022
@bzbarsky-apple bzbarsky-apple deleted the nvm-storage-followup branch February 5, 2022 07:58
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.

3 participants