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

Inject event management into report engine #36831

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

yyzhong-g
Copy link
Contributor

@yyzhong-g yyzhong-g commented Dec 12, 2024

This PR is to decouple EventManagement with IMEngine singleton.

Inject EventManagement into ReportingEngine so it doesn't look for the global instance.
Creates EventScheduler interface (which is implemented by reporting engine) and inject into EventManagement to schedule events.
Created the EventScheduler to avoid both classes depends on each others. Also both classes are injected during Init call and takes the global one if not provided.

This is beneficial and allow us to have in-process testing (e.g. one client and one server running in parallel as different IM engines).

testing: Code changes are tested by existed unit tests, the tests verify that event are generated.

  • TestReadInteraction.TestSubscribeEarlyReport
  • TestReadInteraction.TestSubscribeUrgentWildcardEvent
  • TestReadInteractionSync.TestSubscribeEarlyReport
  • TestReadInteractionSync.TestSubscribeUrgentWildcardEvent

Copy link

Review changes with  SemanticDiff

Copy link

github-actions bot commented Dec 12, 2024

PR #36831: Size comparison from c55e3ab to f44a7a4

Full report (15 builds for bl602, bl702, bl702l, cc32xx, nrfconnect, qpg, stm32, tizen)
platform target config section c55e3ab f44a7a4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353338 1353836 498 0.0
RAM 104112 104120 8 0.0
bl702 lighting-app bl702+eth FLASH 651826 651952 126 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829154 829280 126 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057624 1057750 126 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978998 979124 126 0.0
RAM 16596 16596 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631050 631190 140 0.0
RAM 205824 205832 8 0.0
lock CC3235SF_LAUNCHXL FLASH 669646 669786 140 0.0
RAM 205968 205976 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917616 917644 28 0.0
RAM 143292 143300 8 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890104 890144 40 0.0
RAM 141487 141495 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851760 851792 32 0.0
RAM 142200 142208 8 0.0
qpg lighting-app qpg6105+debug FLASH 664008 664160 152 0.0
RAM 105424 105432 8 0.0
lock-app qpg6105+debug FLASH 621796 621980 184 0.0
RAM 99868 99876 8 0.0
stm32 light STM32WB5MM-DK FLASH 484720 484876 156 0.0
RAM 144880 144888 8 0.0
tizen all-clusters-app arm unknown 4988 4992 4 0.1
FLASH 1732528 1732860 332 0.0
RAM 90744 90796 52 0.1
chip-tool-ubsan arm unknown 10804 10808 4 0.0
FLASH 17970638 17972510 1872 0.0
RAM 7841352 7842168 816 0.0

Copy link

github-actions bot commented Dec 12, 2024

PR #36831: Size comparison from c55e3ab to d14ef63

Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c55e3ab d14ef63 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353338 1353836 498 0.0
RAM 104112 104120 8 0.0
bl702 lighting-app bl702+eth FLASH 651826 651952 126 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829154 829280 126 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057624 1057750 126 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978998 979124 126 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839760 839856 96 0.0
RAM 123664 123672 8 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825308 825412 104 0.0
RAM 125552 125560 8 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772096 772208 112 0.0
RAM 114020 114028 8 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756284 756388 104 0.0
RAM 114228 114236 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631050 631190 140 0.0
RAM 205824 205832 8 0.0
lock CC3235SF_LAUNCHXL FLASH 669646 669786 140 0.0
RAM 205968 205976 8 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681505 681553 48 0.0
RAM 78724 78732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701349 701397 48 0.0
RAM 81364 81372 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701349 701397 48 0.0
RAM 81364 81372 8 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658293 658341 48 0.0
RAM 73792 73800 8 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618065 618193 128 0.0
RAM 71708 71716 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637693 637821 128 0.0
RAM 74252 74260 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637693 637821 128 0.0
RAM 74252 74260 8 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637465 637593 128 0.0
RAM 74724 74732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657173 657301 128 0.0
RAM 77268 77276 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657173 657301 128 0.0
RAM 77268 77276 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613925 614053 128 0.0
RAM 68812 68820 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633777 633913 136 0.0
RAM 71444 71452 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633777 633913 136 0.0
RAM 71444 71452 8 0.0
efr32 lock-app BRD4187C FLASH 932340 932428 88 0.0
RAM 160192 160200 8 0.0
BRD4338a FLASH 746144 746256 112 0.0
RAM 233320 233328 8 0.0
window-app BRD4187C FLASH 1024784 1024928 144 0.0
RAM 128296 128304 8 0.0
esp32 all-clusters-app c3devkit DRAM 95360 95368 8 0.0
FLASH 1543082 1543190 108 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116312 116320 8 0.0
FLASH 1549682 1549774 92 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2715063 2715501 438 0.0
RAM 129800 129896 96 0.1
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6007064 6007502 438 0.0
RAM 523544 523624 80 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5344804 5345242 438 0.0
RAM 242600 242680 80 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4684372 4684810 438 0.0
RAM 218416 218544 128 0.1
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12847958 12848340 382 0.0
RAM 582474 582562 88 0.0
chip-tool-ipv6only arm64 unknown 21352 21360 8 0.0
FLASH 10982688 10982992 304 0.0
RAM 633392 633512 120 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255283 11255665 382 0.0
RAM 582850 582946 96 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4509948 4510386 438 0.0
RAM 205600 205728 128 0.1
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5610053 5610485 432 0.0
RAM 472584 472680 96 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5621073 5621505 432 0.0
RAM 228792 228888 96 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4733612 4734050 438 0.0
RAM 204776 204872 96 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4359350 4359788 438 0.0
RAM 198448 198544 96 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4498342 4498780 438 0.0
RAM 203032 203128 96 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3030077 3030525 448 0.0
RAM 160424 160512 88 0.1
thermostat-no-ble arm64 unknown 9536 9544 8 0.1
FLASH 4103472 4103872 400 0.0
RAM 243040 243160 120 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5958901 5959333 432 0.0
RAM 596016 596096 80 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11054589 11055069 480 0.0
RAM 692184 692328 144 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917616 917644 28 0.0
RAM 143292 143300 8 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890104 890144 40 0.0
RAM 141487 141495 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851760 851792 32 0.0
RAM 142200 142208 8 0.0
nxp contact k32w0+release FLASH 585440 585544 104 0.0
RAM 71080 71088 8 0.0
mcxw71+release FLASH 600048 600176 128 0.0
RAM 63176 63184 8 0.0
light k32w0+release FLASH 612396 612484 88 0.0
RAM 70472 70480 8 0.0
k32w1+release FLASH 686576 686688 112 0.0
RAM 48808 48816 8 0.0
lock mcxw71+release FLASH 762928 763040 112 0.0
RAM 70844 70852 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646364 1646468 104 0.0
RAM 212104 212112 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554108 1554236 128 0.0
RAM 208904 208912 8 0.0
light cy8ckit_062s2_43012 FLASH 1469436 1469548 112 0.0
RAM 200880 200888 8 0.0
lock cy8ckit_062s2_43012 FLASH 1467164 1467292 128 0.0
RAM 225240 225248 8 0.0
qpg lighting-app qpg6105+debug FLASH 664008 664160 152 0.0
RAM 105424 105432 8 0.0
lock-app qpg6105+debug FLASH 621796 621980 184 0.0
RAM 99868 99876 8 0.0
stm32 light STM32WB5MM-DK FLASH 484720 484876 156 0.0
RAM 144880 144888 8 0.0
telink bridge-app tlsr9258a FLASH 682920 683014 94 0.0
RAM 91208 91216 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 623350 623446 96 0.0
RAM 31440 31456 16 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772180 772276 96 0.0
RAM 49300 49316 16 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710774 710870 96 0.0
RAM 73504 73512 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627794 627888 94 0.0
RAM 142140 142148 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813808 813902 94 0.0
RAM 99684 99692 8 0.0
tizen all-clusters-app arm unknown 4988 4992 4 0.1
FLASH 1732528 1732860 332 0.0
RAM 90744 90796 52 0.1
chip-tool-ubsan arm unknown 10804 10808 4 0.0
FLASH 17970638 17972510 1872 0.0
RAM 7841352 7842168 816 0.0

src/app/EventManagement.cpp Outdated Show resolved Hide resolved
src/app/EventScheduler.h Outdated Show resolved Hide resolved
src/app/reporting/Engine.h Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Dec 13, 2024

PR #36831: Size comparison from c55e3ab to 1851566

Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c55e3ab 1851566 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353338 1353836 498 0.0
RAM 104112 104120 8 0.0
bl702 lighting-app bl702+eth FLASH 651826 651944 118 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829154 829272 118 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057624 1057744 120 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978998 979118 120 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839760 839856 96 0.0
RAM 123664 123672 8 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825308 825412 104 0.0
RAM 125552 125560 8 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772096 772208 112 0.0
RAM 114020 114028 8 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756284 756404 120 0.0
RAM 114228 114236 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631050 539753 -91297 -14.5
RAM 205824 205768 -56 -0.0
lock CC3235SF_LAUNCHXL FLASH 669646 574033 -95613 -14.3
RAM 205968 205912 -56 -0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681505 681561 56 0.0
RAM 78724 78732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701349 701405 56 0.0
RAM 81364 81372 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701349 701405 56 0.0
RAM 81364 81372 8 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658293 658349 56 0.0
RAM 73792 73800 8 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618065 618201 136 0.0
RAM 71708 71716 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637693 637829 136 0.0
RAM 74252 74260 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637693 637829 136 0.0
RAM 74252 74260 8 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637465 637601 136 0.0
RAM 74724 74732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657173 657309 136 0.0
RAM 77268 77276 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657173 657309 136 0.0
RAM 77268 77276 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613925 614061 136 0.0
RAM 68812 68820 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633777 633921 144 0.0
RAM 71444 71452 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633777 633921 144 0.0
RAM 71444 71452 8 0.0
efr32 lock-app BRD4187C FLASH 932340 932428 88 0.0
RAM 160192 160200 8 0.0
BRD4338a FLASH 746144 746368 224 0.0
RAM 233320 233328 8 0.0
window-app BRD4187C FLASH 1024784 1025056 272 0.0
RAM 128296 128304 8 0.0
esp32 all-clusters-app c3devkit DRAM 95360 95368 8 0.0
FLASH 1543082 1543490 408 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116312 116320 8 0.0
FLASH 1549682 1550066 384 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2715063 2716101 1038 0.0
RAM 129800 129896 96 0.1
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6007064 6009786 2722 0.0
RAM 523544 523624 80 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5344804 5345842 1038 0.0
RAM 242600 242680 80 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4684372 4685410 1038 0.0
RAM 218416 218544 128 0.1
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12847958 12849726 1768 0.0
RAM 582474 582594 120 0.0
chip-tool-ipv6only arm64 unknown 21352 21360 8 0.0
FLASH 10982688 10984304 1616 0.0
RAM 633392 633528 136 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255283 11256275 992 0.0
RAM 582850 582946 96 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4509948 4510986 1038 0.0
RAM 205600 205728 128 0.1
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5610053 5611013 960 0.0
RAM 472584 472680 96 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5621073 5622113 1040 0.0
RAM 228792 228888 96 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4733612 4734650 1038 0.0
RAM 204776 204872 96 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4359350 4360388 1038 0.0
RAM 198448 198544 96 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4498342 4499380 1038 0.0
RAM 203032 203128 96 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3030077 3033229 3152 0.1
RAM 160424 160512 88 0.1
thermostat-no-ble arm64 unknown 9536 9544 8 0.1
FLASH 4103472 4104640 1168 0.0
RAM 243040 243160 120 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5958901 5959925 1024 0.0
RAM 596016 596096 80 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11054589 11055661 1072 0.0
RAM 692184 692328 144 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917616 917912 296 0.0
RAM 143292 143300 8 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890104 890416 312 0.0
RAM 141487 141495 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851760 851804 44 0.0
RAM 142200 142208 8 0.0
nxp contact k32w0+release FLASH 585440 585544 104 0.0
RAM 71080 71088 8 0.0
mcxw71+release FLASH 600048 600176 128 0.0
RAM 63176 63184 8 0.0
light k32w0+release FLASH 612396 612500 104 0.0
RAM 70472 70480 8 0.0
k32w1+release FLASH 686576 686704 128 0.0
RAM 48808 48816 8 0.0
lock mcxw71+release FLASH 762928 763040 112 0.0
RAM 70844 70852 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646364 1646916 552 0.0
RAM 212104 212112 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554108 1554364 256 0.0
RAM 208904 208912 8 0.0
light cy8ckit_062s2_43012 FLASH 1469436 1469676 240 0.0
RAM 200880 200888 8 0.0
lock cy8ckit_062s2_43012 FLASH 1467164 1467420 256 0.0
RAM 225240 225248 8 0.0
qpg lighting-app qpg6105+debug FLASH 664008 664184 176 0.0
RAM 105424 105432 8 0.0
lock-app qpg6105+debug FLASH 621796 622004 208 0.0
RAM 99868 99876 8 0.0
stm32 light STM32WB5MM-DK FLASH 484720 484884 164 0.0
RAM 144880 144888 8 0.0
telink bridge-app tlsr9258a FLASH 682920 683006 86 0.0
RAM 91208 91216 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 623350 623442 92 0.0
RAM 31440 31456 16 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772180 772272 92 0.0
RAM 49300 49316 16 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710774 710866 92 0.0
RAM 73504 73512 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627794 627880 86 0.0
RAM 142140 142148 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813808 813894 86 0.0
RAM 99684 99692 8 0.0
tizen all-clusters-app arm unknown 4988 4992 4 0.1
FLASH 1732528 1734788 2260 0.1
RAM 90744 90796 52 0.1
chip-tool-ubsan arm unknown 10804 10808 4 0.0
FLASH 17970638 17975238 4600 0.0
RAM 7841352 7843392 2040 0.0

src/app/EventReporter.h Outdated Show resolved Hide resolved
src/app/EventReporter.h Outdated Show resolved Hide resolved
Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

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

@yyzhong-g at a recent SWTT standup we decided to try once again for stricter "require tests".

Could you please add a "testing" section to describe how this were tested and since I see no unit tests updated or added as part of this PR to explain why this is ok. If manual testing, explain why this cannot be covered by automated tests (there should be a hight bar for saying "manually tested" because otherwise it is a simple escape hatch of saying "tested manually" on every PR).

@yyzhong-g
Copy link
Contributor Author

@yyzhong-g at a recent SWTT standup we decided to try once again for stricter "require tests".

Could you please add a "testing" section to describe how this were tested and since I see no unit tests updated or added as part of this PR to explain why this is ok. If manual testing, explain why this cannot be covered by automated tests (there should be a hight bar for saying "manually tested" because otherwise it is a simple escape hatch of saying "tested manually" on every PR).

Added a testing section in the description. Existing unit tests have coverages.

Copy link

github-actions bot commented Dec 16, 2024

PR #36831: Size comparison from c55e3ab to 8809618

Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c55e3ab 8809618 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353338 1353836 498 0.0
RAM 104112 104120 8 0.0
bl702 lighting-app bl702+eth FLASH 651826 651944 118 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829154 829272 118 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057624 1057744 120 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978998 979118 120 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839760 839856 96 0.0
RAM 123664 123672 8 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825308 825412 104 0.0
RAM 125552 125560 8 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772096 772208 112 0.0
RAM 114020 114028 8 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756284 756404 120 0.0
RAM 114228 114236 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631050 539753 -91297 -14.5
RAM 205824 205768 -56 -0.0
lock CC3235SF_LAUNCHXL FLASH 669646 574033 -95613 -14.3
RAM 205968 205912 -56 -0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681505 681561 56 0.0
RAM 78724 78732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701349 701405 56 0.0
RAM 81364 81372 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701349 701405 56 0.0
RAM 81364 81372 8 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658293 658349 56 0.0
RAM 73792 73800 8 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618065 618201 136 0.0
RAM 71708 71716 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637693 637829 136 0.0
RAM 74252 74260 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637693 637829 136 0.0
RAM 74252 74260 8 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637465 637601 136 0.0
RAM 74724 74732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657173 657309 136 0.0
RAM 77268 77276 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657173 657309 136 0.0
RAM 77268 77276 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613925 614061 136 0.0
RAM 68812 68820 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633777 633921 144 0.0
RAM 71444 71452 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633777 633921 144 0.0
RAM 71444 71452 8 0.0
efr32 lock-app BRD4187C FLASH 932340 932428 88 0.0
RAM 160192 160200 8 0.0
BRD4338a FLASH 746144 746368 224 0.0
RAM 233320 233328 8 0.0
window-app BRD4187C FLASH 1024784 1025056 272 0.0
RAM 128296 128304 8 0.0
esp32 all-clusters-app c3devkit DRAM 95360 95368 8 0.0
FLASH 1543082 1543490 408 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116312 116320 8 0.0
FLASH 1549682 1550066 384 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2715063 2716101 1038 0.0
RAM 129800 129896 96 0.1
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6007064 6009786 2722 0.0
RAM 523544 523624 80 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5344804 5345842 1038 0.0
RAM 242600 242680 80 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4684372 4685410 1038 0.0
RAM 218416 218544 128 0.1
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12847958 12849726 1768 0.0
RAM 582474 582594 120 0.0
chip-tool-ipv6only arm64 unknown 21352 21360 8 0.0
FLASH 10982688 10984304 1616 0.0
RAM 633392 633528 136 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255283 11256275 992 0.0
RAM 582850 582946 96 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4509948 4510986 1038 0.0
RAM 205600 205728 128 0.1
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5610053 5611013 960 0.0
RAM 472584 472680 96 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5621073 5622113 1040 0.0
RAM 228792 228888 96 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4733612 4734650 1038 0.0
RAM 204776 204872 96 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4359350 4360388 1038 0.0
RAM 198448 198544 96 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4498342 4499380 1038 0.0
RAM 203032 203128 96 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3030077 3033229 3152 0.1
RAM 160424 160512 88 0.1
thermostat-no-ble arm64 unknown 9536 9544 8 0.1
FLASH 4103472 4104640 1168 0.0
RAM 243040 243160 120 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5958901 5959925 1024 0.0
RAM 596016 596096 80 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11054589 11055661 1072 0.0
RAM 692184 692328 144 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917616 917912 296 0.0
RAM 143292 143300 8 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890104 890416 312 0.0
RAM 141487 141495 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851760 851804 44 0.0
RAM 142200 142208 8 0.0
nxp contact k32w0+release FLASH 585440 585544 104 0.0
RAM 71080 71088 8 0.0
mcxw71+release FLASH 600048 600176 128 0.0
RAM 63176 63184 8 0.0
light k32w0+release FLASH 612396 612500 104 0.0
RAM 70472 70480 8 0.0
k32w1+release FLASH 686576 686704 128 0.0
RAM 48808 48816 8 0.0
lock mcxw71+release FLASH 762928 763040 112 0.0
RAM 70844 70852 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646364 1646916 552 0.0
RAM 212104 212112 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554108 1554364 256 0.0
RAM 208904 208912 8 0.0
light cy8ckit_062s2_43012 FLASH 1469436 1469676 240 0.0
RAM 200880 200888 8 0.0
lock cy8ckit_062s2_43012 FLASH 1467164 1467420 256 0.0
RAM 225240 225248 8 0.0
qpg lighting-app qpg6105+debug FLASH 664008 664184 176 0.0
RAM 105424 105432 8 0.0
lock-app qpg6105+debug FLASH 621796 622004 208 0.0
RAM 99868 99876 8 0.0
stm32 light STM32WB5MM-DK FLASH 484720 484884 164 0.0
RAM 144880 144888 8 0.0
telink bridge-app tlsr9258a FLASH 682920 683006 86 0.0
RAM 91208 91216 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 623350 623442 92 0.0
RAM 31440 31456 16 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772180 772272 92 0.0
RAM 49300 49316 16 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710774 710866 92 0.0
RAM 73504 73512 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627794 627880 86 0.0
RAM 142140 142148 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813808 813894 86 0.0
RAM 99684 99692 8 0.0
tizen all-clusters-app arm unknown 4988 4992 4 0.1
FLASH 1732528 1734788 2260 0.1
RAM 90744 90796 52 0.1
chip-tool-ubsan arm unknown 10804 10808 4 0.0
FLASH 17970638 17975238 4600 0.0
RAM 7841352 7843392 2040 0.0

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