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

[Size reports] Script improvements (3/3) #12993

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

kpschoedel
Copy link
Contributor

Problem

Recent memory size investigations suggest some improvements:

  • Scripts use PR==0 to distinguish pull requests from master commits
    (push events), but it would be useful to record the associated PR
    along with commits.
  • Sometimes push events run on pull requests, and those are not
    currently distinguishable from master push events.
  • Sorting by build timestamp is inaccurate, since CI runs may finish
    in a different order than the commits.

Change overview

This is the third of three steps. The first step (#12886) added event
and ref handling, and the second (#12947) added the event to artifact
names.

This step adds the PR number for pushes to master, extracted
from the commit message.

Testing

Manually checked offline, but final confirmation requires live CI.

#### Problem

Recent memory size investigations suggest some improvements:

- Scripts use PR==0 to distinguish pull requests from master commits
  (push events), but it would be useful to record the associated PR
  along with commits.
- Sometimes push events run on pull requests, and those are not
  currently distinguishable from master push events.
- Sorting by build timestamp is inaccurate, since CI runs may finish
  in a different order than the commits.

#### Change overview

This is the third of three steps. The first step (project-chip#12886) added `event`
and `ref` handling, and the second (project-chip#12947) added the `event` to artifact
names.

This step adds the PR number for pushes to master, extracted
from the commit message.

#### Testing

Manually checked offline, but final confirmation requires live CI.
@github-actions
Copy link

github-actions bot commented Dec 14, 2021

PR #12993: Size comparison from 65347c9 to 97c1050

Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 65347c9 97c1050 change % change
efr32 lighting-app BRD4161A (read only) 816492 816492 0 0.0
(read/write) 123208 123208 0 0.0
.bss 121344 121344 0 0.0
.data 1864 1864 0 0.0
.text 816484 816484 0 0.0
BRD4161A+rpc (read only) 804108 804108 0 0.0
(read/write) 139884 139884 0 0.0
.bss 137920 137920 0 0.0
.data 1964 1964 0 0.0
.text 804100 804100 0 0.0
window-app BRD4161A (read only) 793728 793728 0 0.0
(read/write) 122160 122160 0 0.0
.bss 120328 120328 0 0.0
.data 1828 1828 0 0.0
.text 793720 793720 0 0.0
esp32 all-clusters-app c3devkit (read only) 857314 857314 0 0.0
(read/write) 1304674 1304674 0 0.0
.dram0.bss 64752 64752 0 0.0
.dram0.data 14164 14164 0 0.0
.flash.rodata 172720 172720 0 0.0
.flash.text 857314 857314 0 0.0
.iram0.text 62076 62076 0 0.0
m5stack (read only) 961423 961423 0 0.0
(read/write) 450572 450572 0 0.0
.dram0.bss 74040 74040 0 0.0
.dram0.data 34048 34048 0 0.0
.flash.rodata 210696 210696 0 0.0
.flash.text 956039 956039 0 0.0
.iram0.text 123451 123451 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 670620 670620 0 0.0
.bss 73928 73928 0 0.0
.data 1896 1896 0 0.0
.text 588996 588996 0 0.0
lock-app k32w061+debug (read/write) 620556 620556 0 0.0
.bss 72080 72080 0 0.0
.data 1856 1856 0 0.0
.text 540820 540820 0 0.0
shell k32w061+debug (read/write) 626108 626108 0 0.0
.bss 74388 74388 0 0.0
.data 1836 1836 0 0.0
.text 544084 544084 0 0.0
linux chip-tool-ipv6only arm64 (read only) 6877372 6877372 0 0.0
(read/write) 319281 319281 0 0.0
.bss 51873 51873 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 208760 208760 0 0.0
.dynamic 560 560 0 0.0
.got 53720 53720 0 0.0
.init 24 24 0 0.0
.init_array 176 176 0 0.0
.rodata 366204 366204 0 0.0
.text 5829300 5829300 0 0.0
thermostat-no-ble arm64 (read only) 1952660 1952660 0 0.0
(read/write) 137665 137665 0 0.0
.bss 59537 59537 0 0.0
.data 832 832 0 0.0
.data.rel.ro 70744 70744 0 0.0
.dynamic 560 560 0 0.0
.got 3672 3672 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 125892 125892 0 0.0
.text 1618448 1618448 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2314520 2314520 0 0.0
.bss 184020 184020 0 0.0
.data 5240 5240 0 0.0
.heap 847184 847184 0 0.0
.text 1277096 1277096 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2310048 2310048 0 0.0
.bss 175880 175880 0 0.0
.data 5536 5536 0 0.0
.heap 855032 855032 0 0.0
.text 1272648 1272648 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2283160 2283160 0 0.0
.bss 174920 174920 0 0.0
.data 5520 5520 0 0.0
.heap 856008 856008 0 0.0
.text 1245760 1245760 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.heap 1020320 1020320 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054328 2054328 0 0.0
.bss 156980 156980 0 0.0
.data 4864 4864 0 0.0
.heap 874600 874600 0 0.0
.text 1016928 1016928 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 907895 907895 0 0.0
bss 116352 116352 0 0.0
rodata 102248 102248 0 0.0
text 613716 613716 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 870939 870939 0 0.0
bss 112700 112700 0 0.0
rodata 93548 93548 0 0.0
text 588456 588456 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 833898 833898 0 0.0
bss 117728 117728 0 0.0
rodata 97508 97508 0 0.0
text 544144 544144 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 880543 880543 0 0.0
bss 113616 113616 0 0.0
rodata 98368 98368 0 0.0
text 593152 593152 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 806798 806798 0 0.0
bss 115024 115024 0 0.0
rodata 93656 93656 0 0.0
text 523672 523672 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497447 497447 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339488 339488 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 885495 885495 0 0.0
bss 113528 113528 0 0.0
rodata 99720 99720 0 0.0
text 596756 596756 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 878703 878703 0 0.0
bss 113404 113404 0 0.0
rodata 97856 97856 0 0.0
text 591952 591952 0 0.0
shell nrf52840dk_nrf52840 (read/write) 782767 782767 0 0.0
bss 109624 109624 0 0.0
rodata 74396 74396 0 0.0
text 524232 524232 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 697838 697838 0 0.0
bss 110604 110604 0 0.0
rodata 69040 69040 0 0.0
text 444868 444868 0 0.0
p6 all-clusters-app default (read/write) 2361736 2361736 0 0.0
.bss 112220 112220 0 0.0
.data 2528 2528 0 0.0
.heap 918592 918592 0 0.0
.text 1320000 1320000 0 0.0
light-app default (read/write) 2302104 2302104 0 0.0
.bss 101136 101136 0 0.0
.data 2368 2368 0 0.0
.heap 929840 929840 0 0.0
.text 1260368 1260368 0 0.0
lock-app default (read/write) 2278192 2278192 0 0.0
.bss 100016 100016 0 0.0
.data 2328 2328 0 0.0
.heap 931000 931000 0 0.0
.text 1236456 1236456 0 0.0
qpg lighting-app qpg6100+debug (read only) 522316 522316 0 0.0
(read/write) 122332 122332 0 0.0
.bss 82768 82768 0 0.0
.data 996 996 0 0.0
.text 516996 516996 0 0.0
lock-app qpg6100+debug (read only) 496664 496664 0 0.0
(read/write) 122336 122336 0 0.0
.bss 81904 81904 0 0.0
.data 952 952 0 0.0
.text 491344 491344 0 0.0
persistent-storage-app qpg6100+debug (read only) 108104 108104 0 0.0
(read/write) 122336 122336 0 0.0
.bss 36160 36160 0 0.0
.data 288 288 0 0.0
.text 102784 102784 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 812598 812598 0 0.0
bss 82920 82920 0 0.0
noinit 37160 37160 0 0.0
text 567248 567248 0 0.0

@andy31415
Copy link
Contributor

fast track: helper script update only

@andy31415 andy31415 merged commit a26145e into project-chip:master Dec 14, 2021
@kpschoedel kpschoedel deleted the nubloat-16c branch December 14, 2021 16:23
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.

2 participants