Skip to content

Enable Wi-Fi Management only when required #39172

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

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

Conversation

crlonxp
Copy link
Contributor

@crlonxp crlonxp commented May 25, 2025

  • Add back to enable Wi-Fi PAF commissioning by default on Linux platform
  • Postpone to start Wi-Fi Management while needed
    • Wi-Fi management won't be started unless running Wi-Fi PAF commissioning to reduce the initialization time

Testing

  • Environment:
    AP: Asus RT-N66U, running at chnl#1
    commissioner: Rpi + NetGear, Inc. A6210
    commissionee#1: rpi + Linksys AE6000
    commissionee#2: imx93+iw612

  • commands:
    [commissionee]
    $ ./chip-all-clusters-app --wifi --wifipaf freq_list=2412
    [commissioner]
    $ ./chip-tool pairing code-wifi 1 n_m_2g nxp12345 MT:-24J0M3810KA0648G00 --freq 2412
    or
    $ ./chip-tool pairing wifipaf-wifi 1 n_m_2g nxp12345 20202021 3840 --freq 2412

* Postpone to start Wi-Fi Management while needed

Signed-off-by: Lo,Chin-Ran <[email protected]>
@crlonxp crlonxp force-pushed the paf-run-time-pr branch from 575a29d to cd0e4d0 Compare May 25, 2025 11:13
@crlonxp crlonxp changed the title Enable Wi-Fi Management only if needed Enable Wi-Fi Management only when required May 25, 2025
Copy link

github-actions bot commented May 25, 2025

PR #39172: Size comparison from a9afc79 to cd0e4d0

Increases above 0.2%:

platform target config section a9afc79 cd0e4d0 change % change
linux air-purifier-app debug unknown 4760 4848 88 1.8
FLASH 2715576 2776728 61152 2.3
RAM 115024 116312 1288 1.1
all-clusters-app debug unknown 5600 5664 64 1.1
FLASH 6307370 6366482 59112 0.9
RAM 535376 536632 1256 0.2
all-clusters-minimal-app debug unknown 5464 5528 64 1.2
FLASH 5397032 5456166 59134 1.1
RAM 225968 227224 1256 0.6
bridge-app debug unknown 5496 5560 64 1.2
FLASH 4732894 4791130 58236 1.2
RAM 205624 206880 1256 0.6
camera-app debug unknown 8824 8864 40 0.5
FLASH 6840891 6900011 59120 0.9
RAM 226864 228152 1288 0.6
chip-tool debug unknown 6112 6256 144 2.4
FLASH 14592601 14712893 120292 0.8
RAM 653920 661688 7768 1.2
chip-tool-ipv6only arm64 unknown 40856 41016 160 0.4
FLASH 12569640 12672648 103008 0.8
RAM 700944 708048 7104 1.0
fabric-admin debug unknown 5800 5936 136 2.3
FLASH 12674067 12792273 118206 0.9
RAM 653704 661056 7352 1.1
fabric-bridge-app debug unknown 4736 4808 72 1.5
FLASH 4517874 4577012 59138 1.3
RAM 191304 192624 1320 0.7
fabric-sync debug unknown 4984 5064 80 1.6
FLASH 5639669 5717013 77344 1.4
RAM 487400 489232 1832 0.4
lighting-app debug+rpc+ui unknown 6208 6272 64 1.0
FLASH 5579809 5638929 59120 1.1
RAM 207760 209048 1288 0.6
lock-app debug unknown 5432 5496 64 1.2
FLASH 4765736 4824882 59146 1.2
RAM 195072 196360 1288 0.7
ota-provider-app debug unknown 4776 4848 72 1.5
FLASH 4369956 4428938 58982 1.3
RAM 183928 185248 1320 0.7
ota-requestor-app debug unknown 4728 4800 72 1.5
FLASH 4497390 4556382 58992 1.3
RAM 187864 189184 1320 0.7
shell debug unknown 4240 4264 24 0.6
FLASH 3033244 3080588 47344 1.6
RAM 149600 150856 1256 0.8
thermostat-no-ble arm64 unknown 9648 9744 96 1.0
FLASH 4177840 4228112 50272 1.2
RAM 231184 232776 1592 0.7
tv-app debug unknown 5760 5832 72 1.2
FLASH 6006741 6083173 76432 1.3
RAM 611600 613464 1864 0.3
tv-casting-app debug unknown 5320 5336 16 0.3
FLASH 1272866 12776397 47728 0.4
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a9afc79 cd0e4d0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102242 1102242 0 0.0
RAM 179114 179114 0 0.0
bl702 lighting-app bl702+eth FLASH 655348 655348 0 0.0
RAM 135073 135073 0 0.0
bl702+wifi FLASH 832858 832858 0 0.0
RAM 124637 124637 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065398 1065398 0 0.0
RAM 117461 117461 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894952 894952 0 0.0
RAM 105772 105772 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978678 978678 0 0.0
RAM 109956 109956 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820588 820588 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 832176 832176 0 0.0
RAM 125440 125440 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 777680 777680 0 0.0
RAM 113844 113844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 761996 761996 0 0.0
RAM 114052 114052 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548254 548254 0 0.0
RAM 205256 205256 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581694 581694 0 0.0
RAM 205448 205448 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 662253 662253 0 0.0
RAM 77472 77472 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 682105 682105 0 0.0
RAM 80112 80112 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 682105 682105 0 0.0
RAM 80112 80112 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 639045 639045 0 0.0
RAM 72540 72540 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623645 623645 0 0.0
RAM 73784 73784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643281 643281 0 0.0
RAM 76336 76336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643281 643281 0 0.0
RAM 76336 76336 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 644573 644573 0 0.0
RAM 76784 76784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 664281 664281 0 0.0
RAM 79336 79336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 664281 664281 0 0.0
RAM 79336 79336 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619241 619241 0 0.0
RAM 70896 70896 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639093 639093 0 0.0
RAM 73528 73528 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639093 639093 0 0.0
RAM 73528 73528 0 0.0
efr32 lock-app BRD4187C FLASH 946772 946772 0 0.0
RAM 132092 132092 0 0.0
BRD4338a FLASH 775728 775728 0 0.0
RAM 173320 173320 0 0.0
window-app BRD4187C FLASH 1039456 1039448 -8 -0.0
RAM 128228 128228 0 0.0
esp32 all-clusters-app c3devkit DRAM 103536 103536 0 0.0
FLASH 1809048 1809048 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 122316 122316 0 0.0
FLASH 1775058 1775058 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4760 4848 88 1.8
FLASH 2715576 2776728 61152 2.3
RAM 115024 116312 1288 1.1
all-clusters-app debug unknown 5600 5664 64 1.1
FLASH 6307370 6366482 59112 0.9
RAM 535376 536632 1256 0.2
all-clusters-minimal-app debug unknown 5464 5528 64 1.2
FLASH 5397032 5456166 59134 1.1
RAM 225968 227224 1256 0.6
bridge-app debug unknown 5496 5560 64 1.2
FLASH 4732894 4791130 58236 1.2
RAM 205624 206880 1256 0.6
camera-app debug unknown 8824 8864 40 0.5
FLASH 6840891 6900011 59120 0.9
RAM 226864 228152 1288 0.6
camera-controller debug unknown 9112 9112 0 0.0
FLASH 14229435 14229531 96 0.0
RAM 656584 656584 0 0.0
chip-tool debug unknown 6112 6256 144 2.4
FLASH 14592601 14712893 120292 0.8
RAM 653920 661688 7768 1.2
chip-tool-ipv6only arm64 unknown 40856 41016 160 0.4
FLASH 12569640 12672648 103008 0.8
RAM 700944 708048 7104 1.0
fabric-admin debug unknown 5800 5936 136 2.3
FLASH 12674067 12792273 118206 0.9
RAM 653704 661056 7352 1.1
fabric-bridge-app debug unknown 4736 4808 72 1.5
FLASH 4517874 4577012 59138 1.3
RAM 191304 192624 1320 0.7
fabric-sync debug unknown 4984 5064 80 1.6
FLASH 5639669 5717013 77344 1.4
RAM 487400 489232 1832 0.4
lighting-app debug+rpc+ui unknown 6208 6272 64 1.0
FLASH 5579809 5638929 59120 1.1
RAM 207760 209048 1288 0.6
lock-app debug unknown 5432 5496 64 1.2
FLASH 4765736 4824882 59146 1.2
RAM 195072 196360 1288 0.7
ota-provider-app debug unknown 4776 4848 72 1.5
FLASH 4369956 4428938 58982 1.3
RAM 183928 185248 1320 0.7
ota-requestor-app debug unknown 4728 4800 72 1.5
FLASH 4497390 4556382 58992 1.3
RAM 187864 189184 1320 0.7
shell debug unknown 4240 4264 24 0.6
FLASH 3033244 3080588 47344 1.6
RAM 149600 150856 1256 0.8
thermostat-no-ble arm64 unknown 9648 9744 96 1.0
FLASH 4177840 4228112 50272 1.2
RAM 231184 232776 1592 0.7
tv-app debug unknown 5760 5832 72 1.2
FLASH 6006741 6083173 76432 1.3
RAM 611600 613464 1864 0.3
tv-casting-app debug unknown 5320 5336 16 0.3
FLASH 1272866 12776397 47728 0.4
RAM 764992 766352 1360 0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 921652 921652 0 0.0
RAM 167524 167524 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 912904 912904 0 0.0
RAM 145768 145768 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 858944 858944 0 0.0
RAM 141159 141159 0 0.0
nxp contact k32w0+release FLASH 592256 592256 0 0.0
RAM 72920 72920 0 0.0
mcxw71+release FLASH 625056 625056 0 0.0
RAM 63260 63260 0 0.0
light k32w0+release FLASH 618316 618316 0 0.0
RAM 72216 72216 0 0.0
k32w1+release FLASH 709568 709568 0 0.0
RAM 72116 72116 0 0.0
lock mcxw71+release FLASH 776192 776192 0 0.0
RAM 67676 67676 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670612 1670612 0 0.0
RAM 212520 212520 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1575148 1575148 0 0.0
RAM 208576 208576 0 0.0
light cy8ckit_062s2_43012 FLASH 1448108 1448108 0 0.0
RAM 197304 197304 0 0.0
lock cy8ckit_062s2_43012 FLASH 1480324 1480324 0 0.0
RAM 225016 225016 0 0.0
qpg lighting-app qpg6105+debug FLASH 667228 667228 0 0.0
RAM 105244 105244 0 0.0
lock-app qpg6105+debug FLASH 627248 627248 0 0.0
RAM 99872 99872 0 0.0
stm32 light STM32WB5MM-DK FLASH 464964 464964 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 693976 677220 -16756 -2.4
RAM 102084 90944 -11140 -10.9
light-app-ota-compress-lzma-factory-data tl3218x FLASH 773404 773404 0 0.0
RAM 50236 50236 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770498 770498 0 0.0
RAM 40528 40528 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 780510 758954 -21556 -2.8
RAM 109408 97656 -11752 -10.7
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702844 686946 -15898 -2.3
RAM 62796 51764 -11032 -17.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740798 715396 -25402 -3.4
RAM 85968 73576 -12392 -14.4
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 712736 712736 0 0.0
RAM 37212 37212 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 607356 607290 -66 -0.0
RAM 120180 106904 -13276 -11.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 815820 794008 -21812 -2.7
RAM 107676 96504 -11172 -10.4
tizen all-clusters-app arm unknown 5280 5280 0 0.0
FLASH 1812176 1812176 0 0.0
RAM 96604 96604 0 0.0
chip-tool-ubsan arm unknown 20796 20796 0 0.0
FLASH 21014886 21014886 0 0.0
RAM 9155628 9155628 0 0.0

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.

https://github.com/project-chip/connectedhomeip/actions/runs/15237267578/job/42852799995?pr=39172 still shows 20+ seconds of runtime for checks (instead of the expected 3 seconds):

...
 TV_ChannelCluster    - Starting test
INFO    WARNING:root:TAG configurator::cluster::attribute::quality was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml:131:37
INFO    WARNING:root:TAG configurator::cluster::command::describedConform was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml:109:25
INFO    WARNING:root:TAG configurator::cluster::command::quality was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/webrtc-requestor-cluster.xml:39:36
INFO    WARNING:root:TAG configurator::cluster::attribute::describedConform was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information-cluster.xml:84:25
INFO    TV_ChannelCluster              - Completed in 22.44 seconds
INFO    TV_ContentLauncherCluster - Starting test
INFO    WARNING:root:TAG configurator::cluster::attribute::quality was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml:131:37
INFO    WARNING:root:TAG configurator::cluster::command::describedConform was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml:109:25
INFO    WARNING:root:TAG configurator::cluster::command::quality was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/webrtc-requestor-cluster.xml:39:36
INFO    WARNING:root:TAG configurator::cluster::attribute::describedConform was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information-cluster.xml:84:25
INFO    TV_ContentLauncherCluster      - Completed in 21.99 seconds
INFO    TV_KeypadInputCluster - Starting test
INFO    WARNING:root:TAG configurator::cluster::attribute::quality was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml:131:37
INFO    WARNING:root:TAG configurator::cluster::command::describedConform was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml:109:25
INFO    WARNING:root:TAG configurator::cluster::command::quality was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/webrtc-requestor-cluster.xml:39:36
INFO    WARNING:root:TAG configurator::cluster::attribute::describedConform was not handled/recognized at src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information-cluster.xml:84:25
INFO    TV_KeypadInputCluster          - Completed in 21.99 seconds
INFO    TV_LowPowerCluster   - Starting test
...

Copy link

github-actions bot commented May 26, 2025

PR #39172: Size comparison from a9afc79 to 6e124e1

Increases above 0.2%:

platform target config section a9afc79 6e124e1 change % change
linux air-purifier-app debug unknown 4760 4848 88 1.8
FLASH 2715576 2776058 60482 2.2
RAM 115024 116312 1288 1.1
all-clusters-app debug unknown 5600 5664 64 1.1
FLASH 6307370 6365812 58442 0.9
all-clusters-minimal-app debug unknown 5464 5528 64 1.2
FLASH 5397032 5455496 58464 1.1
RAM 225968 227224 1256 0.6
bridge-app debug unknown 5496 5560 64 1.2
FLASH 4732894 4790460 57566 1.2
RAM 205624 206880 1256 0.6
camera-app debug unknown 8824 8864 40 0.5
FLASH 6840891 6899339 58448 0.9
RAM 226864 228152 1288 0.6
chip-tool debug unknown 6112 6248 136 2.2
FLASH 14592601 14712223 119622 0.8
RAM 653920 661688 7768 1.2
chip-tool-ipv6only arm64 unknown 40856 41016 160 0.4
FLASH 12569640 12672232 102592 0.8
RAM 700944 708032 7088 1.0
fabric-admin debug unknown 5800 5928 128 2.2
FLASH 12674067 12791603 117536 0.9
RAM 653704 661056 7352 1.1
fabric-bridge-app debug unknown 4736 4808 72 1.5
FLASH 4517874 4576342 58468 1.3
RAM 191304 192624 1320 0.7
fabric-sync debug unknown 4984 5064 80 1.6
FLASH 5639669 5716357 76688 1.4
RAM 487400 489232 1832 0.4
lighting-app debug+rpc+ui unknown 6208 6272 64 1.0
FLASH 5579809 5638257 58448 1.0
RAM 207760 209048 1288 0.6
lock-app debug unknown 5432 5496 64 1.2
FLASH 4765736 4824216 58480 1.2
RAM 195072 196360 1288 0.7
ota-provider-app debug unknown 4776 4848 72 1.5
FLASH 4369956 4428268 58312 1.3
RAM 183928 185248 1320 0.7
ota-requestor-app debug unknown 4728 4800 72 1.5
FLASH 4497390 4555712 58322 1.3
RAM 187864 189184 1320 0.7
shell debug unknown 4240 4256 16 0.4
FLASH 3033244 3079916 46672 1.5
RAM 149600 150856 1256 0.8
thermostat-no-ble arm64 unknown 9648 9744 96 1.0
FLASH 4177840 4227696 49856 1.2
RAM 231184 232776 1592 0.7
tv-app debug unknown 5760 5832 72 1.2
FLASH 6006741 6082501 75760 1.3
RAM 611600 613464 1864 0.3
tv-casting-app debug unknown 5320 5336 16 0.3
FLASH 1272866 12775741 47072 0.4
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a9afc79 6e124e1 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102242 1102242 0 0.0
RAM 179114 179114 0 0.0
bl702 lighting-app bl702+eth FLASH 655348 655348 0 0.0
RAM 135073 135073 0 0.0
bl702+wifi FLASH 832858 832858 0 0.0
RAM 124637 124637 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065398 1065398 0 0.0
RAM 117461 117461 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894952 894952 0 0.0
RAM 105772 105772 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978678 978678 0 0.0
RAM 109956 109956 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820588 820588 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 832176 832176 0 0.0
RAM 125440 125440 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 777680 777680 0 0.0
RAM 113844 113844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 761996 761996 0 0.0
RAM 114052 114052 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548254 548254 0 0.0
RAM 205256 205256 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581694 581694 0 0.0
RAM 205448 205448 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 662253 662253 0 0.0
RAM 77472 77472 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 682105 682105 0 0.0
RAM 80112 80112 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 682105 682105 0 0.0
RAM 80112 80112 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 639045 639045 0 0.0
RAM 72540 72540 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623645 623645 0 0.0
RAM 73784 73784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643281 643281 0 0.0
RAM 76336 76336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643281 643281 0 0.0
RAM 76336 76336 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 644573 644573 0 0.0
RAM 76784 76784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 664281 664281 0 0.0
RAM 79336 79336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 664281 664281 0 0.0
RAM 79336 79336 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619241 619241 0 0.0
RAM 70896 70896 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639093 639093 0 0.0
RAM 73528 73528 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639093 639093 0 0.0
RAM 73528 73528 0 0.0
efr32 lock-app BRD4187C FLASH 946772 946772 0 0.0
RAM 132092 132092 0 0.0
BRD4338a FLASH 775728 775728 0 0.0
RAM 173320 173320 0 0.0
window-app BRD4187C FLASH 1039456 1039448 -8 -0.0
RAM 128228 128228 0 0.0
esp32 all-clusters-app c3devkit DRAM 103536 103536 0 0.0
FLASH 1809048 1809048 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 122316 122316 0 0.0
FLASH 1775058 1775058 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4760 4848 88 1.8
FLASH 2715576 2776058 60482 2.2
RAM 115024 116312 1288 1.1
all-clusters-app debug unknown 5600 5664 64 1.1
FLASH 6307370 6365812 58442 0.9
RAM 535376 536632 1256 0.2
all-clusters-minimal-app debug unknown 5464 5528 64 1.2
FLASH 5397032 5455496 58464 1.1
RAM 225968 227224 1256 0.6
bridge-app debug unknown 5496 5560 64 1.2
FLASH 4732894 4790460 57566 1.2
RAM 205624 206880 1256 0.6
camera-app debug unknown 8824 8864 40 0.5
FLASH 6840891 6899339 58448 0.9
RAM 226864 228152 1288 0.6
camera-controller debug unknown 9112 9112 0 0.0
FLASH 14229435 14229531 96 0.0
RAM 656584 656584 0 0.0
chip-tool debug unknown 6112 6248 136 2.2
FLASH 14592601 14712223 119622 0.8
RAM 653920 661688 7768 1.2
chip-tool-ipv6only arm64 unknown 40856 41016 160 0.4
FLASH 12569640 12672232 102592 0.8
RAM 700944 708032 7088 1.0
fabric-admin debug unknown 5800 5928 128 2.2
FLASH 12674067 12791603 117536 0.9
RAM 653704 661056 7352 1.1
fabric-bridge-app debug unknown 4736 4808 72 1.5
FLASH 4517874 4576342 58468 1.3
RAM 191304 192624 1320 0.7
fabric-sync debug unknown 4984 5064 80 1.6
FLASH 5639669 5716357 76688 1.4
RAM 487400 489232 1832 0.4
lighting-app debug+rpc+ui unknown 6208 6272 64 1.0
FLASH 5579809 5638257 58448 1.0
RAM 207760 209048 1288 0.6
lock-app debug unknown 5432 5496 64 1.2
FLASH 4765736 4824216 58480 1.2
RAM 195072 196360 1288 0.7
ota-provider-app debug unknown 4776 4848 72 1.5
FLASH 4369956 4428268 58312 1.3
RAM 183928 185248 1320 0.7
ota-requestor-app debug unknown 4728 4800 72 1.5
FLASH 4497390 4555712 58322 1.3
RAM 187864 189184 1320 0.7
shell debug unknown 4240 4256 16 0.4
FLASH 3033244 3079916 46672 1.5
RAM 149600 150856 1256 0.8
thermostat-no-ble arm64 unknown 9648 9744 96 1.0
FLASH 4177840 4227696 49856 1.2
RAM 231184 232776 1592 0.7
tv-app debug unknown 5760 5832 72 1.2
FLASH 6006741 6082501 75760 1.3
RAM 611600 613464 1864 0.3
tv-casting-app debug unknown 5320 5336 16 0.3
FLASH 1272866 12775741 47072 0.4
RAM 764992 766352 1360 0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 921652 921652 0 0.0
RAM 167524 167524 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 912904 912904 0 0.0
RAM 145768 145768 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 858944 858944 0 0.0
RAM 141159 141159 0 0.0
nxp contact k32w0+release FLASH 592256 592256 0 0.0
RAM 72920 72920 0 0.0
mcxw71+release FLASH 625056 625056 0 0.0
RAM 63260 63260 0 0.0
light k32w0+release FLASH 618316 618316 0 0.0
RAM 72216 72216 0 0.0
k32w1+release FLASH 709568 709568 0 0.0
RAM 72116 72116 0 0.0
lock mcxw71+release FLASH 776192 776192 0 0.0
RAM 67676 67676 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670612 1670612 0 0.0
RAM 212520 212520 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1575148 1575148 0 0.0
RAM 208576 208576 0 0.0
light cy8ckit_062s2_43012 FLASH 1448108 1448108 0 0.0
RAM 197304 197304 0 0.0
lock cy8ckit_062s2_43012 FLASH 1480324 1480324 0 0.0
RAM 225016 225016 0 0.0
qpg lighting-app qpg6105+debug FLASH 667228 667228 0 0.0
RAM 105244 105244 0 0.0
lock-app qpg6105+debug FLASH 627248 627248 0 0.0
RAM 99872 99872 0 0.0
stm32 light STM32WB5MM-DK FLASH 464964 464964 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 693976 677220 -16756 -2.4
RAM 102084 90944 -11140 -10.9
light-app-ota-compress-lzma-factory-data tl3218x FLASH 773404 773404 0 0.0
RAM 50236 50236 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770498 770498 0 0.0
RAM 40528 40528 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 780510 758954 -21556 -2.8
RAM 109408 97656 -11752 -10.7
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702844 686946 -15898 -2.3
RAM 62796 51764 -11032 -17.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740798 715396 -25402 -3.4
RAM 85968 73576 -12392 -14.4
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 712736 712736 0 0.0
RAM 37212 37212 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 607356 607290 -66 -0.0
RAM 120180 106904 -13276 -11.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 815820 794008 -21812 -2.7
RAM 107676 96504 -11172 -10.4
tizen all-clusters-app arm unknown 5280 5280 0 0.0
FLASH 1812176 1812176 0 0.0
RAM 96604 96604 0 0.0
chip-tool-ubsan arm unknown 20796 20796 0 0.0
FLASH 21014886 21014886 0 0.0
RAM 9155628 9155628 0 0.0

@crlonxp crlonxp force-pushed the paf-run-time-pr branch from 6e124e1 to 97834a3 Compare May 26, 2025 10:03
Copy link

github-actions bot commented May 26, 2025

PR #39172: Size comparison from 9af93fd to 97834a3

Full report (7 builds for cc32xx, qpg, stm32, tizen)
platform target config section 9af93fd 97834a3 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548254 548254 0 0.0
RAM 205256 205256 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581694 581694 0 0.0
RAM 205448 205448 0 0.0
qpg lighting-app qpg6105+debug FLASH 667228 667228 0 0.0
RAM 105244 105244 0 0.0
lock-app qpg6105+debug FLASH 627248 627248 0 0.0
RAM 99872 99872 0 0.0
stm32 light STM32WB5MM-DK FLASH 464964 464964 0 0.0
RAM 141488 141488 0 0.0
tizen all-clusters-app arm unknown 5280 5280 0 0.0
FLASH 1812176 1812176 0 0.0
RAM 96604 96604 0 0.0
chip-tool-ubsan arm unknown 20796 20796 0 0.0
FLASH 21014886 21014886 0 0.0
RAM 9155628 9155628 0 0.0

@crlonxp crlonxp force-pushed the paf-run-time-pr branch from 97834a3 to 25d46ab Compare May 26, 2025 10:26
Copy link

github-actions bot commented May 26, 2025

PR #39172: Size comparison from 9af93fd to 25d46ab

Full report (27 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, telink, tizen)
platform target config section 9af93fd 25d46ab change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102242 1102242 0 0.0
RAM 179114 179114 0 0.0
bl702 lighting-app bl702+eth FLASH 655348 655348 0 0.0
RAM 135073 135073 0 0.0
bl702+wifi FLASH 832858 832858 0 0.0
RAM 124637 124637 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065398 1065398 0 0.0
RAM 117461 117461 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894952 894952 0 0.0
RAM 105772 105772 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978678 978678 0 0.0
RAM 109956 109956 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820588 820588 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 832176 832176 0 0.0
RAM 125440 125440 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 777680 777680 0 0.0
RAM 113844 113844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 761996 761996 0 0.0
RAM 114052 114052 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548254 548254 0 0.0
RAM 205256 205256 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581694 581694 0 0.0
RAM 205448 205448 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 921652 921652 0 0.0
RAM 167524 167524 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 912904 912904 0 0.0
RAM 145768 145768 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 858944 858944 0 0.0
RAM 141159 141159 0 0.0
qpg lighting-app qpg6105+debug FLASH 667228 667228 0 0.0
RAM 105244 105244 0 0.0
lock-app qpg6105+debug FLASH 627248 627248 0 0.0
RAM 99872 99872 0 0.0
stm32 light STM32WB5MM-DK FLASH 464964 464964 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 693976 693976 0 0.0
RAM 102084 102084 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 773404 773404 0 0.0
RAM 50236 50236 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 780510 780510 0 0.0
RAM 109408 109408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702844 702844 0 0.0
RAM 62796 62796 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740798 740798 0 0.0
RAM 85968 85968 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 607356 607356 0 0.0
RAM 120180 120180 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 815820 815824 4 0.0
RAM 107676 107676 0 0.0
tizen all-clusters-app arm unknown 5280 5280 0 0.0
FLASH 1812176 1812176 0 0.0
RAM 96604 96604 0 0.0
chip-tool-ubsan arm unknown 20796 20796 0 0.0
FLASH 21014886 21014886 0 0.0
RAM 9155628 9155628 0 0.0

Not enabling Wi-Fi-PAF in the test example

Signed-off-by: Lo,Chin-Ran <[email protected]>
@crlonxp crlonxp force-pushed the paf-run-time-pr branch from 25d46ab to 44b8e2e Compare May 26, 2025 11:09
Copy link

github-actions bot commented May 26, 2025

PR #39172: Size comparison from 9af93fd to 44b8e2e

Increases above 0.2%:

platform target config section 9af93fd 44b8e2e change % change
linux air-purifier-app debug unknown 4760 4848 88 1.8
FLASH 2715576 2776058 60482 2.2
RAM 115024 116312 1288 1.1
all-clusters-app debug unknown 5600 5664 64 1.1
FLASH 6307370 6365812 58442 0.9
all-clusters-minimal-app debug unknown 5464 5528 64 1.2
FLASH 5397032 5455496 58464 1.1
RAM 225968 227224 1256 0.6
bridge-app debug unknown 5496 5560 64 1.2
FLASH 4732894 4790460 57566 1.2
RAM 205624 206880 1256 0.6
camera-app debug unknown 8824 8864 40 0.5
FLASH 6840891 6899339 58448 0.9
RAM 226864 228152 1288 0.6
chip-tool debug unknown 6112 6248 136 2.2
FLASH 14592601 14712223 119622 0.8
RAM 653920 661688 7768 1.2
chip-tool-ipv6only arm64 unknown 40856 41016 160 0.4
FLASH 12569640 12672232 102592 0.8
RAM 700944 708032 7088 1.0
fabric-admin debug unknown 5800 5928 128 2.2
FLASH 12674067 12791603 117536 0.9
RAM 653704 661056 7352 1.1
fabric-bridge-app debug unknown 4736 4808 72 1.5
FLASH 4517874 4576342 58468 1.3
RAM 191304 192624 1320 0.7
fabric-sync debug unknown 4984 5064 80 1.6
FLASH 5639669 5716357 76688 1.4
RAM 487400 489232 1832 0.4
lighting-app debug+rpc+ui unknown 6208 6272 64 1.0
FLASH 5579809 5638257 58448 1.0
RAM 207760 209048 1288 0.6
lock-app debug unknown 5432 5496 64 1.2
FLASH 4765736 4824216 58480 1.2
RAM 195072 196360 1288 0.7
ota-provider-app debug unknown 4776 4848 72 1.5
FLASH 4369956 4428268 58312 1.3
RAM 183928 185248 1320 0.7
shell debug unknown 4240 4256 16 0.4
FLASH 3033244 3079916 46672 1.5
RAM 149600 150856 1256 0.8
thermostat-no-ble arm64 unknown 9648 9744 96 1.0
FLASH 4177840 4227696 49856 1.2
RAM 231184 232776 1592 0.7
tv-app debug unknown 5760 5832 72 1.2
FLASH 6006741 6082501 75760 1.3
RAM 611600 613464 1864 0.3
tv-casting-app debug unknown 5320 5336 16 0.3
FLASH 1272866 12775741 47072 0.4
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 9af93fd 44b8e2e change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102242 1102242 0 0.0
RAM 179114 179114 0 0.0
bl702 lighting-app bl702+eth FLASH 655348 655348 0 0.0
RAM 135073 135073 0 0.0
bl702+wifi FLASH 832858 832858 0 0.0
RAM 124637 124637 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065398 1065398 0 0.0
RAM 117461 117461 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894952 894952 0 0.0
RAM 105772 105772 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978678 978678 0 0.0
RAM 109956 109956 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820588 820588 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 832176 832176 0 0.0
RAM 125440 125440 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 777680 777680 0 0.0
RAM 113844 113844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 761996 761996 0 0.0
RAM 114052 114052 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548254 548254 0 0.0
RAM 205256 205256 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581694 581694 0 0.0
RAM 205448 205448 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 662253 662253 0 0.0
RAM 77472 77472 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 682105 682105 0 0.0
RAM 80112 80112 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 682105 682105 0 0.0
RAM 80112 80112 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 639045 639045 0 0.0
RAM 72540 72540 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623645 623645 0 0.0
RAM 73784 73784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643281 643281 0 0.0
RAM 76336 76336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643281 643281 0 0.0
RAM 76336 76336 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 644573 644573 0 0.0
RAM 76784 76784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 664281 664281 0 0.0
RAM 79336 79336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 664281 664281 0 0.0
RAM 79336 79336 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619241 619241 0 0.0
RAM 70896 70896 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639093 639093 0 0.0
RAM 73528 73528 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639093 639093 0 0.0
RAM 73528 73528 0 0.0
efr32 lock-app BRD4187C FLASH 946772 946772 0 0.0
RAM 132092 132092 0 0.0
BRD4338a FLASH 775728 775728 0 0.0
RAM 173320 173320 0 0.0
window-app BRD4187C FLASH 1039456 1039448 -8 -0.0
RAM 128228 128228 0 0.0
esp32 all-clusters-app c3devkit DRAM 103536 103536 0 0.0
FLASH 1809048 1809048 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 122316 122316 0 0.0
FLASH 1775058 1775058 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4760 4848 88 1.8
FLASH 2715576 2776058 60482 2.2
RAM 115024 116312 1288 1.1
all-clusters-app debug unknown 5600 5664 64 1.1
FLASH 6307370 6365812 58442 0.9
RAM 535376 536632 1256 0.2
all-clusters-minimal-app debug unknown 5464 5528 64 1.2
FLASH 5397032 5455496 58464 1.1
RAM 225968 227224 1256 0.6
bridge-app debug unknown 5496 5560 64 1.2
FLASH 4732894 4790460 57566 1.2
RAM 205624 206880 1256 0.6
camera-app debug unknown 8824 8864 40 0.5
FLASH 6840891 6899339 58448 0.9
RAM 226864 228152 1288 0.6
camera-controller debug unknown 9112 9112 0 0.0
FLASH 14229435 14229531 96 0.0
RAM 656584 656584 0 0.0
chip-tool debug unknown 6112 6248 136 2.2
FLASH 14592601 14712223 119622 0.8
RAM 653920 661688 7768 1.2
chip-tool-ipv6only arm64 unknown 40856 41016 160 0.4
FLASH 12569640 12672232 102592 0.8
RAM 700944 708032 7088 1.0
fabric-admin debug unknown 5800 5928 128 2.2
FLASH 12674067 12791603 117536 0.9
RAM 653704 661056 7352 1.1
fabric-bridge-app debug unknown 4736 4808 72 1.5
FLASH 4517874 4576342 58468 1.3
RAM 191304 192624 1320 0.7
fabric-sync debug unknown 4984 5064 80 1.6
FLASH 5639669 5716357 76688 1.4
RAM 487400 489232 1832 0.4
lighting-app debug+rpc+ui unknown 6208 6272 64 1.0
FLASH 5579809 5638257 58448 1.0
RAM 207760 209048 1288 0.6
lock-app debug unknown 5432 5496 64 1.2
FLASH 4765736 4824216 58480 1.2
RAM 195072 196360 1288 0.7
ota-provider-app debug unknown 4776 4848 72 1.5
FLASH 4369956 4428268 58312 1.3
RAM 183928 185248 1320 0.7
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4497390 4497486 96 0.0
RAM 187864 187864 0 0.0
shell debug unknown 4240 4256 16 0.4
FLASH 3033244 3079916 46672 1.5
RAM 149600 150856 1256 0.8
thermostat-no-ble arm64 unknown 9648 9744 96 1.0
FLASH 4177840 4227696 49856 1.2
RAM 231184 232776 1592 0.7
tv-app debug unknown 5760 5832 72 1.2
FLASH 6006741 6082501 75760 1.3
RAM 611600 613464 1864 0.3
tv-casting-app debug unknown 5320 5336 16 0.3
FLASH 1272866 12775741 47072 0.4
RAM 764992 766352 1360 0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 921652 921652 0 0.0
RAM 167524 167524 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 912904 912904 0 0.0
RAM 145768 145768 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 858944 858944 0 0.0
RAM 141159 141159 0 0.0
nxp contact k32w0+release FLASH 592256 592256 0 0.0
RAM 72920 72920 0 0.0
mcxw71+release FLASH 625056 625056 0 0.0
RAM 63260 63260 0 0.0
light k32w0+release FLASH 618316 618316 0 0.0
RAM 72216 72216 0 0.0
k32w1+release FLASH 709568 709568 0 0.0
RAM 72116 72116 0 0.0
lock mcxw71+release FLASH 776192 776192 0 0.0
RAM 67676 67676 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670612 1670612 0 0.0
RAM 212520 212520 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1575148 1575148 0 0.0
RAM 208576 208576 0 0.0
light cy8ckit_062s2_43012 FLASH 1448108 1448108 0 0.0
RAM 197304 197304 0 0.0
lock cy8ckit_062s2_43012 FLASH 1480324 1480324 0 0.0
RAM 225016 225016 0 0.0
qpg lighting-app qpg6105+debug FLASH 667228 667228 0 0.0
RAM 105244 105244 0 0.0
lock-app qpg6105+debug FLASH 627248 627248 0 0.0
RAM 99872 99872 0 0.0
stm32 light STM32WB5MM-DK FLASH 464964 464964 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 677220 677220 0 0.0
693976 693976 0 0.0
RAM 90944 90944 0 0.0
102084 102084 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 773404 773404 0 0.0
RAM 50236 50236 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770498 770498 0 0.0
RAM 40528 40528 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 758954 758954 0 0.0
780510 780510 0 0.0
RAM 97656 97656 0 0.0
109408 109408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 686946 686946 0 0.0
702844 702844 0 0.0
RAM 51764 51764 0 0.0
62796 62796 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 715396 715396 0 0.0
740798 740798 0 0.0
RAM 73576 73576 0 0.0
85968 85968 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 712736 712736 0 0.0
RAM 37212 37212 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 607290 607290 0 0.0
607356 607356 0 0.0
RAM 106904 106904 0 0.0
120180 120180 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 794004 794008 4 0.0
815820 815824 4 0.0
RAM 96504 96504 0 0.0
107676 107676 0 0.0
tizen all-clusters-app arm unknown 5280 5280 0 0.0
FLASH 1812176 1812176 0 0.0
RAM 96604 96604 0 0.0
chip-tool-ubsan arm unknown 20796 20796 0 0.0
FLASH 21014886 21014886 0 0.0
RAM 9155628 9155628 0 0.0

@@ -38,7 +38,7 @@ jobs:

strategy:
matrix:
build_variant: [no-ble-no-shell-tsan-clang]
build_variant: [no-ble-no-wifipaf-no-shell-tsan-clang]
Copy link
Contributor

Choose a reason for hiding this comment

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

This means that we still try to get PAF as a default but make tests fast?

Why is WifiPAF a default if it is slow? Default to false seems correct then.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean to set chip_device_config_enable_wifipaf=true as default? It should be enabled as default to be accepted as the new feature, shouldn't it?
From the log we got, if we enable it by default, the qr-code has both wifi-paf and onnetwork supported. If wifi-paf is packed, it will start Wi-Fi management. But I suspect the test environment does not have it ready that it always failed and take a long time to do it.

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean chip_device_config_enable_wifipaf=false

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we still hope to keep PAF enabled in the SDK and make test faster (or said, back to normal)
Making test slow is unexpected. (The reason is mentioned above) We hope to fix the problems, instead of just disabling it.

Copy link
Contributor

Choose a reason for hiding this comment

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

It should be enabled as default to be accepted as the new feature, shouldn't it?

Enabling by default in SDK is NOT NEEDED.

You can have a feature accepted at SVE without it being enable by default in SVE, otherwise all features would be enabled all the time, even features that may conflict between each other.

Choose a reason for hiding this comment

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

If the feature is disabled by default, all tests and builds under PAF are also disabled.

However, the specific test case (no-ble-noshell-tsan-clang) does not require PAF.
This PR addresses the issue by adding a flag to disable PAF for this test case. This is expected as the test case only runs on-network commissioning

Copy link
Contributor

Choose a reason for hiding this comment

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

My concern is that this shows a significant speed regression if we enable it by default, which even if we disable it in CI we will still have developers run defaults and have their workflow disabled.

I do not want a 4x slowdown for my local tests because I just use defaults.

Please do the reverse: disable PAF by default and enable the PAF flag specifically where it is needed instead of doing "enable PAF by default and disable where we see slowdowns". This is more friendly for developers that do not test PAF features as enabling PAF seems to have performance sideffects.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

@@ -126,6 +123,12 @@ declare_args() {
declare_args() {
# Enable Joint Fabric features
chip_device_config_enable_joint_fabric = false

# Include wifi-paf to commission the device or not
# This is a feature of Wi-Fi spec that it can be enabled if wifi is enabled
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we insist on having this default to true on linux?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be default to true to be accepted as a new feature, shouldn't it? I remember that's the reason why this feature was rejected in Matter 1.4 few months ago.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would not expect compile defaults to make a difference in feature acceptance. You may need to modify the certification binaries to enable it by default. We already change some defaults in https://github.com/project-chip/connectedhomeip/blob/master/integrations/docker/images/chip-cert-bins/Dockerfile#L150 (we set platform mdns instead of minmdns and we disable ipv4)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this PR can fix the problems, could you let me know why will we still prefer leaving it disabled? If you suspect there are new unknown problems ahead, could you let me know what other tests should we check? Thank you.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would like to have it disabled because local developers just compile things with defaults in most cases even if CI varies arguments. I do not want developers to experience a 4x slowdown in test performance because they enable a feature they do not use or test. developers or CI tests that do test PAF can enable it explicitly.

Or alternative would be to find a way to bypass that slowdown. I am unclear still what is going on, is it that we have "PAF enabled, so PAF shows in QR code so PAF startup is slow"? We have to either find a way for "defaults do not slow down things unless this is really used" or not have it as a default.

@xiaolonghca xiaolonghca self-assigned this May 27, 2025
@xiaolonghca
Copy link

xiaolonghca commented May 27, 2025 via email

@xiaolonghca
Copy link

@andy31415 Chin-ran’s PR was tested on his side that would bypass that slowdown and results in “defaults do not slow down things unless this is really used”. Do you still see any slow down for tests with the PR outside Wi-Fi commissioning? If so, I think the resolution is good.

# This is a feature of Wi-Fi spec that it can be enabled if wifi is enabled
# and the supplicant can support.
chip_device_config_enable_wifipaf =
chip_enable_wifi && chip_device_platform == "linux"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be MANUALLY enabled when desired, not "all linux unless overridden to false".

@andy31415
Copy link
Contributor

@andy31415 Chin-ran’s PR was tested on his side that would bypass that slowdown and results in “defaults do not slow down things unless this is really used”. Do you still see any slow down for tests with the PR outside Wi-Fi commissioning? If so, I think the resolution is good.

It seems that CI had to be updated in this PR ... this seems to indicate that slowdown was probably not removed completely.

@andy31415
Copy link
Contributor

andy31415 commented May 27, 2025

@crlonxp @xiaolonghca to be specific on my changes requested: I am asking to not slow down things that are not related to PAF. CI is one obvious thing (adding 1.5-2h of CI time for no additional test coverage seems clearly wrong) however this is also about local development. Locally I tested and master with/without BLE on my cloud VM works within 4 seconds roughly (added ble test to see if ble options make a difference and they do not):

image

I did recompile on a separate shell that compiled all variants (i.e. the variant change DID take effect even if no compile step is shown).

However then I applied this PR and the time went to 24 seconds

image

This is the bit that you have to fix in order to make "paf enabled by default" acceptable. Until then, PAF should be disabled by default since it is an optional feature that seems to significantly impact chip-tool somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants