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 (2/3) #12947

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

kpschoedel
Copy link
Contributor

@kpschoedel kpschoedel commented Dec 13, 2021

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 second of three steps. The first step #12886 added event
and ref handling.

This step adds the event to artifact names, so that reporting can
stop assuming PR==0 indicates a push event.

The third and final step will add the PR number for pushes to master,
extracted from the commit message.

Testing

Only exercisable in 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 second of three steps. The first step added `event`
and `ref` handling.

This step adds the `event` to artifact names, so that reporting can
stop assuming PR==0 indicates a push event.

The third and final step will add the PR number for pushes to master,
extracted from the commit message.

#### Testing

Only exercisable in CI.
@github-actions
Copy link

github-actions bot commented Dec 13, 2021

PR #12947: Size comparison from 73776ef to 8518bee

Full report (28 builds for efr32, k32w, mbed, nrfconnect, p6, qpg, telink)
platform target config section 73776ef 8518bee change % change
efr32 lighting-app BRD4161A (read only) 815948 815948 0 0.0
(read/write) 123152 123152 0 0.0
.bss 121288 121288 0 0.0
.data 1864 1864 0 0.0
.text 815940 815940 0 0.0
BRD4161A+rpc (read only) 803580 803580 0 0.0
(read/write) 139828 139828 0 0.0
.bss 137864 137864 0 0.0
.data 1964 1964 0 0.0
.text 803572 803572 0 0.0
window-app BRD4161A (read only) 793008 793008 0 0.0
(read/write) 122104 122104 0 0.0
.bss 120272 120272 0 0.0
.data 1828 1828 0 0.0
.text 793000 793000 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 670408 670408 0 0.0
.bss 73872 73872 0 0.0
.data 1896 1896 0 0.0
.text 588840 588840 0 0.0
lock-app k32w061+debug (read/write) 620344 620344 0 0.0
.bss 72024 72024 0 0.0
.data 1856 1856 0 0.0
.text 540664 540664 0 0.0
shell k32w061+debug (read/write) 625712 625712 0 0.0
.bss 74332 74332 0 0.0
.data 1836 1836 0 0.0
.text 543744 543744 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2314032 2314032 0 0.0
.bss 183964 183964 0 0.0
.data 5240 5240 0 0.0
.heap 847240 847240 0 0.0
.text 1276608 1276608 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2309888 2309888 0 0.0
.bss 175824 175824 0 0.0
.data 5536 5536 0 0.0
.heap 855088 855088 0 0.0
.text 1272488 1272488 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2283000 2283000 0 0.0
.bss 174864 174864 0 0.0
.data 5528 5528 0 0.0
.heap 856056 856056 0 0.0
.text 1245600 1245600 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 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053944 2053944 0 0.0
.bss 156980 156980 0 0.0
.data 4864 4864 0 0.0
.heap 874600 874600 0 0.0
.text 1016544 1016544 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 907723 907723 0 0.0
bss 116300 116300 0 0.0
rodata 102060 102060 0 0.0
text 613756 613756 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 870775 870775 0 0.0
bss 112648 112648 0 0.0
rodata 93360 93360 0 0.0
text 588500 588500 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 833726 833726 0 0.0
bss 117672 117672 0 0.0
rodata 97320 97320 0 0.0
text 544184 544184 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 880339 880339 0 0.0
bss 113560 113560 0 0.0
rodata 98180 98180 0 0.0
text 593192 593192 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 806578 806578 0 0.0
bss 114972 114972 0 0.0
rodata 93468 93468 0 0.0
text 523712 523712 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 885291 885291 0 0.0
bss 113472 113472 0 0.0
rodata 99532 99532 0 0.0
text 596796 596796 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 878515 878515 0 0.0
bss 113352 113352 0 0.0
rodata 97668 97668 0 0.0
text 591992 591992 0 0.0
shell nrf52840dk_nrf52840 (read/write) 782427 782427 0 0.0
bss 109624 109624 0 0.0
rodata 74296 74296 0 0.0
text 523996 523996 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 697506 697506 0 0.0
bss 110604 110604 0 0.0
rodata 68940 68940 0 0.0
text 444636 444636 0 0.0
p6 all-clusters-app default (read/write) 2360976 2360976 0 0.0
.bss 112164 112164 0 0.0
.data 2528 2528 0 0.0
.heap 918648 918648 0 0.0
.text 1319240 1319240 0 0.0
light-app default (read/write) 2301568 2301568 0 0.0
.bss 101080 101080 0 0.0
.data 2368 2368 0 0.0
.heap 929896 929896 0 0.0
.text 1259832 1259832 0 0.0
lock-app default (read/write) 2277640 2277640 0 0.0
.bss 99960 99960 0 0.0
.data 2328 2328 0 0.0
.heap 931056 931056 0 0.0
.text 1235904 1235904 0 0.0
qpg lighting-app qpg6100+debug (read only) 522160 522160 0 0.0
(read/write) 122332 122332 0 0.0
.bss 82712 82712 0 0.0
.data 996 996 0 0.0
.text 516840 516840 0 0.0
lock-app qpg6100+debug (read only) 496532 496532 0 0.0
(read/write) 122336 122336 0 0.0
.bss 81848 81848 0 0.0
.data 952 952 0 0.0
.text 491212 491212 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) 812262 812262 0 0.0
bss 82864 82864 0 0.0
noinit 37160 37160 0 0.0
text 567218 567218 0 0.0

@andy31415
Copy link
Contributor

fast track: non-functionality change, up for sufficient time for all timezone review.

@andy31415 andy31415 merged commit 726785b into project-chip:master Dec 14, 2021
@kpschoedel kpschoedel deleted the nubloat-16b branch December 14, 2021 14:15
kpschoedel added a commit to kpschoedel/connectedhomeip that referenced this pull request Dec 14, 2021
#### 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.
andy31415 pushed a commit that referenced this pull request Dec 14, 2021
#### 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.
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