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

clang-tidy: apply modernize-loop-convert over a set of files #23443

Merged
merged 14 commits into from
Nov 4, 2022

Conversation

andy31415
Copy link
Contributor

Applied a modernize-loop-convert using chip-tool, all-clusters and tests as the sources of files to compile.

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-chip-tool-clang/compile_commands.json --export-fixes out/fixes.xml fix
```
```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-all-clusters-clang/compile_commands.json --export-fixes out/fixes.xml fix
```
```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-tests-clang/compile_commands.json --export-fixes out/fixes.xml fix
```
@github-actions
Copy link

github-actions bot commented Nov 2, 2022

PR #23443: Size comparison from 5030df4 to 8b3d1e3

Increases (4 builds for bl702, linux)
platform target config section 5030df4 8b3d1e3 change % change
bl702 lighting-app bl702 .debug_abbrev 1513290 1513391 101 0.0
.debug_frame 484444 484456 12 0.0
.debug_info 38069051 38069393 342 0.0
.debug_line 5262950 5263041 91 0.0
.debug_loc 3366388 3366799 411 0.0
.debug_ranges 358072 358104 32 0.0
.debug_str 3451656 3451696 40 0.0
bl702+rpc .debug_abbrev 1650704 1650805 101 0.0
.debug_frame 509816 509828 12 0.0
.debug_info 41985158 41985500 342 0.0
.debug_line 5638684 5638775 91 0.0
.debug_loc 3559215 3559626 411 0.0
.debug_ranges 380872 380904 32 0.0
.debug_str 3847784 3847824 40 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436684 336 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392844 2392940 96 0.0
.text 2005296 2005392 96 0.0
Decreases (14 builds for bl602, bl702, k32w, qpg, telink)
platform target config section 5030df4 8b3d1e3 change % change
bl602 lighting-app bl602 (read/write) 1390518 1390430 -88 -0.0
.text 1069810 1069722 -88 -0.0
bl602+rpc (read/write) 1435974 1435886 -88 -0.0
.text 1101414 1101324 -90 -0.0
bl702 lighting-app bl702 (read/write) 1189323 1189243 -80 -0.0
.text 957780 957704 -76 -0.0
bl702+rpc (read/write) 1285251 1285187 -64 -0.0
.text 1031486 1031410 -76 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.text 553076 553044 -32 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937300 -48 -0.0
text 648768 648724 -44 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875148 875108 -40 -0.0
text 612604 612562 -42 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
text 554264 554224 -40 -0.0
lighting-app tlsr9518adk80d (read/write) 875044 875004 -40 -0.0
text 624252 624210 -42 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
text 565286 565242 -44 -0.0
Full report (17 builds for bl602, bl702, k32w, linux, mbed, qpg, telink)
platform target config section 5030df4 8b3d1e3 change % change
bl602 lighting-app bl602 (read/write) 1390518 1390430 -88 -0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069810 1069722 -88 -0.0
bl602+rpc (read/write) 1435974 1435886 -88 -0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101414 1101324 -90 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189243 -80 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513391 101 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484456 12 0.0
.debug_info 38069051 38069393 342 0.0
.debug_line 5262950 5263041 91 0.0
.debug_loc 3366388 3366799 411 0.0
.debug_ranges 358072 358104 32 0.0
.debug_str 3451656 3451696 40 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957780 957704 -76 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285187 -64 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650805 101 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509828 12 0.0
.debug_info 41985158 41985500 342 0.0
.debug_line 5638684 5638775 91 0.0
.debug_loc 3559215 3559626 411 0.0
.debug_ranges 380872 380904 32 0.0
.debug_str 3847784 3847824 40 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031410 -76 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553044 -32 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436684 336 0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392844 2392940 96 0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2005392 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937300 -48 -0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648768 648724 -44 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875148 875108 -40 -0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612604 612562 -42 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554224 -40 -0.0
lighting-app tlsr9518adk80d (read/write) 875044 875004 -40 -0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624252 624210 -42 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565286 565242 -44 -0.0

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

PR #23443: Size comparison from 5030df4 to ef77554

Increases (2 builds for bl702)
platform target config section 5030df4 ef77554d change % change
bl702 lighting-app bl702 .debug_abbrev 1513290 1513391 101 0.0
.debug_frame 484444 484456 12 0.0
.debug_info 38069051 38069394 343 0.0
.debug_line 5262950 5263041 91 0.0
.debug_loc 3366388 3366799 411 0.0
.debug_ranges 358072 358104 32 0.0
.debug_str 3451656 3451696 40 0.0
bl702+rpc .debug_abbrev 1650704 1650805 101 0.0
.debug_frame 509816 509828 12 0.0
.debug_info 41985158 41985501 343 0.0
.debug_line 5638684 5638775 91 0.0
.debug_loc 3559215 3559626 411 0.0
.debug_ranges 380872 380904 32 0.0
.debug_str 3847784 3847824 40 0.0
Decreases (16 builds for bl602, bl702, k32w, nrfconnect, qpg, telink)
platform target config section 5030df4 ef77554d change % change
bl602 lighting-app bl602 (read/write) 1390518 1390430 -88 -0.0
.text 1069810 1069722 -88 -0.0
bl602+rpc (read/write) 1435974 1435886 -88 -0.0
.text 1101414 1101326 -88 -0.0
bl702 lighting-app bl702 (read/write) 1189323 1189243 -80 -0.0
.text 957780 957706 -74 -0.0
bl702+rpc (read/write) 1285251 1285187 -64 -0.0
.text 1031486 1031412 -74 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671976 -32 -0.0
.text 592380 592348 -32 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.text 553076 553044 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
text 816996 816976 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
text 805334 805314 -20 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937308 -40 -0.0
text 648768 648728 -40 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875148 875116 -32 -0.0
text 612604 612566 -38 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
text 554264 554224 -40 -0.0
lighting-app tlsr9518adk80d (read/write) 875044 875012 -32 -0.0
text 624252 624214 -38 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
text 565286 565244 -42 -0.0
Full report (17 builds for bl602, bl702, k32w, mbed, nrfconnect, qpg, telink)
platform target config section 5030df4 ef77554d change % change
bl602 lighting-app bl602 (read/write) 1390518 1390430 -88 -0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069810 1069722 -88 -0.0
bl602+rpc (read/write) 1435974 1435886 -88 -0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101414 1101326 -88 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189243 -80 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513391 101 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484456 12 0.0
.debug_info 38069051 38069394 343 0.0
.debug_line 5262950 5263041 91 0.0
.debug_loc 3366388 3366799 411 0.0
.debug_ranges 358072 358104 32 0.0
.debug_str 3451656 3451696 40 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957780 957706 -74 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285187 -64 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650805 101 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509828 12 0.0
.debug_info 41985158 41985501 343 0.0
.debug_line 5638684 5638775 91 0.0
.debug_loc 3559215 3559626 411 0.0
.debug_ranges 380872 380904 32 0.0
.debug_str 3847784 3847824 40 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031412 -74 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671976 -32 -0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592348 -32 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553044 -32 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816996 816976 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805314 -20 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937308 -40 -0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648768 648728 -40 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875148 875116 -32 -0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612604 612566 -38 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554224 -40 -0.0
lighting-app tlsr9518adk80d (read/write) 875044 875012 -32 -0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624252 624214 -38 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565286 565244 -42 -0.0

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

PR #23443: Size comparison from 5030df4 to 5b736b5

Increases (14 builds for bl702, cc13x2_26x2, linux, psoc6)
platform target config section 5030df4 5b736b5 change % change
bl702 lighting-app bl702 .debug_abbrev 1513290 1513391 101 0.0
.debug_frame 484444 484456 12 0.0
.debug_info 38069051 38069394 343 0.0
.debug_line 5262950 5263041 91 0.0
.debug_loc 3366388 3366799 411 0.0
.debug_ranges 358072 358104 32 0.0
.debug_str 3451656 3451696 40 0.0
bl702+rpc .debug_abbrev 1650704 1650805 101 0.0
.debug_frame 509816 509828 12 0.0
.debug_info 41985158 41985500 342 0.0
.debug_line 5638684 5638775 91 0.0
.debug_loc 3559215 3559626 411 0.0
.debug_ranges 380872 380904 32 0.0
.debug_str 3847784 3847824 40 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 173688 173704 16 0.0
lock-ftd LP_CC2652R7 (read/write) 172316 172332 16 0.0
lock-mtd LP_CC2652R7 (read/write) 184216 184232 16 0.0
pump-app LP_CC2652R7 (read/write) 160796 160812 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 176616 176624 8 0.0
shell LP_CC2652R7 (read/write) 184972 184988 16 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436684 336 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392844 2392940 96 0.0
.text 2005296 2005392 96 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1234891 1235016 125 0.0
.debug_frame 371220 371248 28 0.0
.debug_info 27004566 27005258 692 0.0
.debug_line 3679399 3679408 9 0.0
.debug_loc 3588816 3590003 1187 0.0
.debug_str 3435414 3435480 66 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1226734 1226859 125 0.0
.debug_frame 374300 374328 28 0.0
.debug_info 26741196 26741889 693 0.0
.debug_line 3700375 3700384 9 0.0
.debug_loc 3576453 3577640 1187 0.0
.debug_str 3424443 3424509 66 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1061195 1061320 125 0.0
.debug_frame 344616 344644 28 0.0
.debug_info 22202548 22203242 694 0.0
.debug_line 3269633 3269642 9 0.0
.debug_loc 3274179 3275366 1187 0.0
.debug_str 3229870 3229936 66 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1063170 1063295 125 0.0
.debug_frame 346488 346516 28 0.0
.debug_info 22435925 22436617 692 0.0
.debug_line 3266531 3266540 9 0.0
.debug_loc 3301773 3302960 1187 0.0
.debug_str 3249341 3249407 66 0.0
Decreases (37 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, nrfconnect, psoc6, qpg, telink)
platform target config section 5030df4 5b736b5 change % change
bl602 lighting-app bl602 (read/write) 1390518 1390422 -96 -0.0
.text 1069810 1069720 -90 -0.0
bl602+rpc (read/write) 1435974 1435886 -88 -0.0
.text 1101414 1101326 -88 -0.0
bl702 lighting-app bl702 (read/write) 1189323 1189243 -80 -0.0
.text 957780 957706 -74 -0.0
bl702+rpc (read/write) 1285251 1285187 -64 -0.0
.text 1031486 1031410 -76 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677855 -16 -0.0
.text 587672 587656 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 642095 -24 -0.0
.text 562776 562752 -24 -0.0
lock-ftd LP_CC2652R7 (read only) 676379 676363 -16 -0.0
.text 598488 598472 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 660167 660151 -16 -0.0
.text 556424 556408 -16 -0.0
pump-app LP_CC2652R7 (read only) 688635 688619 -16 -0.0
.text 597292 597276 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 672911 672903 -8 -0.0
.text 586024 586016 -8 -0.0
shell LP_CC2652R7 (read only) 668906 668890 -16 -0.0
.text 581996 581980 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588534 -8 -0.0
.app_xip_area 465128 465120 -8 -0.0
lock cyw930739m2evb_01 (read/write) 592590 592582 -8 -0.0
.app_xip_area 463880 463872 -8 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544466 -16 -0.0
.app_xip_area 426148 426132 -16 -0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974716 -16 -0.0
.text 820188 820172 -16 -0.0
BRD4161A+rs911x (read/write) 1034672 1034576 -96 -0.0
.text 845812 845716 -96 -0.0
BRD4187C (read/write) 1146720 1146640 -80 -0.0
.text 980864 980784 -80 -0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1160392 -32 -0.0
.text 1000032 1000000 -32 -0.0
window-app BRD4187C (read/write) 1139940 1139860 -80 -0.0
.text 972644 972564 -80 -0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223924 -46 -0.0
(read/write) 1788478 1788470 -8 -0.0
.flash.rodata 258032 258024 -8 -0.0
.flash.text 1223970 1223924 -46 -0.0
m5stack (read only) 1234039 1234027 -12 -0.0
.flash.text 1228655 1228643 -12 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.text 553076 553044 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
text 816996 816972 -24 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
text 805334 805314 -20 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745940 1745860 -80 -0.0
.debug_ranges 337968 337936 -32 -0.0
.symtab 421760 421744 -16 -0.0
.text 1546160 1546080 -80 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688548 1688468 -80 -0.0
.debug_ranges 336584 336552 -32 -0.0
.symtab 408192 408176 -16 -0.0
.text 1489504 1489424 -80 -0.0
light cy8ckit_062s2_43012 (read/write) 1607004 1606908 -96 -0.0
.debug_ranges 301880 301848 -32 -0.0
.symtab 376576 376560 -16 -0.0
.text 1416144 1416048 -96 -0.0
lock cy8ckit_062s2_43012 (read/write) 1640780 1640684 -96 -0.0
.debug_ranges 303824 303792 -32 -0.0
.symtab 378256 378240 -16 -0.0
.text 1444928 1444832 -96 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937308 -40 -0.0
text 648768 648726 -42 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875148 875108 -40 -0.0
text 612604 612562 -42 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
text 554264 554224 -40 -0.0
lighting-app tlsr9518adk80d (read/write) 875044 875012 -32 -0.0
text 624252 624214 -38 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
text 565286 565244 -42 -0.0
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 5030df4 5b736b5 change % change
bl602 lighting-app bl602 (read/write) 1390518 1390422 -96 -0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069810 1069720 -90 -0.0
bl602+rpc (read/write) 1435974 1435886 -88 -0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101414 1101326 -88 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189243 -80 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513391 101 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484456 12 0.0
.debug_info 38069051 38069394 343 0.0
.debug_line 5262950 5263041 91 0.0
.debug_loc 3366388 3366799 411 0.0
.debug_ranges 358072 358104 32 0.0
.debug_str 3451656 3451696 40 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957780 957706 -74 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285187 -64 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650805 101 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509828 12 0.0
.debug_info 41985158 41985500 342 0.0
.debug_line 5638684 5638775 91 0.0
.debug_loc 3559215 3559626 411 0.0
.debug_ranges 380872 380904 32 0.0
.debug_str 3847784 3847824 40 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031410 -76 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677855 -16 -0.0
(read/write) 173688 173704 16 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89887 89887 0 0.0
.text 587672 587656 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 642095 -24 -0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 79023 79023 0 0.0
.text 562776 562752 -24 -0.0
lock-ftd LP_CC2652R7 (read only) 676379 676363 -16 -0.0
(read/write) 172316 172332 16 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77411 77411 0 0.0
.text 598488 598472 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 660167 660151 -16 -0.0
(read/write) 184216 184232 16 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103263 103263 0 0.0
.text 556424 556408 -16 -0.0
pump-app LP_CC2652R7 (read only) 688635 688619 -16 -0.0
(read/write) 160796 160812 16 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90859 90859 0 0.0
.text 597292 597276 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 672911 672903 -8 -0.0
(read/write) 176616 176624 8 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86407 86407 0 0.0
.text 586024 586016 -8 -0.0
shell LP_CC2652R7 (read only) 668906 668890 -16 -0.0
(read/write) 184972 184988 16 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86594 86594 0 0.0
.text 581996 581980 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588534 -8 -0.0
.app_xip_area 465128 465120 -8 -0.0
.bss 65832 65832 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592590 592582 -8 -0.0
.app_xip_area 463880 463872 -8 -0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544466 -16 -0.0
.app_xip_area 426148 426132 -16 -0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974716 -16 -0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 820188 820172 -16 -0.0
BRD4161A+rs911x (read/write) 1034672 1034576 -96 -0.0
.bss 186744 186744 0 0.0
.data 2092 2092 0 0.0
.text 845812 845716 -96 -0.0
BRD4187C (read/write) 1146720 1146640 -80 -0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980864 980784 -80 -0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1160392 -32 -0.0
.bss 158272 158272 0 0.0
.data 2100 2100 0 0.0
.text 1000032 1000000 -32 -0.0
window-app BRD4187C (read/write) 1139940 1139860 -80 -0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972644 972564 -80 -0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223924 -46 -0.0
(read/write) 1788478 1788470 -8 -0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 258032 258024 -8 -0.0
.flash.text 1223970 1223924 -46 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1234039 1234027 -12 -0.0
(read/write) 564396 564396 0 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 315096 315096 0 0.0
.flash.text 1228655 1228643 -12 -0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553044 -32 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436684 336 0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392844 2392940 96 0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2005392 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816996 816972 -24 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805314 -20 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745940 1745860 -80 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1234891 1235016 125 0.0
.debug_aranges 110736 110736 0 0.0
.debug_frame 371220 371248 28 0.0
.debug_info 27004566 27005258 692 0.0
.debug_line 3679399 3679408 9 0.0
.debug_loc 3588816 3590003 1187 0.0
.debug_ranges 337968 337936 -32 -0.0
.debug_str 3435414 3435480 66 0.0
.heap 841952 841952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570487 570487 0 0.0
.symtab 421760 421744 -16 -0.0
.text 1546160 1546080 -80 -0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688548 1688468 -80 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1226734 1226859 125 0.0
.debug_aranges 110208 110208 0 0.0
.debug_frame 374300 374328 28 0.0
.debug_info 26741196 26741889 693 0.0
.debug_line 3700375 3700384 9 0.0
.debug_loc 3576453 3577640 1187 0.0
.debug_ranges 336584 336552 -32 -0.0
.debug_str 3424443 3424509 66 0.0
.heap 842688 842688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534576 534576 0 0.0
.symtab 408192 408176 -16 -0.0
.text 1489504 1489424 -80 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1607004 1606908 -96 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1061195 1061320 125 0.0
.debug_aranges 102408 102408 0 0.0
.debug_frame 344616 344644 28 0.0
.debug_info 22202548 22203242 694 0.0
.debug_line 3269633 3269642 9 0.0
.debug_loc 3274179 3275366 1187 0.0
.debug_ranges 301880 301848 -32 -0.0
.debug_str 3229870 3229936 66 0.0
.heap 850872 850872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470901 470901 0 0.0
.symtab 376576 376560 -16 -0.0
.text 1416144 1416048 -96 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1640780 1640684 -96 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1063170 1063295 125 0.0
.debug_aranges 102808 102808 0 0.0
.debug_frame 346488 346516 28 0.0
.debug_info 22435925 22436617 692 0.0
.debug_line 3266531 3266540 9 0.0
.debug_loc 3301773 3302960 1187 0.0
.debug_ranges 303824 303792 -32 -0.0
.debug_str 3249341 3249407 66 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473304 473304 0 0.0
.symtab 378256 378240 -16 -0.0
.text 1444928 1444832 -96 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937308 -40 -0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648768 648726 -42 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875148 875108 -40 -0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612604 612562 -42 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554224 -40 -0.0
lighting-app tlsr9518adk80d (read/write) 875044 875012 -32 -0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624252 624214 -38 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565286 565244 -42 -0.0

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only got partway through, but there are a lot of issues here in terms of the naming and type selection for the loops....

examples/chip-tool/commands/common/Command.cpp Outdated Show resolved Hide resolved
examples/chip-tool/commands/common/Command.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/tests/TestPendingNotificationMap.cpp Outdated Show resolved Hide resolved
src/ble/BleLayer.cpp Outdated Show resolved Hide resolved
src/controller/tests/TestWriteChunking.cpp Outdated Show resolved Hide resolved
src/credentials/CHIPCert.cpp Outdated Show resolved Hide resolved
src/credentials/tests/TestChipCert.cpp Outdated Show resolved Hide resolved
@andy31415
Copy link
Contributor Author

I only got partway through, but there are a lot of issues here in terms of the naming and type selection for the loops....

@bzbarsky-apple went manually through the changes and used more sane names. Also converted a setter to take a const array to make a const-correctness test better. Overall same change, but with saner names now I hope. Did not try hard for converting auto to const auto &, however some where converted. I am going for "this is slightly better than before".

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

PR #23443: Size comparison from 90453bf to 91ce0ae

Increases (14 builds for bl702, cc13x2_26x2, linux, psoc6)
platform target config section 90453bf 91ce0ae change % change
bl702 lighting-app bl702 .debug_abbrev 1513290 1513384 94 0.0
.debug_frame 484444 484448 4 0.0
.debug_info 38069051 38069412 361 0.0
.debug_line 5262950 5262981 31 0.0
.debug_loc 3366388 3366817 429 0.0
.debug_str 3451656 3451681 25 0.0
bl702+rpc .debug_abbrev 1650704 1650798 94 0.0
.debug_frame 509816 509820 4 0.0
.debug_info 41985158 41985518 360 0.0
.debug_line 5638684 5638715 31 0.0
.debug_loc 3559215 3559644 429 0.0
.debug_str 3847784 3847809 25 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 173688 173704 16 0.0
lock-ftd LP_CC2652R7 (read/write) 172316 172332 16 0.0
lock-mtd LP_CC2652R7 (read/write) 184216 184232 16 0.0
pump-app LP_CC2652R7 (read/write) 160796 160812 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 176616 176624 8 0.0
shell LP_CC2652R7 (read/write) 184972 184988 16 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436684 336 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392844 2392940 96 0.0
.text 2005296 2005392 96 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1234891 1235019 128 0.0
.debug_info 27004566 27005277 711 0.0
.debug_loc 3588816 3590081 1265 0.0
.debug_str 3435414 3435452 38 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1226734 1226862 128 0.0
.debug_info 26741196 26741908 712 0.0
.debug_loc 3576453 3577718 1265 0.0
.debug_str 3424443 3424481 38 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1061195 1061323 128 0.0
.debug_info 22202548 22203260 712 0.0
.debug_loc 3274179 3275444 1265 0.0
.debug_str 3229870 3229908 38 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1063170 1063298 128 0.0
.debug_info 22435925 22436635 710 0.0
.debug_loc 3301773 3303038 1265 0.0
.debug_str 3249341 3249379 38 0.0
Decreases (37 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, nrfconnect, psoc6, qpg, telink)
platform target config section 90453bf 91ce0ae change % change
bl602 lighting-app bl602 (read/write) 1390518 1390430 -88 -0.0
.text 1069812 1069722 -90 -0.0
bl602+rpc (read/write) 1435982 1435886 -96 -0.0
.text 1101418 1101324 -94 -0.0
bl702 lighting-app bl702 (read/write) 1189323 1189243 -80 -0.0
.text 957780 957706 -74 -0.0
bl702+rpc (read/write) 1285251 1285187 -64 -0.0
.text 1031486 1031410 -76 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677855 -16 -0.0
.text 587672 587656 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 642095 -24 -0.0
.text 562776 562752 -24 -0.0
lock-ftd LP_CC2652R7 (read only) 676379 676363 -16 -0.0
.text 598488 598472 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 660167 660151 -16 -0.0
.text 556424 556408 -16 -0.0
pump-app LP_CC2652R7 (read only) 688635 688619 -16 -0.0
.text 597292 597276 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 672911 672903 -8 -0.0
.text 586024 586016 -8 -0.0
shell LP_CC2652R7 (read only) 668906 668890 -16 -0.0
.text 581996 581980 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588534 -8 -0.0
.app_xip_area 465128 465120 -8 -0.0
lock cyw930739m2evb_01 (read/write) 592590 592582 -8 -0.0
.app_xip_area 463880 463872 -8 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544466 -16 -0.0
.app_xip_area 426148 426132 -16 -0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974716 -16 -0.0
.text 820188 820172 -16 -0.0
BRD4161A+rs911x (read/write) 1034672 1034576 -96 -0.0
.text 845812 845716 -96 -0.0
BRD4187C (read/write) 1146720 1146640 -80 -0.0
.text 980864 980784 -80 -0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1160392 -32 -0.0
.text 1000032 1000000 -32 -0.0
window-app BRD4187C (read/write) 1139940 1139860 -80 -0.0
.text 972644 972564 -80 -0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223924 -46 -0.0
.flash.text 1223970 1223924 -46 -0.0
m5stack (read only) 1233783 1233771 -12 -0.0
(read/write) 564292 564284 -8 -0.0
.flash.rodata 314992 314984 -8 -0.0
.flash.text 1228399 1228387 -12 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.text 553076 553044 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
text 816992 816976 -16 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
text 805334 805314 -20 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745940 1745860 -80 -0.0
.debug_line 3679399 3679384 -15 -0.0
.debug_ranges 337968 337936 -32 -0.0
.symtab 421760 421744 -16 -0.0
.text 1546160 1546080 -80 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688548 1688468 -80 -0.0
.debug_line 3700375 3700360 -15 -0.0
.debug_ranges 336584 336552 -32 -0.0
.symtab 408192 408176 -16 -0.0
.text 1489504 1489424 -80 -0.0
light cy8ckit_062s2_43012 (read/write) 1607004 1606908 -96 -0.0
.debug_line 3269633 3269618 -15 -0.0
.debug_ranges 301880 301848 -32 -0.0
.symtab 376576 376560 -16 -0.0
.text 1416144 1416048 -96 -0.0
lock cy8ckit_062s2_43012 (read/write) 1640780 1640684 -96 -0.0
.debug_line 3266531 3266516 -15 -0.0
.debug_ranges 303824 303792 -32 -0.0
.symtab 378256 378240 -16 -0.0
.text 1444928 1444832 -96 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937308 -40 -0.0
text 648770 648726 -44 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 875108 -48 -0.0
text 612608 612562 -46 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
text 554264 554222 -42 -0.0
lighting-app tlsr9518adk80d (read/write) 875052 875004 -48 -0.0
text 624254 624210 -44 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
text 565286 565246 -40 -0.0
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 90453bf 91ce0ae change % change
bl602 lighting-app bl602 (read/write) 1390518 1390430 -88 -0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069812 1069722 -90 -0.0
bl602+rpc (read/write) 1435982 1435886 -96 -0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101418 1101324 -94 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189243 -80 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513384 94 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484448 4 0.0
.debug_info 38069051 38069412 361 0.0
.debug_line 5262950 5262981 31 0.0
.debug_loc 3366388 3366817 429 0.0
.debug_ranges 358072 358072 0 0.0
.debug_str 3451656 3451681 25 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957780 957706 -74 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285187 -64 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650798 94 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509820 4 0.0
.debug_info 41985158 41985518 360 0.0
.debug_line 5638684 5638715 31 0.0
.debug_loc 3559215 3559644 429 0.0
.debug_ranges 380872 380872 0 0.0
.debug_str 3847784 3847809 25 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031410 -76 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677855 -16 -0.0
(read/write) 173688 173704 16 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89887 89887 0 0.0
.text 587672 587656 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 642095 -24 -0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 79023 79023 0 0.0
.text 562776 562752 -24 -0.0
lock-ftd LP_CC2652R7 (read only) 676379 676363 -16 -0.0
(read/write) 172316 172332 16 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77411 77411 0 0.0
.text 598488 598472 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 660167 660151 -16 -0.0
(read/write) 184216 184232 16 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103263 103263 0 0.0
.text 556424 556408 -16 -0.0
pump-app LP_CC2652R7 (read only) 688635 688619 -16 -0.0
(read/write) 160796 160812 16 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90859 90859 0 0.0
.text 597292 597276 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 672911 672903 -8 -0.0
(read/write) 176616 176624 8 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86407 86407 0 0.0
.text 586024 586016 -8 -0.0
shell LP_CC2652R7 (read only) 668906 668890 -16 -0.0
(read/write) 184972 184988 16 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86594 86594 0 0.0
.text 581996 581980 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588534 -8 -0.0
.app_xip_area 465128 465120 -8 -0.0
.bss 65832 65832 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592590 592582 -8 -0.0
.app_xip_area 463880 463872 -8 -0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544466 -16 -0.0
.app_xip_area 426148 426132 -16 -0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974716 -16 -0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 820188 820172 -16 -0.0
BRD4161A+rs911x (read/write) 1034672 1034576 -96 -0.0
.bss 186744 186744 0 0.0
.data 2092 2092 0 0.0
.text 845812 845716 -96 -0.0
BRD4187C (read/write) 1146720 1146640 -80 -0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980864 980784 -80 -0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1160392 -32 -0.0
.bss 158272 158272 0 0.0
.data 2100 2100 0 0.0
.text 1000032 1000000 -32 -0.0
window-app BRD4187C (read/write) 1139940 1139860 -80 -0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972644 972564 -80 -0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223924 -46 -0.0
(read/write) 1788478 1788478 0 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 258032 258032 0 0.0
.flash.text 1223970 1223924 -46 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233783 1233771 -12 -0.0
(read/write) 564292 564284 -8 -0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314992 314984 -8 -0.0
.flash.text 1228399 1228387 -12 -0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553044 -32 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436684 336 0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392844 2392940 96 0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2005392 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816992 816976 -16 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805314 -20 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745940 1745860 -80 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1234891 1235019 128 0.0
.debug_aranges 110736 110736 0 0.0
.debug_frame 371220 371220 0 0.0
.debug_info 27004566 27005277 711 0.0
.debug_line 3679399 3679384 -15 -0.0
.debug_loc 3588816 3590081 1265 0.0
.debug_ranges 337968 337936 -32 -0.0
.debug_str 3435414 3435452 38 0.0
.heap 841952 841952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570487 570487 0 0.0
.symtab 421760 421744 -16 -0.0
.text 1546160 1546080 -80 -0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688548 1688468 -80 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1226734 1226862 128 0.0
.debug_aranges 110208 110208 0 0.0
.debug_frame 374300 374300 0 0.0
.debug_info 26741196 26741908 712 0.0
.debug_line 3700375 3700360 -15 -0.0
.debug_loc 3576453 3577718 1265 0.0
.debug_ranges 336584 336552 -32 -0.0
.debug_str 3424443 3424481 38 0.0
.heap 842688 842688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534576 534576 0 0.0
.symtab 408192 408176 -16 -0.0
.text 1489504 1489424 -80 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1607004 1606908 -96 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1061195 1061323 128 0.0
.debug_aranges 102408 102408 0 0.0
.debug_frame 344616 344616 0 0.0
.debug_info 22202548 22203260 712 0.0
.debug_line 3269633 3269618 -15 -0.0
.debug_loc 3274179 3275444 1265 0.0
.debug_ranges 301880 301848 -32 -0.0
.debug_str 3229870 3229908 38 0.0
.heap 850872 850872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470901 470901 0 0.0
.symtab 376576 376560 -16 -0.0
.text 1416144 1416048 -96 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1640780 1640684 -96 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1063170 1063298 128 0.0
.debug_aranges 102808 102808 0 0.0
.debug_frame 346488 346488 0 0.0
.debug_info 22435925 22436635 710 0.0
.debug_line 3266531 3266516 -15 -0.0
.debug_loc 3301773 3303038 1265 0.0
.debug_ranges 303824 303792 -32 -0.0
.debug_str 3249341 3249379 38 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473304 473304 0 0.0
.symtab 378256 378240 -16 -0.0
.text 1444928 1444832 -96 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149952 -16 -0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597052 -16 -0.0
lock-app qpg6105+debug (read/write) 1114760 1114744 -16 -0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561856 561840 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937308 -40 -0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648770 648726 -44 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 875108 -48 -0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612608 612562 -46 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790780 -40 -0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554222 -42 -0.0
lighting-app tlsr9518adk80d (read/write) 875052 875004 -48 -0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624254 624210 -44 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804912 -40 -0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565286 565246 -40 -0.0

@tehampson
Copy link
Contributor

Do we want to update .clang-tidy? Or was this just a partial update?

@andy31415
Copy link
Contributor Author

andy31415 commented Nov 3, 2022

Do we want to update .clang-tidy? Or was this just a partial update?

I was unsure if forcing to use loop is something that we want everywhere. My instinct was that this does not always feel natural, but at the same time I 100% accepted all automated changes. Would welcome opinions from reviewers here if we should change clang-tidy to enforce or not.

Change in BleLayer.cpp was questionable: had to make a static_assert to make the intent clear: seemingly unrelated constants meant loop over entire array content. We still used the range loop though.

src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/tests/TestPendingNotificationMap.cpp Outdated Show resolved Hide resolved
src/lib/asn1/ASN1OID.cpp Outdated Show resolved Hide resolved
src/lib/dnssd/tests/TestTxtFields.cpp Outdated Show resolved Hide resolved
src/system/tests/TestSystemPacketBuffer.cpp Outdated Show resolved Hide resolved
src/transport/tests/TestSessionManager.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

PR #23443: Size comparison from 706e9bb to 669d4f8

Increases (4 builds for bl702, linux)
platform target config section 706e9bb 669d4f8 change % change
bl702 lighting-app bl702 .debug_abbrev 1513310 1513387 77 0.0
.debug_frame 484468 484472 4 0.0
.debug_info 38070212 38070573 361 0.0
.debug_line 5263909 5263940 31 0.0
.debug_loc 3366772 3367201 429 0.0
.debug_str 3451743 3451768 25 0.0
bl702+rpc .debug_abbrev 1650724 1650801 77 0.0
.debug_frame 509840 509844 4 0.0
.debug_info 41986319 41986680 361 0.0
.debug_line 5639643 5639674 31 0.0
.debug_loc 3559599 3560028 429 0.0
.debug_str 3847871 3847896 25 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436812 464 0.0
.rodata 518220 518348 128 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392860 2392972 112 0.0
.text 2005312 2005424 112 0.0
Decreases (9 builds for bl702, k32w, nrfconnect, qpg)
platform target config section 706e9bb 669d4f8 change % change
bl702 lighting-app bl702 (read/write) 1189595 1189531 -64 -0.0
.text 957998 957924 -74 -0.0
bl702+rpc (read/write) 1285539 1285459 -80 -0.0
.text 1031704 1031630 -74 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.text 553076 553044 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
text 816996 816976 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
text 805334 805314 -20 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149944 -24 -0.0
.text 597068 597044 -24 -0.0
lock-app qpg6105+debug (read/write) 1114752 1114744 -8 -0.0
.text 561848 561840 -8 -0.0
Full report (12 builds for bl702, k32w, linux, mbed, nrfconnect, qpg)
platform target config section 706e9bb 669d4f8 change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1189595 1189531 -64 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513310 1513387 77 0.0
.debug_aranges 132072 132072 0 0.0
.debug_frame 484468 484472 4 0.0
.debug_info 38070212 38070573 361 0.0
.debug_line 5263909 5263940 31 0.0
.debug_loc 3366772 3367201 429 0.0
.debug_ranges 358128 358128 0 0.0
.debug_str 3451743 3451768 25 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116680 116680 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 566021 566021 0 0.0
.symtab 172000 172000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 957998 957924 -74 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1285539 1285459 -80 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650724 1650801 77 0.0
.debug_aranges 139576 139576 0 0.0
.debug_frame 509840 509844 4 0.0
.debug_info 41986319 41986680 361 0.0
.debug_line 5639643 5639674 31 0.0
.debug_loc 3559599 3560028 429 0.0
.debug_ranges 380928 380928 0 0.0
.debug_str 3847871 3847896 25 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130088 130088 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625194 625194 0 0.0
.symtab 189808 189808 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1031704 1031630 -74 -0.0
k32w contact k32w0+release (read/write) 661676 661660 -16 -0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563404 -16 -0.0
light k32w0+release (read/write) 672008 671992 -16 -0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592364 -16 -0.0
lock k32w0+release (read/write) 633484 633452 -32 -0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553044 -32 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436812 464 0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518348 128 0.0
.text 8262292 8262628 336 0.0
thermostat-no-ble arm64 (read only) 2392860 2392972 112 0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005312 2005424 112 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188175 -16 -0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816996 816976 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167459 -16 -0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805314 -20 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149944 -24 -0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597044 -24 -0.0
lock-app qpg6105+debug (read/write) 1114752 1114744 -8 -0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561848 561840 -8 -0.0

@andy31415 andy31415 merged commit 72f0471 into project-chip:master Nov 4, 2022
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…-chip#23443)

* Modernize using:

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-chip-tool-clang/compile_commands.json --export-fixes out/fixes.xml fix
```

* Fix using:

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-all-clusters-clang/compile_commands.json --export-fixes out/fixes.xml fix
```

* Modernize using:

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-tests-clang/compile_commands.json --export-fixes out/fixes.xml fix
```

* Restyle and remove unused variable

* Remove more unused variables for array sizes

* Restyle

* Start some manual renames of iteration values ... automated tool is quite silly

* More manual updates for naming of things. Code should be cleaner now

* Restyle

* Enforce lowercase naming for cdSigningKey iterator variable

* One more pass for cleanups

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…-chip#23443)

* Modernize using:

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-chip-tool-clang/compile_commands.json --export-fixes out/fixes.xml fix
```

* Fix using:

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-all-clusters-clang/compile_commands.json --export-fixes out/fixes.xml fix
```

* Modernize using:

```
./scripts/run-clang-tidy-on-compile-commands.py --checks modernize-loop-convert --compile-database out/linux-x64-tests-clang/compile_commands.json --export-fixes out/fixes.xml fix
```

* Restyle and remove unused variable

* Remove more unused variables for array sizes

* Restyle

* Start some manual renames of iteration values ... automated tool is quite silly

* More manual updates for naming of things. Code should be cleaner now

* Restyle

* Enforce lowercase naming for cdSigningKey iterator variable

* One more pass for cleanups

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
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