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

Allow runtime init of some Server members (2/2) #16070

Conversation

tcarmelveilleux
Copy link
Contributor

Problem

Issue #16028

Change overview

  • This PR separates init of AccessControl so that the delegate need not be
    passed to the Constructor, which allows simpler splitting of storage
    init and decoupling from Server::Server() static inializer list.
  • This is a structural, non-functional change, touching only AccessControl.

Testing

  • Ran cert tests, still pass
  • Ran unit tests after structural adaptation, still pass

tcarmelveilleux and others added 2 commits March 10, 2022 12:27
- This PR is on the path towards having Server::Server no longer
  statically initialize its members with storage, and instead
  relying on Server::Init(). This will simplify organization
  of unit tests and also the convergence of Controller/Server
  storage to address issue project-chip#16028

Issue project-chip#16028

This PR separates init of AccessControl so that the delegate need not be
passed to the Constructor, which allows simpler splitting of storage
init and decoupling from Server::Server() static inializer list.

This is a structural, non-functional change, touching only AccessControl.

Testing
- Ran cert tests, still pass
- Ran unit tests, still pass
src/access/AccessControl.cpp Outdated Show resolved Hide resolved
src/access/AccessControl.cpp Show resolved Hide resolved
src/access/AccessControl.h Outdated Show resolved Hide resolved
src/access/AccessControl.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Mar 10, 2022

PR #16070: Size comparison from 6b7d009 to 8d2b122

Increases above 0.2%:

platform target config section 6b7d009 8d2b122 change % change
cyw30739 light cyw930739m2evb_01 .data 652 656 4 0.6
lock cyw930739m2evb_01 .data 616 620 4 0.6
ota-requestor cyw930739m2evb_01 .data 552 556 4 0.7
linux bridge-app debug+rpc .data 2016 2048 32 1.6
chip-tool-ipv6only arm64 .data 1200 1208 8 0.7
shell debug .data 864 880 16 1.9
thermostat-no-ble arm64 .data 1048 1056 8 0.8
tv-app debug .data 3168 3200 32 1.0
p6 all-clusters-app default .data 2680 2688 8 0.3
light-app default .data 2536 2544 8 0.3
lock-app default .data 2496 2504 8 0.3
Increases (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6b7d009 8d2b122 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598210 598378 168 0.0
.app_xip_area 505792 505960 168 0.0
.data 652 656 4 0.6
lock cyw930739m2evb_01 (read/write) 556078 556258 180 0.0
.app_xip_area 465196 465368 172 0.0
.data 616 620 4 0.6
ota-requestor cyw930739m2evb_01 (read/write) 565986 566170 184 0.0
.app_xip_area 465416 465592 176 0.0
.data 552 556 4 0.7
efr32 lighting-app BRD4161A (read only) 919928 920168 240 0.0
(read/write) 128256 128264 8 0.0
.data 2040 2044 4 0.2
.text 919920 920160 240 0.0
BRD4161A+rpc (read only) 948740 948980 240 0.0
(read/write) 144212 144216 4 0.0
.data 2220 2224 4 0.2
.text 948732 948972 240 0.0
window-app BRD4161A (read only) 852468 852708 240 0.0
(read/write) 126220 126224 4 0.0
.data 1916 1920 4 0.2
.text 852460 852700 240 0.0
esp32 all-clusters-app c3devkit (read only) 957806 958018 212 0.0
(read/write) 1393850 1393898 48 0.0
.dram0.data 14220 14228 8 0.1
.flash.rodata 197136 197168 32 0.0
.flash.text 957806 958018 212 0.0
m5stack (read only) 1012927 1013119 192 0.0
(read/write) 461084 461116 32 0.0
.flash.rodata 226088 226120 32 0.0
.flash.text 1007543 1007735 192 0.0
k32w light k32w061+release (read/write) 694580 694776 196 0.0
.data 1924 1928 4 0.2
.text 609704 609896 192 0.0
lock k32w061+release (read/write) 695440 695636 196 0.0
.data 1964 1968 4 0.2
.text 610604 610796 192 0.0
linux all-clusters-app debug (read only) 2430913 2431905 992 0.0
.rodata 205797 205925 128 0.1
.text 2062130 2062994 864 0.0
bridge-app debug+rpc (read only) 1736245 1737205 960 0.1
(read/write) 92784 92816 32 0.0
.data 2016 2048 32 1.6
.rodata 141996 142092 96 0.1
.text 1478277 1479141 864 0.1
chip-tool debug (read only) 10093221 10093333 112 0.0
.text 8796117 8796229 112 0.0
chip-tool-ipv6only arm64 (read only) 9729164 9729292 128 0.0
(read/write) 475953 475969 16 0.0
.data 1200 1208 8 0.7
.text 8185876 8186004 128 0.0
door-lock-app debug (read only) 1950529 1951521 992 0.1
.rodata 173916 174044 128 0.1
.text 1627970 1628834 864 0.1
lighting-app debug+rpc (read only) 2082713 2083689 976 0.0
.rodata 166108 166236 128 0.1
.text 1760946 1761794 848 0.0
ota-provider-app debug (read only) 1883945 1884969 1024 0.1
.rodata 159123 159283 160 0.1
.text 1574098 1574962 864 0.1
ota-requestor-app debug (read only) 1911817 1912793 976 0.1
.rodata 155116 155244 128 0.1
.text 1605826 1606674 848 0.1
shell debug (read only) 2396961 2397937 976 0.0
(read/write) 150088 150120 32 0.0
.data 864 880 16 1.9
.rodata 205778 205906 128 0.1
.text 2034610 2035458 848 0.0
thermostat-no-ble arm64 (read only) 2179068 2180124 1056 0.0
(read/write) 148801 148833 32 0.0
.bss 65393 65409 16 0.0
.data 1048 1056 8 0.8
.rodata 133164 133196 32 0.0
.text 1827328 1828352 1024 0.1
tv-app debug (read only) 2622633 2623625 992 0.0
(read/write) 250360 250392 32 0.0
.data 3168 3200 32 1.0
.rodata 199421 199549 128 0.1
.text 2249122 2249986 864 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351580 2351828 248 0.0
.data 5792 5800 8 0.1
.text 1314180 1314428 248 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151783 1151979 196 0.0
rodata 144480 144508 28 0.0
text 785852 786004 152 0.0
p6 all-clusters-app default (read/write) 2494400 2494640 240 0.0
.data 2680 2688 8 0.3
.text 1452664 1452904 240 0.0
light-app default (read/write) 2398416 2398656 240 0.0
.data 2536 2544 8 0.3
.text 1356680 1356920 240 0.0
lock-app default (read/write) 2361960 2362200 240 0.0
.data 2496 2504 8 0.3
.text 1320224 1320464 240 0.0
telink lighting-app tlsr9518adk80d (read/write) 888946 889162 216 0.0
text 628194 628384 190 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6b7d009 8d2b122 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598210 598378 168 0.0
.app_xip_area 505792 505960 168 0.0
.bss 75108 75108 0 0.0
.data 652 656 4 0.6
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 556078 556258 180 0.0
.app_xip_area 465196 465368 172 0.0
.bss 73612 73612 0 0.0
.data 616 620 4 0.6
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 565986 566170 184 0.0
.app_xip_area 465416 465592 176 0.0
.bss 82980 82980 0 0.0
.data 552 556 4 0.7
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 919928 920168 240 0.0
(read/write) 128256 128264 8 0.0
.bss 126216 126216 0 0.0
.data 2040 2044 4 0.2
.text 919920 920160 240 0.0
BRD4161A+rpc (read only) 948740 948980 240 0.0
(read/write) 144212 144216 4 0.0
.bss 141992 141992 0 0.0
.data 2220 2224 4 0.2
.text 948732 948972 240 0.0
window-app BRD4161A (read only) 852468 852708 240 0.0
(read/write) 126220 126224 4 0.0
.bss 124304 124304 0 0.0
.data 1916 1920 4 0.2
.text 852460 852700 240 0.0
esp32 all-clusters-app c3devkit (read only) 957806 958018 212 0.0
(read/write) 1393850 1393898 48 0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14228 8 0.1
.flash.rodata 197136 197168 32 0.0
.flash.text 957806 958018 212 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1012927 1013119 192 0.0
(read/write) 461084 461116 32 0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226088 226120 32 0.0
.flash.text 1007543 1007735 192 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 694580 694776 196 0.0
.bss 77152 77152 0 0.0
.data 1924 1928 4 0.2
.text 609704 609896 192 0.0
lock k32w061+release (read/write) 695440 695636 196 0.0
.bss 77072 77072 0 0.0
.data 1964 1968 4 0.2
.text 610604 610796 192 0.0
linux all-clusters-app debug (read only) 2430913 2431905 992 0.0
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205797 205925 128 0.1
.text 2062130 2062994 864 0.0
bridge-app debug+rpc (read only) 1736245 1737205 960 0.1
(read/write) 92784 92816 32 0.0
.bss 47624 47624 0 0.0
.data 2016 2048 32 1.6
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141996 142092 96 0.1
.text 1478277 1479141 864 0.1
chip-tool debug (read only) 10093221 10093333 112 0.0
(read/write) 358168 358168 0 0.0
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 325352 325352 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514420 514420 0 0.0
.text 8796117 8796229 112 0.0
chip-tool-ipv6only arm64 (read only) 9729164 9729292 128 0.0
(read/write) 475953 475969 16 0.0
.bss 43953 43953 0 0.0
.data 1200 1208 8 0.7
.data.rel.ro 371712 371712 0 0.0
.dynamic 560 560 0 0.0
.got 55296 55296 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 492116 492116 0 0.0
.text 8185876 8186004 128 0.0
door-lock-app debug (read only) 1950529 1951521 992 0.1
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173916 174044 128 0.1
.text 1627970 1628834 864 0.1
lighting-app debug+rpc (read only) 2082713 2083689 976 0.0
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166108 166236 128 0.1
.text 1760946 1761794 848 0.0
ota-provider-app debug (read only) 1883945 1884969 1024 0.1
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159123 159283 160 0.1
.text 1574098 1574962 864 0.1
ota-requestor-app debug (read only) 1911817 1912793 976 0.1
(read/write) 117992 117992 0 0.0
.bss 51552 51552 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 59512 59512 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 155116 155244 128 0.1
.text 1605826 1606674 848 0.1
shell debug (read only) 2396961 2397937 976 0.0
(read/write) 150088 150120 32 0.0
.bss 70472 70472 0 0.0
.data 864 880 16 1.9
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205778 205906 128 0.1
.text 2034610 2035458 848 0.0
thermostat-no-ble arm64 (read only) 2179068 2180124 1056 0.0
(read/write) 148801 148833 32 0.0
.bss 65393 65409 16 0.0
.data 1048 1056 8 0.8
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4232 4232 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133164 133196 32 0.0
.text 1827328 1828352 1024 0.1
tv-app debug (read only) 2622633 2623625 992 0.0
(read/write) 250360 250392 32 0.0
.bss 167520 167520 0 0.0
.data 3168 3200 32 1.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199421 199549 128 0.1
.text 2249122 2249986 864 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351580 2351828 248 0.0
.bss 186212 186212 0 0.0
.data 5792 5800 8 0.1
.text 1314180 1314428 248 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151783 1151979 196 0.0
bss 146208 146208 0 0.0
rodata 144480 144508 28 0.0
text 785852 786004 152 0.0
p6 all-clusters-app default (read/write) 2494400 2494640 240 0.0
.bss 119640 119640 0 0.0
.data 2680 2688 8 0.3
.text 1452664 1452904 240 0.0
light-app default (read/write) 2398416 2398656 240 0.0
.bss 113104 113104 0 0.0
.data 2536 2544 8 0.3
.text 1356680 1356920 240 0.0
lock-app default (read/write) 2361960 2362200 240 0.0
.bss 112848 112848 0 0.0
.data 2496 2504 8 0.3
.text 1320224 1320464 240 0.0
telink lighting-app tlsr9518adk80d (read/write) 888946 889162 216 0.0
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 628194 628384 190 0.0

@github-actions
Copy link

github-actions bot commented Mar 10, 2022

PR #16070: Size comparison from 6b7d009 to 9b0e1a2

Increases (26 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6b7d009 9b0e1a2 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598210 598214 4 0.0
.app_xip_area 505792 505804 12 0.0
.bss 75108 75116 8 0.0
lock cyw930739m2evb_01 (read/write) 556078 556094 16 0.0
.app_xip_area 465196 465212 16 0.0
.bss 73612 73620 8 0.0
ota-requestor cyw930739m2evb_01 (read/write) 565986 565998 12 0.0
.app_xip_area 465416 465428 12 0.0
.bss 82980 82988 8 0.0
efr32 lighting-app BRD4161A (read only) 919928 920152 224 0.0
.bss 126216 126224 8 0.0
.text 919920 920144 224 0.0
BRD4161A+rpc (read only) 948740 948964 224 0.0
.bss 141992 142000 8 0.0
.text 948732 948956 224 0.0
window-app BRD4161A (read only) 852468 852708 240 0.0
.bss 124304 124312 8 0.0
.text 852460 852700 240 0.0
esp32 all-clusters-app c3devkit (read only) 957806 957946 140 0.0
.dram0.bss 63576 63584 8 0.0
.flash.text 957806 957946 140 0.0
m5stack (read only) 1012927 1013039 112 0.0
.dram0.bss 69096 69104 8 0.0
.flash.text 1007543 1007655 112 0.0
k32w light k32w061+release (read/write) 694580 694616 36 0.0
.bss 77152 77160 8 0.0
.text 609704 609744 40 0.0
lock k32w061+release (read/write) 695440 695476 36 0.0
.bss 77072 77080 8 0.0
.text 610604 610644 40 0.0
linux all-clusters-app debug (read only) 2430913 2431585 672 0.0
.rodata 205797 205829 32 0.0
.text 2062130 2062818 688 0.0
bridge-app debug+rpc (read only) 1736245 1736917 672 0.0
.rodata 141996 142028 32 0.0
.text 1478277 1478965 688 0.0
chip-tool-ipv6only arm64 .bss 43953 43969 16 0.0
door-lock-app debug (read only) 1950529 1951201 672 0.0
.rodata 173916 173948 32 0.0
.text 1627970 1628658 688 0.0
lighting-app debug+rpc (read only) 2082713 2083369 656 0.0
.rodata 166108 166140 32 0.0
.text 1760946 1761618 672 0.0
ota-provider-app debug (read only) 1883945 1884633 688 0.0
.bss 50464 50496 32 0.1
.rodata 159123 159187 64 0.0
.text 1574098 1574770 672 0.0
ota-requestor-app debug (read only) 1911817 1912473 656 0.0
.bss 51552 51584 32 0.1
.rodata 155116 155148 32 0.0
.text 1605826 1606498 672 0.0
shell debug (read only) 2396961 2397617 656 0.0
.rodata 205778 205810 32 0.0
.text 2034610 2035282 672 0.0
thermostat-no-ble arm64 .bss 65393 65425 32 0.0
.rodata 133164 133196 32 0.0
.text 1827328 1827456 128 0.0
tv-app debug (read only) 2622633 2623305 672 0.0
.rodata 199421 199453 32 0.0
.text 2249122 2249810 688 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351580 2351692 112 0.0
.bss 186212 186220 8 0.0
.text 1314180 1314292 112 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151783 1151811 28 0.0
bss 146208 146216 8 0.0
text 785852 785924 72 0.0
p6 all-clusters-app default (read/write) 2494400 2494608 208 0.0
.bss 119640 119648 8 0.0
.text 1452664 1452872 208 0.0
light-app default (read/write) 2398416 2398640 224 0.0
.bss 113104 113112 8 0.0
.text 1356680 1356904 224 0.0
lock-app default (read/write) 2361960 2362184 224 0.0
.bss 112848 112856 8 0.0
.text 1320224 1320448 224 0.0
telink lighting-app tlsr9518adk80d (read/write) 888946 889010 64 0.0
bss 86968 86976 8 0.0
text 628194 628318 124 0.0
Decreases (24 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6)
platform target config section 6b7d009 9b0e1a2 change % change
cyw30739 light cyw930739m2evb_01 .data 652 640 -12 -1.8
lock cyw930739m2evb_01 .data 616 604 -12 -1.9
ota-requestor cyw930739m2evb_01 .data 552 540 -12 -2.2
efr32 lighting-app BRD4161A .data 2040 2028 -12 -0.6
BRD4161A+rpc (read/write) 144212 144208 -4 -0.0
.data 2220 2208 -12 -0.5
window-app BRD4161A (read/write) 126220 126216 -4 -0.0
.data 1916 1904 -12 -0.6
esp32 all-clusters-app c3devkit (read/write) 1393850 1393810 -40 -0.0
.dram0.data 14220 14212 -8 -0.1
.flash.rodata 197136 197096 -40 -0.0
m5stack (read/write) 461084 461036 -48 -0.0
.dram0.data 34064 34048 -16 -0.0
.flash.rodata 226088 226048 -40 -0.0
k32w light k32w061+release .data 1924 1912 -12 -0.6
lock k32w061+release .data 1964 1952 -12 -0.6
linux all-clusters-app debug (read/write) 145872 145840 -32 -0.0
.data 1360 1328 -32 -2.4
chip-tool debug (read only) 10093221 10092069 -1152 -0.0
(read/write) 358168 357976 -192 -0.1
.data 1152 1120 -32 -2.8
.data.rel.ro 325352 325208 -144 -0.0
.text 8796117 8795397 -720 -0.0
chip-tool-ipv6only arm64 (read only) 9729164 9727964 -1200 -0.0
(read/write) 475953 475793 -160 -0.0
.data 1200 1176 -24 -2.0
.data.rel.ro 371712 371568 -144 -0.0
.got 55296 55280 -16 -0.0
.text 8185876 8185156 -720 -0.0
door-lock-app debug (read/write) 119296 119264 -32 -0.0
.data 1056 1024 -32 -3.0
lighting-app debug+rpc (read/write) 124616 124584 -32 -0.0
.data 1536 1504 -32 -2.1
ota-provider-app debug .data 1320 1288 -32 -2.4
ota-requestor-app debug .data 1480 1448 -32 -2.2
shell debug .data 864 848 -16 -1.9
thermostat-no-ble arm64 (read only) 2179068 2178748 -320 -0.0
(read/write) 148801 148657 -144 -0.1
.data 1048 1024 -24 -2.3
.data.rel.ro 75160 75016 -144 -0.2
.got 4232 4216 -16 -0.4
mbed lock-app CY8CPROTO_062_4343W+release .data 5792 5784 -8 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 144480 144436 -44 -0.0
p6 all-clusters-app default .data 2680 2672 -8 -0.3
light-app default .data 2536 2528 -8 -0.3
lock-app default .data 2496 2488 -8 -0.3
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6b7d009 9b0e1a2 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598210 598214 4 0.0
.app_xip_area 505792 505804 12 0.0
.bss 75108 75116 8 0.0
.data 652 640 -12 -1.8
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 556078 556094 16 0.0
.app_xip_area 465196 465212 16 0.0
.bss 73612 73620 8 0.0
.data 616 604 -12 -1.9
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 565986 565998 12 0.0
.app_xip_area 465416 465428 12 0.0
.bss 82980 82988 8 0.0
.data 552 540 -12 -2.2
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 919928 920152 224 0.0
(read/write) 128256 128256 0 0.0
.bss 126216 126224 8 0.0
.data 2040 2028 -12 -0.6
.text 919920 920144 224 0.0
BRD4161A+rpc (read only) 948740 948964 224 0.0
(read/write) 144212 144208 -4 -0.0
.bss 141992 142000 8 0.0
.data 2220 2208 -12 -0.5
.text 948732 948956 224 0.0
window-app BRD4161A (read only) 852468 852708 240 0.0
(read/write) 126220 126216 -4 -0.0
.bss 124304 124312 8 0.0
.data 1916 1904 -12 -0.6
.text 852460 852700 240 0.0
esp32 all-clusters-app c3devkit (read only) 957806 957946 140 0.0
(read/write) 1393850 1393810 -40 -0.0
.dram0.bss 63576 63584 8 0.0
.dram0.data 14220 14212 -8 -0.1
.flash.rodata 197136 197096 -40 -0.0
.flash.text 957806 957946 140 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1012927 1013039 112 0.0
(read/write) 461084 461036 -48 -0.0
.dram0.bss 69096 69104 8 0.0
.dram0.data 34064 34048 -16 -0.0
.flash.rodata 226088 226048 -40 -0.0
.flash.text 1007543 1007655 112 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 694580 694616 36 0.0
.bss 77152 77160 8 0.0
.data 1924 1912 -12 -0.6
.text 609704 609744 40 0.0
lock k32w061+release (read/write) 695440 695476 36 0.0
.bss 77072 77080 8 0.0
.data 1964 1952 -12 -0.6
.text 610604 610644 40 0.0
linux all-clusters-app debug (read only) 2430913 2431585 672 0.0
(read/write) 145872 145840 -32 -0.0
.bss 60352 60352 0 0.0
.data 1360 1328 -32 -2.4
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205797 205829 32 0.0
.text 2062130 2062818 688 0.0
bridge-app debug+rpc (read only) 1736245 1736917 672 0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141996 142028 32 0.0
.text 1478277 1478965 688 0.0
chip-tool debug (read only) 10093221 10092069 -1152 -0.0
(read/write) 358168 357976 -192 -0.1
.bss 25640 25640 0 0.0
.data 1152 1120 -32 -2.8
.data.rel.ro 325352 325208 -144 -0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514420 514420 0 0.0
.text 8796117 8795397 -720 -0.0
chip-tool-ipv6only arm64 (read only) 9729164 9727964 -1200 -0.0
(read/write) 475953 475793 -160 -0.0
.bss 43953 43969 16 0.0
.data 1200 1176 -24 -2.0
.data.rel.ro 371712 371568 -144 -0.0
.dynamic 560 560 0 0.0
.got 55296 55280 -16 -0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 492116 492116 0 0.0
.text 8185876 8185156 -720 -0.0
door-lock-app debug (read only) 1950529 1951201 672 0.0
(read/write) 119296 119264 -32 -0.0
.bss 50656 50656 0 0.0
.data 1056 1024 -32 -3.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173916 173948 32 0.0
.text 1627970 1628658 688 0.0
lighting-app debug+rpc (read only) 2082713 2083369 656 0.0
(read/write) 124616 124584 -32 -0.0
.bss 51456 51456 0 0.0
.data 1536 1504 -32 -2.1
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166108 166140 32 0.0
.text 1760946 1761618 672 0.0
ota-provider-app debug (read only) 1883945 1884633 688 0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50496 32 0.1
.data 1320 1288 -32 -2.4
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159123 159187 64 0.0
.text 1574098 1574770 672 0.0
ota-requestor-app debug (read only) 1911817 1912473 656 0.0
(read/write) 117992 117992 0 0.0
.bss 51552 51584 32 0.1
.data 1480 1448 -32 -2.2
.data.rel.ro 59512 59512 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 155116 155148 32 0.0
.text 1605826 1606498 672 0.0
shell debug (read only) 2396961 2397617 656 0.0
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 848 -16 -1.9
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205778 205810 32 0.0
.text 2034610 2035282 672 0.0
thermostat-no-ble arm64 (read only) 2179068 2178748 -320 -0.0
(read/write) 148801 148657 -144 -0.1
.bss 65393 65425 32 0.0
.data 1048 1024 -24 -2.3
.data.rel.ro 75160 75016 -144 -0.2
.dynamic 560 560 0 0.0
.got 4232 4216 -16 -0.4
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133164 133196 32 0.0
.text 1827328 1827456 128 0.0
tv-app debug (read only) 2622633 2623305 672 0.0
(read/write) 250360 250360 0 0.0
.bss 167520 167520 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199421 199453 32 0.0
.text 2249122 2249810 688 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351580 2351692 112 0.0
.bss 186212 186220 8 0.0
.data 5792 5784 -8 -0.1
.text 1314180 1314292 112 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151783 1151811 28 0.0
bss 146208 146216 8 0.0
rodata 144480 144436 -44 -0.0
text 785852 785924 72 0.0
p6 all-clusters-app default (read/write) 2494400 2494608 208 0.0
.bss 119640 119648 8 0.0
.data 2680 2672 -8 -0.3
.text 1452664 1452872 208 0.0
light-app default (read/write) 2398416 2398640 224 0.0
.bss 113104 113112 8 0.0
.data 2536 2528 -8 -0.3
.text 1356680 1356904 224 0.0
lock-app default (read/write) 2361960 2362184 224 0.0
.bss 112848 112856 8 0.0
.data 2496 2488 -8 -0.3
.text 1320224 1320448 224 0.0
telink lighting-app tlsr9518adk80d (read/write) 888946 889010 64 0.0
bss 86968 86976 8 0.0
noinit 37160 37160 0 0.0
text 628194 628318 124 0.0

src/access/AccessControl.cpp Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Mar 10, 2022

PR #16070: Size comparison from 6b7d009 to aacd6f5

Increases above 0.2%:

platform target config section 6b7d009 aacd6f53 change % change
linux all-clusters-app debug (read only) 2430913 2436097 5184 0.2
.text 2062130 2067170 5040 0.2
bridge-app debug+rpc (read only) 1736245 1741445 5200 0.3
.text 1478277 1483365 5088 0.3
door-lock-app debug (read only) 1950529 1955761 5232 0.3
.text 1627970 1633058 5088 0.3
lighting-app debug+rpc (read only) 2082713 2087897 5184 0.2
.text 1760946 1766018 5072 0.3
ota-provider-app debug (read only) 1883945 1889177 5232 0.3
.text 1574098 1579186 5088 0.3
ota-requestor-app debug (read only) 1911817 1917017 5200 0.3
.text 1605826 1610914 5088 0.3
shell debug (read only) 2396961 2402113 5152 0.2
.text 2034610 2039650 5040 0.2
thermostat-no-ble arm64 .got 4232 4256 24 0.6
tv-app debug .text 2249122 2254162 5040 0.2
Increases (26 builds for cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
platform target config section 6b7d009 aacd6f53 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598210 599094 884 0.1
.app_xip_area 505792 506692 900 0.2
lock cyw930739m2evb_01 (read/write) 556078 556978 900 0.2
.app_xip_area 465196 466104 908 0.2
ota-requestor cyw930739m2evb_01 (read/write) 565986 566870 884 0.2
.app_xip_area 465416 466308 892 0.2
efr32 lighting-app BRD4161A (read only) 919928 921160 1232 0.1
.bss 126216 126224 8 0.0
.text 919920 921152 1232 0.1
BRD4161A+rpc (read only) 948740 949972 1232 0.1
.bss 141992 142000 8 0.0
.text 948732 949964 1232 0.1
window-app BRD4161A (read only) 852468 853700 1232 0.1
.bss 124304 124312 8 0.0
.text 852460 853692 1232 0.1
esp32 all-clusters-app c3devkit (read only) 957806 958512 706 0.1
(read/write) 1393850 1393858 8 0.0
.dram0.bss 63576 63584 8 0.0
.flash.rodata 197136 197144 8 0.0
.flash.text 957806 958512 706 0.1
m5stack (read only) 1012927 1014107 1180 0.1
(read/write) 461084 461092 8 0.0
.dram0.bss 69096 69104 8 0.0
.flash.rodata 226088 226104 16 0.0
.flash.text 1007543 1008723 1180 0.1
k32w light k32w061+release (read/write) 694580 695500 920 0.1
.bss 77152 77160 8 0.0
.text 609704 610628 924 0.2
lock k32w061+release (read/write) 695440 696360 920 0.1
.bss 77072 77080 8 0.0
.text 610604 611528 924 0.2
linux all-clusters-app debug (read only) 2430913 2436097 5184 0.2
.rodata 205797 205989 192 0.1
.text 2062130 2067170 5040 0.2
bridge-app debug+rpc (read only) 1736245 1741445 5200 0.3
.rodata 141996 142156 160 0.1
.text 1478277 1483365 5088 0.3
chip-tool debug (read only) 10093221 10096133 2912 0.0
.rodata 514420 514516 96 0.0
.text 8796117 8799365 3248 0.0
chip-tool-ipv6only arm64 (read only) 9729164 9729660 496 0.0
.rodata 492116 492148 32 0.0
.text 8185876 8186868 992 0.0
door-lock-app debug (read only) 1950529 1955761 5232 0.3
.rodata 173916 174108 192 0.1
.text 1627970 1633058 5088 0.3
lighting-app debug+rpc (read only) 2082713 2087897 5184 0.2
.rodata 166108 166268 160 0.1
.text 1760946 1766018 5072 0.3
ota-provider-app debug (read only) 1883945 1889177 5232 0.3
.bss 50464 50496 32 0.1
.rodata 159123 159315 192 0.1
.text 1574098 1579186 5088 0.3
ota-requestor-app debug (read only) 1911817 1917017 5200 0.3
.bss 51552 51584 32 0.1
.rodata 155116 155276 160 0.1
.text 1605826 1610914 5088 0.3
shell debug (read only) 2396961 2402113 5152 0.2
.rodata 205778 205938 160 0.1
.text 2034610 2039650 5040 0.2
thermostat-no-ble arm64 (read only) 2179068 2180836 1768 0.1
.bss 65393 65409 16 0.0
.got 4232 4256 24 0.6
.rodata 133164 133220 56 0.0
.text 1827328 1829456 2128 0.1
tv-app debug (read only) 2622633 2627785 5152 0.2
.rodata 199421 199581 160 0.1
.text 2249122 2254162 5040 0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151783 1152691 908 0.1
bss 146208 146212 4 0.0
rodata 144480 144516 36 0.0
text 785852 786732 880 0.1
p6 all-clusters-app default (read/write) 2494400 2495616 1216 0.0
.text 1452664 1453880 1216 0.1
light-app default (read/write) 2398416 2399632 1216 0.1
.text 1356680 1357896 1216 0.1
lock-app default (read/write) 2361960 2363192 1232 0.1
.text 1320224 1321456 1232 0.1
telink lighting-app tlsr9518adk80d (read/write) 888946 889750 804 0.1
bss 86968 86976 8 0.0
text 628194 628956 762 0.1
Decreases (22 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6)
platform target config section 6b7d009 aacd6f53 change % change
cyw30739 light cyw930739m2evb_01 .data 652 640 -12 -1.8
lock cyw930739m2evb_01 .data 616 604 -12 -1.9
ota-requestor cyw930739m2evb_01 .data 552 540 -12 -2.2
efr32 lighting-app BRD4161A .data 2040 2028 -12 -0.6
BRD4161A+rpc (read/write) 144212 144208 -4 -0.0
.data 2220 2208 -12 -0.5
window-app BRD4161A (read/write) 126220 126216 -4 -0.0
.data 1916 1904 -12 -0.6
esp32 all-clusters-app m5stack .dram0.data 34064 34048 -16 -0.0
k32w light k32w061+release .data 1924 1912 -12 -0.6
lock k32w061+release .data 1964 1952 -12 -0.6
linux all-clusters-app debug (read/write) 145872 145840 -32 -0.0
.data 1360 1328 -32 -2.4
chip-tool debug (read/write) 358168 357976 -192 -0.1
.data 1152 1120 -32 -2.8
.data.rel.ro 325352 325208 -144 -0.0
chip-tool-ipv6only arm64 (read/write) 475953 475729 -224 -0.0
.data 1200 1176 -24 -2.0
.data.rel.ro 371712 371520 -192 -0.1
.got 55296 55280 -16 -0.0
door-lock-app debug (read/write) 119296 119264 -32 -0.0
.data 1056 1024 -32 -3.0
lighting-app debug+rpc (read/write) 124616 124584 -32 -0.0
.data 1536 1504 -32 -2.1
ota-provider-app debug .data 1320 1288 -32 -2.4
ota-requestor-app debug .data 1480 1448 -32 -2.2
shell debug .data 864 848 -16 -1.9
thermostat-no-ble arm64 (read/write) 148801 148625 -176 -0.1
.data 1048 1024 -24 -2.3
.data.rel.ro 75160 74968 -192 -0.3
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351580 2351012 -568 -0.0
.data 5792 5784 -8 -0.1
.text 1314180 1313612 -568 -0.0
p6 all-clusters-app default .data 2680 2672 -8 -0.3
light-app default .data 2536 2528 -8 -0.3
lock-app default .data 2496 2488 -8 -0.3
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6b7d009 aacd6f53 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598210 599094 884 0.1
.app_xip_area 505792 506692 900 0.2
.bss 75108 75108 0 0.0
.data 652 640 -12 -1.8
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 556078 556978 900 0.2
.app_xip_area 465196 466104 908 0.2
.bss 73612 73612 0 0.0
.data 616 604 -12 -1.9
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 565986 566870 884 0.2
.app_xip_area 465416 466308 892 0.2
.bss 82980 82980 0 0.0
.data 552 540 -12 -2.2
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 919928 921160 1232 0.1
(read/write) 128256 128256 0 0.0
.bss 126216 126224 8 0.0
.data 2040 2028 -12 -0.6
.text 919920 921152 1232 0.1
BRD4161A+rpc (read only) 948740 949972 1232 0.1
(read/write) 144212 144208 -4 -0.0
.bss 141992 142000 8 0.0
.data 2220 2208 -12 -0.5
.text 948732 949964 1232 0.1
window-app BRD4161A (read only) 852468 853700 1232 0.1
(read/write) 126220 126216 -4 -0.0
.bss 124304 124312 8 0.0
.data 1916 1904 -12 -0.6
.text 852460 853692 1232 0.1
esp32 all-clusters-app c3devkit (read only) 957806 958512 706 0.1
(read/write) 1393850 1393858 8 0.0
.dram0.bss 63576 63584 8 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197136 197144 8 0.0
.flash.text 957806 958512 706 0.1
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1012927 1014107 1180 0.1
(read/write) 461084 461092 8 0.0
.dram0.bss 69096 69104 8 0.0
.dram0.data 34064 34048 -16 -0.0
.flash.rodata 226088 226104 16 0.0
.flash.text 1007543 1008723 1180 0.1
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 694580 695500 920 0.1
.bss 77152 77160 8 0.0
.data 1924 1912 -12 -0.6
.text 609704 610628 924 0.2
lock k32w061+release (read/write) 695440 696360 920 0.1
.bss 77072 77080 8 0.0
.data 1964 1952 -12 -0.6
.text 610604 611528 924 0.2
linux all-clusters-app debug (read only) 2430913 2436097 5184 0.2
(read/write) 145872 145840 -32 -0.0
.bss 60352 60352 0 0.0
.data 1360 1328 -32 -2.4
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205797 205989 192 0.1
.text 2062130 2067170 5040 0.2
bridge-app debug+rpc (read only) 1736245 1741445 5200 0.3
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141996 142156 160 0.1
.text 1478277 1483365 5088 0.3
chip-tool debug (read only) 10093221 10096133 2912 0.0
(read/write) 358168 357976 -192 -0.1
.bss 25640 25640 0 0.0
.data 1152 1120 -32 -2.8
.data.rel.ro 325352 325208 -144 -0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514420 514516 96 0.0
.text 8796117 8799365 3248 0.0
chip-tool-ipv6only arm64 (read only) 9729164 9729660 496 0.0
(read/write) 475953 475729 -224 -0.0
.bss 43953 43953 0 0.0
.data 1200 1176 -24 -2.0
.data.rel.ro 371712 371520 -192 -0.1
.dynamic 560 560 0 0.0
.got 55296 55280 -16 -0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 492116 492148 32 0.0
.text 8185876 8186868 992 0.0
door-lock-app debug (read only) 1950529 1955761 5232 0.3
(read/write) 119296 119264 -32 -0.0
.bss 50656 50656 0 0.0
.data 1056 1024 -32 -3.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173916 174108 192 0.1
.text 1627970 1633058 5088 0.3
lighting-app debug+rpc (read only) 2082713 2087897 5184 0.2
(read/write) 124616 124584 -32 -0.0
.bss 51456 51456 0 0.0
.data 1536 1504 -32 -2.1
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166108 166268 160 0.1
.text 1760946 1766018 5072 0.3
ota-provider-app debug (read only) 1883945 1889177 5232 0.3
(read/write) 114896 114896 0 0.0
.bss 50464 50496 32 0.1
.data 1320 1288 -32 -2.4
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159123 159315 192 0.1
.text 1574098 1579186 5088 0.3
ota-requestor-app debug (read only) 1911817 1917017 5200 0.3
(read/write) 117992 117992 0 0.0
.bss 51552 51584 32 0.1
.data 1480 1448 -32 -2.2
.data.rel.ro 59512 59512 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 155116 155276 160 0.1
.text 1605826 1610914 5088 0.3
shell debug (read only) 2396961 2402113 5152 0.2
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 848 -16 -1.9
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205778 205938 160 0.1
.text 2034610 2039650 5040 0.2
thermostat-no-ble arm64 (read only) 2179068 2180836 1768 0.1
(read/write) 148801 148625 -176 -0.1
.bss 65393 65409 16 0.0
.data 1048 1024 -24 -2.3
.data.rel.ro 75160 74968 -192 -0.3
.dynamic 560 560 0 0.0
.got 4232 4256 24 0.6
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133164 133220 56 0.0
.text 1827328 1829456 2128 0.1
tv-app debug (read only) 2622633 2627785 5152 0.2
(read/write) 250360 250360 0 0.0
.bss 167520 167520 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199421 199581 160 0.1
.text 2249122 2254162 5040 0.2
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351580 2351012 -568 -0.0
.bss 186212 186212 0 0.0
.data 5792 5784 -8 -0.1
.text 1314180 1313612 -568 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151783 1152691 908 0.1
bss 146208 146212 4 0.0
rodata 144480 144516 36 0.0
text 785852 786732 880 0.1
p6 all-clusters-app default (read/write) 2494400 2495616 1216 0.0
.bss 119640 119640 0 0.0
.data 2680 2672 -8 -0.3
.text 1452664 1453880 1216 0.1
light-app default (read/write) 2398416 2399632 1216 0.1
.bss 113104 113104 0 0.0
.data 2536 2528 -8 -0.3
.text 1356680 1357896 1216 0.1
lock-app default (read/write) 2361960 2363192 1232 0.1
.bss 112848 112848 0 0.0
.data 2496 2488 -8 -0.3
.text 1320224 1321456 1232 0.1
telink lighting-app tlsr9518adk80d (read/write) 888946 889750 804 0.1
bss 86968 86976 8 0.0
noinit 37160 37160 0 0.0
text 628194 628956 762 0.1

@github-actions
Copy link

github-actions bot commented Mar 10, 2022

PR #16070: Size comparison from 665a4ae to 3da3786

Increases (22 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 665a4ae 3da3786 change % change
efr32 lighting-app BRD4161A (read only) 921016 921192 176 0.0
.bss 126216 126224 8 0.0
.text 921008 921184 176 0.0
BRD4161A+rpc (read only) 949828 950020 192 0.0
.bss 141992 142000 8 0.0
.text 949820 950012 192 0.0
window-app BRD4161A (read only) 853556 853732 176 0.0
.bss 124304 124312 8 0.0
.text 853548 853724 176 0.0
esp32 all-clusters-app c3devkit (read only) 958466 958524 58 0.0
.dram0.bss 63576 63584 8 0.0
.flash.text 958466 958524 58 0.0
m5stack (read only) 1014067 1014127 60 0.0
.dram0.bss 69096 69104 8 0.0
.flash.text 1008683 1008743 60 0.0
k32w light k32w061+release (read/write) 695512 695516 4 0.0
.bss 77152 77160 8 0.0
.text 610636 610644 8 0.0
lock k32w061+release (read/write) 696356 696360 4 0.0
.bss 77072 77080 8 0.0
.text 611520 611528 8 0.0
linux all-clusters-app debug (read only) 2436177 2436881 704 0.0
.rodata 206181 206213 32 0.0
.text 2067010 2067730 720 0.0
bridge-app debug+rpc (read only) 1741461 1742165 704 0.0
.rodata 142316 142348 32 0.0
.text 1483173 1483893 720 0.0
door-lock-app debug (read only) 1955841 1956545 704 0.0
.rodata 174300 174332 32 0.0
.text 1632898 1633618 720 0.0
lighting-app debug+rpc (read only) 2087977 2088681 704 0.0
.rodata 166460 166492 32 0.0
.text 1765858 1766578 720 0.0
ota-provider-app debug (read only) 1889225 1889961 736 0.0
.bss 50464 50496 32 0.1
.rodata 159475 159539 64 0.0
.text 1579026 1579746 720 0.0
ota-requestor-app debug (read only) 1917097 1917801 704 0.0
.bss 51552 51584 32 0.1
.rodata 155468 155500 32 0.0
.text 1610754 1611474 720 0.0
shell debug (read only) 2402177 2402881 704 0.0
.rodata 206130 206162 32 0.0
.text 2039474 2040194 720 0.0
thermostat-no-ble arm64 .bss 65393 65409 16 0.0
.rodata 133412 133444 32 0.0
.text 1829856 1829984 128 0.0
tv-app debug (read only) 2627817 2628553 736 0.0
.rodata 199741 199805 64 0.0
.text 2253986 2254706 720 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2350964 2351012 48 0.0
.text 1313564 1313612 48 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 146208 146212 4 0.0
text 786700 786748 48 0.0
p6 all-clusters-app default (read/write) 2495504 2495680 176 0.0
.text 1453768 1453944 176 0.0
light-app default (read/write) 2399520 2399680 160 0.0
.text 1357784 1357944 160 0.0
lock-app default (read/write) 2363064 2363240 176 0.0
.text 1321328 1321504 176 0.0
telink lighting-app tlsr9518adk80d (read/write) 889758 889766 8 0.0
bss 86968 86976 8 0.0
text 628910 628970 60 0.0
Decreases (24 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6)
platform target config section 665a4ae 3da3786 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 599130 599102 -28 -0.0
.app_xip_area 506712 506700 -12 -0.0
.data 652 640 -12 -1.8
lock cyw930739m2evb_01 (read/write) 557010 556986 -24 -0.0
.app_xip_area 466128 466112 -16 -0.0
.data 616 604 -12 -1.9
ota-requestor cyw930739m2evb_01 (read/write) 566894 566878 -16 -0.0
.app_xip_area 466324 466316 -8 -0.0
.data 552 540 -12 -2.2
efr32 lighting-app BRD4161A .data 2040 2028 -12 -0.6
BRD4161A+rpc (read/write) 144212 144208 -4 -0.0
.data 2220 2208 -12 -0.5
window-app BRD4161A (read/write) 126220 126216 -4 -0.0
.data 1916 1904 -12 -0.6
esp32 all-clusters-app c3devkit (read/write) 1393914 1393858 -56 -0.0
.dram0.data 14228 14220 -8 -0.1
.flash.rodata 197184 197144 -40 -0.0
m5stack (read/write) 461140 461092 -48 -0.0
.dram0.data 34064 34048 -16 -0.0
.flash.rodata 226144 226104 -40 -0.0
k32w light k32w061+release .data 1924 1912 -12 -0.6
lock k32w061+release .data 1964 1952 -12 -0.6
linux all-clusters-app debug (read/write) 145872 145840 -32 -0.0
.data 1360 1328 -32 -2.4
chip-tool debug (read only) 10097253 10096133 -1120 -0.0
(read/write) 358168 357976 -192 -0.1
.data 1152 1120 -32 -2.8
.data.rel.ro 325352 325208 -144 -0.0
.text 8800053 8799365 -688 -0.0
chip-tool-ipv6only arm64 (read only) 9730828 9729660 -1168 -0.0
(read/write) 475905 475729 -176 -0.0
.data 1200 1176 -24 -2.0
.data.rel.ro 371664 371520 -144 -0.0
.got 55296 55280 -16 -0.0
.text 8187556 8186868 -688 -0.0
door-lock-app debug (read/write) 119296 119264 -32 -0.0
.data 1056 1024 -32 -3.0
lighting-app debug+rpc (read/write) 124616 124584 -32 -0.0
.data 1536 1504 -32 -2.1
ota-provider-app debug .data 1320 1288 -32 -2.4
ota-requestor-app debug .data 1480 1448 -32 -2.2
shell debug .data 864 848 -16 -1.9
thermostat-no-ble arm64 (read only) 2181908 2181588 -320 -0.0
(read/write) 148801 148625 -176 -0.1
.data 1048 1024 -24 -2.3
.data.rel.ro 75112 74968 -144 -0.2
.got 4272 4256 -16 -0.4
mbed lock-app CY8CPROTO_062_4343W+release .data 5792 5784 -8 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 144556 144516 -40 -0.0
p6 all-clusters-app default .data 2680 2672 -8 -0.3
light-app default .data 2536 2528 -8 -0.3
lock-app default .data 2496 2488 -8 -0.3
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 665a4ae 3da3786 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 599130 599102 -28 -0.0
.app_xip_area 506712 506700 -12 -0.0
.bss 75108 75108 0 0.0
.data 652 640 -12 -1.8
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 557010 556986 -24 -0.0
.app_xip_area 466128 466112 -16 -0.0
.bss 73612 73612 0 0.0
.data 616 604 -12 -1.9
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566894 566878 -16 -0.0
.app_xip_area 466324 466316 -8 -0.0
.bss 82980 82980 0 0.0
.data 552 540 -12 -2.2
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 921016 921192 176 0.0
(read/write) 128256 128256 0 0.0
.bss 126216 126224 8 0.0
.data 2040 2028 -12 -0.6
.text 921008 921184 176 0.0
BRD4161A+rpc (read only) 949828 950020 192 0.0
(read/write) 144212 144208 -4 -0.0
.bss 141992 142000 8 0.0
.data 2220 2208 -12 -0.5
.text 949820 950012 192 0.0
window-app BRD4161A (read only) 853556 853732 176 0.0
(read/write) 126220 126216 -4 -0.0
.bss 124304 124312 8 0.0
.data 1916 1904 -12 -0.6
.text 853548 853724 176 0.0
esp32 all-clusters-app c3devkit (read only) 958466 958524 58 0.0
(read/write) 1393914 1393858 -56 -0.0
.dram0.bss 63576 63584 8 0.0
.dram0.data 14228 14220 -8 -0.1
.flash.rodata 197184 197144 -40 -0.0
.flash.text 958466 958524 58 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1014067 1014127 60 0.0
(read/write) 461140 461092 -48 -0.0
.dram0.bss 69096 69104 8 0.0
.dram0.data 34064 34048 -16 -0.0
.flash.rodata 226144 226104 -40 -0.0
.flash.text 1008683 1008743 60 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 695512 695516 4 0.0
.bss 77152 77160 8 0.0
.data 1924 1912 -12 -0.6
.text 610636 610644 8 0.0
lock k32w061+release (read/write) 696356 696360 4 0.0
.bss 77072 77080 8 0.0
.data 1964 1952 -12 -0.6
.text 611520 611528 8 0.0
linux all-clusters-app debug (read only) 2436177 2436881 704 0.0
(read/write) 145872 145840 -32 -0.0
.bss 60352 60352 0 0.0
.data 1360 1328 -32 -2.4
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 206181 206213 32 0.0
.text 2067010 2067730 720 0.0
bridge-app debug+rpc (read only) 1741461 1742165 704 0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 142316 142348 32 0.0
.text 1483173 1483893 720 0.0
chip-tool debug (read only) 10097253 10096133 -1120 -0.0
(read/write) 358168 357976 -192 -0.1
.bss 25640 25640 0 0.0
.data 1152 1120 -32 -2.8
.data.rel.ro 325352 325208 -144 -0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514516 514516 0 0.0
.text 8800053 8799365 -688 -0.0
chip-tool-ipv6only arm64 (read only) 9730828 9729660 -1168 -0.0
(read/write) 475905 475729 -176 -0.0
.bss 43953 43953 0 0.0
.data 1200 1176 -24 -2.0
.data.rel.ro 371664 371520 -144 -0.0
.dynamic 560 560 0 0.0
.got 55296 55280 -16 -0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 492148 492148 0 0.0
.text 8187556 8186868 -688 -0.0
door-lock-app debug (read only) 1955841 1956545 704 0.0
(read/write) 119296 119264 -32 -0.0
.bss 50656 50656 0 0.0
.data 1056 1024 -32 -3.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 174300 174332 32 0.0
.text 1632898 1633618 720 0.0
lighting-app debug+rpc (read only) 2087977 2088681 704 0.0
(read/write) 124616 124584 -32 -0.0
.bss 51456 51456 0 0.0
.data 1536 1504 -32 -2.1
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166460 166492 32 0.0
.text 1765858 1766578 720 0.0
ota-provider-app debug (read only) 1889225 1889961 736 0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50496 32 0.1
.data 1320 1288 -32 -2.4
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159475 159539 64 0.0
.text 1579026 1579746 720 0.0
ota-requestor-app debug (read only) 1917097 1917801 704 0.0
(read/write) 117992 117992 0 0.0
.bss 51552 51584 32 0.1
.data 1480 1448 -32 -2.2
.data.rel.ro 59512 59512 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 155468 155500 32 0.0
.text 1610754 1611474 720 0.0
shell debug (read only) 2402177 2402881 704 0.0
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 848 -16 -1.9
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 206130 206162 32 0.0
.text 2039474 2040194 720 0.0
thermostat-no-ble arm64 (read only) 2181908 2181588 -320 -0.0
(read/write) 148801 148625 -176 -0.1
.bss 65393 65409 16 0.0
.data 1048 1024 -24 -2.3
.data.rel.ro 75112 74968 -144 -0.2
.dynamic 560 560 0 0.0
.got 4272 4256 -16 -0.4
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133412 133444 32 0.0
.text 1829856 1829984 128 0.0
tv-app debug (read only) 2627817 2628553 736 0.0
(read/write) 250360 250360 0 0.0
.bss 167520 167520 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199741 199805 64 0.0
.text 2253986 2254706 720 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2350964 2351012 48 0.0
.bss 186212 186212 0 0.0
.data 5792 5784 -8 -0.1
.text 1313564 1313612 48 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152707 1152707 0 0.0
bss 146208 146212 4 0.0
rodata 144556 144516 -40 -0.0
text 786700 786748 48 0.0
p6 all-clusters-app default (read/write) 2495504 2495680 176 0.0
.bss 119640 119640 0 0.0
.data 2680 2672 -8 -0.3
.text 1453768 1453944 176 0.0
light-app default (read/write) 2399520 2399680 160 0.0
.bss 113104 113104 0 0.0
.data 2536 2528 -8 -0.3
.text 1357784 1357944 160 0.0
lock-app default (read/write) 2363064 2363240 176 0.0
.bss 112848 112848 0 0.0
.data 2496 2488 -8 -0.3
.text 1321328 1321504 176 0.0
telink lighting-app tlsr9518adk80d (read/write) 889758 889766 8 0.0
bss 86968 86976 8 0.0
noinit 37160 37160 0 0.0
text 628910 628970 60 0.0

@tcarmelveilleux tcarmelveilleux merged commit 10ab541 into project-chip:master Mar 10, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
* Allow runtime init of some `Server` members (2/2)

- This PR is on the path towards having Server::Server no longer
  statically initialize its members with storage, and instead
  relying on Server::Init(). This will simplify organization
  of unit tests and also the convergence of Controller/Server
  storage to address issue project-chip#16028

Issue project-chip#16028

This PR separates init of AccessControl so that the delegate need not be
passed to the Constructor, which allows simpler splitting of storage
init and decoupling from Server::Server() static inializer list.

This is a structural, non-functional change, touching only AccessControl.

Testing
- Ran cert tests, still pass
- Ran unit tests, still pass

* Restyled by clang-format

* Address review comments

* Restyled by clang-format

* Address review comments to remove mIsInitialized

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants