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

Fix delivery of urgent events to actually work correctly. #23240

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

If an urgent event was emitted at a point when the ReadHandler subscribing for it had already gotten its "min interval has elapsed" callback, we would just mark the read handler dirty but not schedule a run of the reporting engine. This would cause us to not report the event until something did trigger such a run (either the max interval being reached, or some other reading/reporting activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable() becomes true.

@github-actions
Copy link

github-actions bot commented Oct 18, 2022

PR #23240: Size comparison from b9cf4b9 to c1afda4

Increases (35 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b9cf4b9 c1afda4 change % change
bl602 lighting-app bl602 (read/write) 1389990 1390382 392 0.0
.text 1069380 1069770 390 0.0
bl602+rpc (read/write) 1435206 1435598 392 0.0
.text 1100728 1101116 388 0.0
bl702 lighting-app bl702 (read/write) 1188963 1189347 384 0.0
.debug_aranges 133144 133152 8 0.0
.debug_frame 486648 486716 68 0.0
.debug_info 37908963 37909753 790 0.0
.debug_line 5257455 5258301 846 0.0
.debug_loc 3367679 3368642 963 0.0
.debug_ranges 359456 359624 168 0.0
.strtab 565127 565183 56 0.0
.symtab 171680 171696 16 0.0
.text 957316 957702 386 0.0
bl702+rpc (read/write) 1284627 1285011 384 0.0
.debug_aranges 140648 140656 8 0.0
.debug_frame 512020 512088 68 0.0
.debug_info 41815578 41816368 790 0.0
.debug_line 5631986 5632832 846 0.0
.debug_loc 3560326 3561318 992 0.0
.debug_ranges 381912 382080 168 0.0
.strtab 624300 624356 56 0.0
.symtab 189488 189504 16 0.0
.text 1030762 1031150 388 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677399 48 0.0
.text 587248 587296 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641615 641663 48 0.0
.text 562368 562416 48 0.0
lock-ftd LP_CC2652R7 (read only) 675867 675907 40 0.0
.text 598072 598112 40 0.0
lock-mtd LP_CC2652R7 (read only) 659615 659671 56 0.0
.text 556000 556056 56 0.0
pump-app LP_CC2652R7 (read only) 688107 688187 80 0.0
.rodata 90731 90763 32 0.0
.text 596892 596940 48 0.0
pump-controller-app LP_CC2652R7 (read only) 672423 672495 72 0.0
.rodata 86287 86319 32 0.0
.text 585656 585696 40 0.0
shell LP_CC2652R7 (read only) 668390 668438 48 0.0
.text 581572 581620 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588138 588194 56 0.0
.app_xip_area 464724 464780 56 0.0
lock cyw930739m2evb_01 (read/write) 592178 592234 56 0.0
.app_xip_area 463468 463524 56 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543974 544038 64 0.0
.app_xip_area 425640 425704 64 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974060 974140 80 0.0
.text 819516 819596 80 0.0
BRD4161A+rs911x (read/write) 1031224 1031608 384 0.0
.text 842432 842816 384 0.0
BRD4187C (read/write) 1146116 1146500 384 0.0
.text 980260 980644 384 0.0
lock-app BRD4161A+wf200 (read/write) 1157024 1157104 80 0.0
.text 996696 996776 80 0.0
window-app BRD4187C (read/write) 1139336 1139720 384 0.0
.text 972040 972424 384 0.0
esp32 all-clusters-app c3devkit (read only) 1223550 1223642 92 0.0
(read/write) 1788310 1788342 32 0.0
.flash.rodata 257864 257896 32 0.0
.flash.text 1223550 1223642 92 0.0
m5stack (read only) 1233619 1233651 32 0.0
(read/write) 564228 564252 24 0.0
.flash.rodata 314928 314952 24 0.0
.flash.text 1228235 1228267 32 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429556 80 0.0
.text 8255780 8255860 80 0.0
thermostat-no-ble arm64 (read only) 2390524 2390636 112 0.0
.rodata 144436 144452 16 0.0
.text 2003184 2003280 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183643 1183723 80 0.0
rodata 144396 144428 32 0.0
text 815896 815940 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162391 80 0.0
rodata 135968 136000 32 0.0
text 803788 803836 48 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745420 1745804 384 0.0
.debug_abbrev 1229571 1229586 15 0.0
.debug_aranges 111880 111888 8 0.0
.debug_frame 373552 373584 32 0.0
.debug_info 26837450 26838513 1063 0.0
.debug_line 3673071 3673664 593 0.0
.debug_loc 3590247 3591278 1031 0.0
.debug_ranges 339736 339784 48 0.0
.strtab 569695 569751 56 0.0
.symtab 421232 421264 32 0.0
.text 1545640 1546024 384 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688020 1688404 384 0.0
.debug_abbrev 1221370 1221385 15 0.0
.debug_aranges 111352 111360 8 0.0
.debug_frame 376632 376664 32 0.0
.debug_info 26574232 26575296 1064 0.0
.debug_line 3693788 3694381 593 0.0
.debug_loc 3577884 3578915 1031 0.0
.debug_ranges 338352 338400 48 0.0
.strtab 533784 533840 56 0.0
.symtab 407664 407696 32 0.0
.text 1488976 1489360 384 0.0
light cy8ckit_062s2_43012 (read/write) 1606572 1606948 376 0.0
.debug_abbrev 1055481 1055496 15 0.0
.debug_aranges 103560 103568 8 0.0
.debug_frame 346964 346996 32 0.0
.debug_info 22037953 22039018 1065 0.0
.debug_line 3263712 3264305 593 0.0
.debug_loc 3275846 3276877 1031 0.0
.debug_ranges 303656 303704 48 0.0
.strtab 470161 470217 56 0.0
.symtab 376112 376144 32 0.0
.text 1415712 1416088 376 0.0
lock cy8ckit_062s2_43012 (read/write) 1640276 1640652 376 0.0
.debug_abbrev 1057420 1057435 15 0.0
.debug_aranges 103952 103960 8 0.0
.debug_frame 348820 348852 32 0.0
.debug_info 22271245 22272307 1062 0.0
.debug_line 3260677 3261270 593 0.0
.debug_loc 3303427 3304459 1032 0.0
.debug_ranges 305592 305640 48 0.0
.strtab 472512 472568 56 0.0
.symtab 377728 377760 32 0.0
.text 1444424 1444800 376 0.0
qpg lighting-app qpg6105+debug (read/write) 1148824 1148880 56 0.0
.text 595924 595980 56 0.0
lock-app qpg6105+debug (read/write) 1113712 1113768 56 0.0
.text 560808 560864 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 789480 116 0.0
text 553140 553222 82 0.0
lighting-app tlsr9518adk80d (read/write) 811692 811800 108 0.0
text 571560 571640 80 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819412 819528 116 0.0
text 577542 577626 84 0.0
Decreases (6 builds for cc13x2_26x2)
platform target config section b9cf4b9 c1afda4 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174208 174160 -48 -0.0
lock-ftd LP_CC2652R7 (read/write) 172828 172788 -40 -0.0
lock-mtd LP_CC2652R7 (read/write) 184768 184712 -56 -0.0
pump-app LP_CC2652R7 (read/write) 161324 161244 -80 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177104 177032 -72 -0.0
shell LP_CC2652R7 (read/write) 185488 185440 -48 -0.0
Full report (35 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b9cf4b9 c1afda4 change % change
bl602 lighting-app bl602 (read/write) 1389990 1390382 392 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069380 1069770 390 0.0
bl602+rpc (read/write) 1435206 1435598 392 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100728 1101116 388 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188963 1189347 384 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507098 1507098 0 0.0
.debug_aranges 133144 133152 8 0.0
.debug_frame 486648 486716 68 0.0
.debug_info 37908963 37909753 790 0.0
.debug_line 5257455 5258301 846 0.0
.debug_loc 3367679 3368642 963 0.0
.debug_ranges 359456 359624 168 0.0
.debug_str 3457927 3457927 0 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565183 56 0.0
.symtab 171680 171696 16 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957316 957702 386 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284627 1285011 384 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 4800 4800 0 0.0
.debug_abbrev 1644643 1644643 0 0.0
.debug_aranges 140648 140656 8 0.0
.debug_frame 512020 512088 68 0.0
.debug_info 41815578 41816368 790 0.0
.debug_line 5631986 5632832 846 0.0
.debug_loc 3560326 3561318 992 0.0
.debug_ranges 381912 382080 168 0.0
.debug_str 3853897 3853897 0 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624356 56 0.0
.symtab 189488 189504 16 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030762 1031150 388 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677399 48 0.0
(read/write) 174208 174160 -48 -0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587248 587296 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641615 641663 48 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562368 562416 48 0.0
lock-ftd LP_CC2652R7 (read only) 675867 675907 40 0.0
(read/write) 172828 172788 -40 -0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598072 598112 40 0.0
lock-mtd LP_CC2652R7 (read only) 659615 659671 56 0.0
(read/write) 184768 184712 -56 -0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 556000 556056 56 0.0
pump-app LP_CC2652R7 (read only) 688107 688187 80 0.0
(read/write) 161324 161244 -80 -0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90731 90763 32 0.0
.text 596892 596940 48 0.0
pump-controller-app LP_CC2652R7 (read only) 672423 672495 72 0.0
(read/write) 177104 177032 -72 -0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86287 86319 32 0.0
.text 585656 585696 40 0.0
shell LP_CC2652R7 (read only) 668390 668438 48 0.0
(read/write) 185488 185440 -48 -0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581572 581620 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588138 588194 56 0.0
.app_xip_area 464724 464780 56 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) 592178 592234 56 0.0
.app_xip_area 463468 463524 56 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) 543974 544038 64 0.0
.app_xip_area 425640 425704 64 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) 974060 974140 80 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819516 819596 80 0.0
BRD4161A+rs911x (read/write) 1031224 1031608 384 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 842432 842816 384 0.0
BRD4187C (read/write) 1146116 1146500 384 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980260 980644 384 0.0
lock-app BRD4161A+wf200 (read/write) 1157024 1157104 80 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 996696 996776 80 0.0
window-app BRD4187C (read/write) 1139336 1139720 384 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972040 972424 384 0.0
esp32 all-clusters-app c3devkit (read only) 1223550 1223642 92 0.0
(read/write) 1788310 1788342 32 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257864 257896 32 0.0
.flash.text 1223550 1223642 92 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233619 1233651 32 0.0
(read/write) 564228 564252 24 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314928 314952 24 0.0
.flash.text 1228235 1228267 32 0.0
.iram0.text 123939 123939 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429556 80 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518132 518132 0 0.0
.text 8255780 8255860 80 0.0
thermostat-no-ble arm64 (read only) 2390524 2390636 112 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144436 144452 16 0.0
.text 2003184 2003280 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183643 1183723 80 0.0
bss 144457 144457 0 0.0
rodata 144396 144428 32 0.0
text 815896 815940 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162391 80 0.0
bss 143684 143684 0 0.0
rodata 135968 136000 32 0.0
text 803788 803836 48 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745420 1745804 384 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 1229571 1229586 15 0.0
.debug_aranges 111880 111888 8 0.0
.debug_frame 373552 373584 32 0.0
.debug_info 26837450 26838513 1063 0.0
.debug_line 3673071 3673664 593 0.0
.debug_loc 3590247 3591278 1031 0.0
.debug_ranges 339736 339784 48 0.0
.debug_str 3441330 3441330 0 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 569695 569751 56 0.0
.symtab 421232 421264 32 0.0
.text 1545640 1546024 384 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) 1688020 1688404 384 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 1221370 1221385 15 0.0
.debug_aranges 111352 111360 8 0.0
.debug_frame 376632 376664 32 0.0
.debug_info 26574232 26575296 1064 0.0
.debug_line 3693788 3694381 593 0.0
.debug_loc 3577884 3578915 1031 0.0
.debug_ranges 338352 338400 48 0.0
.debug_str 3430343 3430343 0 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 533784 533840 56 0.0
.symtab 407664 407696 32 0.0
.text 1488976 1489360 384 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) 1606572 1606948 376 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 1055481 1055496 15 0.0
.debug_aranges 103560 103568 8 0.0
.debug_frame 346964 346996 32 0.0
.debug_info 22037953 22039018 1065 0.0
.debug_line 3263712 3264305 593 0.0
.debug_loc 3275846 3276877 1031 0.0
.debug_ranges 303656 303704 48 0.0
.debug_str 3235875 3235875 0 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 470161 470217 56 0.0
.symtab 376112 376144 32 0.0
.text 1415712 1416088 376 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) 1640276 1640652 376 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 1057420 1057435 15 0.0
.debug_aranges 103952 103960 8 0.0
.debug_frame 348820 348852 32 0.0
.debug_info 22271245 22272307 1062 0.0
.debug_line 3260677 3261270 593 0.0
.debug_loc 3303427 3304459 1032 0.0
.debug_ranges 305592 305640 48 0.0
.debug_str 3255273 3255273 0 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 472512 472568 56 0.0
.symtab 377728 377760 32 0.0
.text 1444424 1444800 376 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148824 1148880 56 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595924 595980 56 0.0
lock-app qpg6105+debug (read/write) 1113712 1113768 56 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560808 560864 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 789480 116 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553140 553222 82 0.0
lighting-app tlsr9518adk80d (read/write) 811692 811800 108 0.0
bss 73344 73344 0 0.0
noinit 43520 43520 0 0.0
text 571560 571640 80 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819412 819528 116 0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577542 577626 84 0.0

If an urgent event was emitted at a point when the ReadHandler subscribing for
it had already gotten its "min interval has elapsed" callback, we would just
mark the read handler dirty but not schedule a run of the reporting engine.
This would cause us to not report the event until something _did_ trigger such a
run (either the max interval being reached, or some other reading/reporting
activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable()
becomes true.
@github-actions
Copy link

github-actions bot commented Oct 18, 2022

PR #23240: Size comparison from 8b30d71 to 2947a8f

Increases (38 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 8b30d71 2947a8f change % change
bl602 lighting-app bl602 (read/write) 1389982 1390374 392 0.0
.text 1069374 1069762 388 0.0
bl602+rpc (read/write) 1435198 1435590 392 0.0
.text 1100720 1101112 392 0.0
bl702 lighting-app bl702 (read/write) 1188963 1189347 384 0.0
.debug_aranges 133144 133152 8 0.0
.debug_frame 486648 486716 68 0.0
.debug_info 37908925 37909723 798 0.0
.debug_line 5257423 5258269 846 0.0
.debug_loc 3367638 3368601 963 0.0
.debug_ranges 359456 359624 168 0.0
.strtab 565127 565183 56 0.0
.symtab 171680 171696 16 0.0
.text 957316 957704 388 0.0
bl702+rpc (read/write) 1284627 1285011 384 0.0
.debug_aranges 140648 140656 8 0.0
.debug_frame 512020 512088 68 0.0
.debug_info 41815539 41816336 797 0.0
.debug_line 5631954 5632800 846 0.0
.debug_loc 3560285 3561277 992 0.0
.debug_ranges 381912 382080 168 0.0
.strtab 624300 624356 56 0.0
.symtab 189488 189504 16 0.0
.text 1030760 1031148 388 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677399 48 0.0
.text 587248 587296 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641591 641647 56 0.0
.text 562344 562400 56 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675891 40 0.0
.text 598056 598096 40 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659655 48 0.0
.text 555992 556040 48 0.0
pump-app LP_CC2652R7 (read only) 688091 688171 80 0.0
.rodata 90731 90763 32 0.0
.text 596876 596924 48 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672495 80 0.0
.rodata 86287 86319 32 0.0
.text 585648 585696 48 0.0
shell LP_CC2652R7 (read only) 668374 668422 48 0.0
.text 581556 581604 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588186 56 0.0
.app_xip_area 464716 464772 56 0.0
lock cyw930739m2evb_01 (read/write) 592170 592218 48 0.0
.app_xip_area 463460 463508 48 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543966 544038 72 0.0
.app_xip_area 425632 425704 72 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974060 974140 80 0.0
.text 819516 819596 80 0.0
BRD4161A+rs911x (read/write) 1031208 1031592 384 0.0
.text 842416 842800 384 0.0
BRD4187C (read/write) 1146116 1146500 384 0.0
.text 980260 980644 384 0.0
lock-app BRD4161A+wf200 (read/write) 1157008 1157088 80 0.0
.text 996680 996760 80 0.0
window-app BRD4187C (read/write) 1139336 1139720 384 0.0
.text 972040 972424 384 0.0
esp32 all-clusters-app c3devkit (read only) 1223544 1223640 96 0.0
(read/write) 1788310 1788342 32 0.0
.flash.rodata 257864 257896 32 0.0
.flash.text 1223544 1223640 96 0.0
m5stack (read only) 1233623 1233651 28 0.0
(read/write) 564228 564252 24 0.0
.flash.rodata 314928 314952 24 0.0
.flash.text 1228239 1228267 28 0.0
k32w contact k32w0+release (read/write) 661268 661316 48 0.0
.text 563012 563060 48 0.0
light k32w0+release (read/write) 671480 671560 80 0.0
.text 591852 591932 80 0.0
lock k32w0+release (read/write) 633076 633140 64 0.0
.text 552668 552732 64 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429556 80 0.0
.text 8255780 8255860 80 0.0
thermostat-no-ble arm64 (read only) 2390524 2390636 112 0.0
.rodata 144436 144452 16 0.0
.text 2003184 2003280 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183707 80 0.0
rodata 144396 144428 32 0.0
text 815888 815932 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162391 80 0.0
rodata 135968 136000 32 0.0
text 803780 803828 48 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745420 1745804 384 0.0
.debug_aranges 111880 111888 8 0.0
.debug_frame 373556 373588 32 0.0
.debug_info 26837449 26838521 1072 0.0
.debug_line 3673074 3673669 595 0.0
.debug_loc 3590247 3591278 1031 0.0
.debug_ranges 339736 339784 48 0.0
.strtab 569695 569751 56 0.0
.symtab 421232 421264 32 0.0
.text 1545640 1546024 384 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688004 1688388 384 0.0
.debug_aranges 111352 111360 8 0.0
.debug_frame 376636 376668 32 0.0
.debug_info 26574230 26575302 1072 0.0
.debug_line 3693791 3694386 595 0.0
.debug_loc 3577884 3578915 1031 0.0
.debug_ranges 338352 338400 48 0.0
.strtab 533784 533840 56 0.0
.symtab 407664 407696 32 0.0
.text 1488960 1489344 384 0.0
light cy8ckit_062s2_43012 (read/write) 1606572 1606948 376 0.0
.debug_aranges 103560 103568 8 0.0
.debug_frame 346968 347000 32 0.0
.debug_info 22037952 22039025 1073 0.0
.debug_line 3263715 3264310 595 0.0
.debug_loc 3275846 3276877 1031 0.0
.debug_ranges 303656 303704 48 0.0
.strtab 470161 470217 56 0.0
.symtab 376112 376144 32 0.0
.text 1415712 1416088 376 0.0
lock cy8ckit_062s2_43012 (read/write) 1640260 1640636 376 0.0
.debug_aranges 103952 103960 8 0.0
.debug_frame 348824 348856 32 0.0
.debug_info 22271244 22272315 1071 0.0
.debug_line 3260680 3261275 595 0.0
.debug_loc 3303427 3304459 1032 0.0
.debug_ranges 305592 305640 48 0.0
.strtab 472512 472568 56 0.0
.symtab 377728 377760 32 0.0
.text 1444408 1444784 376 0.0
qpg lighting-app qpg6105+debug (read/write) 1148800 1148864 64 0.0
.text 595900 595964 64 0.0
lock-app qpg6105+debug (read/write) 1113696 1113752 56 0.0
.text 560792 560848 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 789472 108 0.0
text 553134 553218 84 0.0
lighting-app tlsr9518adk80d (read/write) 811684 811800 116 0.0
text 571556 571638 82 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819404 819520 116 0.0
text 577536 577622 86 0.0
Decreases (12 builds for bl702, cc13x2_26x2, psoc6)
platform target config section 8b30d71 2947a8f change % change
bl702 lighting-app bl702 .debug_abbrev 1507059 1506996 -63 -0.0
bl702+rpc .debug_abbrev 1644604 1644541 -63 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174208 174160 -48 -0.0
lock-ftd LP_CC2652R7 (read/write) 172844 172804 -40 -0.0
lock-mtd LP_CC2652R7 (read/write) 184776 184728 -48 -0.0
pump-app LP_CC2652R7 (read/write) 161340 161260 -80 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177112 177032 -80 -0.0
shell LP_CC2652R7 (read/write) 185504 185456 -48 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229571 1229523 -48 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221370 1221322 -48 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055481 1055433 -48 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1057420 1057372 -48 -0.0
Full report (38 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 8b30d71 2947a8f change % change
bl602 lighting-app bl602 (read/write) 1389982 1390374 392 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069374 1069762 388 0.0
bl602+rpc (read/write) 1435198 1435590 392 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100720 1101112 392 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188963 1189347 384 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507059 1506996 -63 -0.0
.debug_aranges 133144 133152 8 0.0
.debug_frame 486648 486716 68 0.0
.debug_info 37908925 37909723 798 0.0
.debug_line 5257423 5258269 846 0.0
.debug_loc 3367638 3368601 963 0.0
.debug_ranges 359456 359624 168 0.0
.debug_str 3457927 3457927 0 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565183 56 0.0
.symtab 171680 171696 16 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957316 957704 388 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284627 1285011 384 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 4800 4800 0 0.0
.debug_abbrev 1644604 1644541 -63 -0.0
.debug_aranges 140648 140656 8 0.0
.debug_frame 512020 512088 68 0.0
.debug_info 41815539 41816336 797 0.0
.debug_line 5631954 5632800 846 0.0
.debug_loc 3560285 3561277 992 0.0
.debug_ranges 381912 382080 168 0.0
.debug_str 3853897 3853897 0 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624356 56 0.0
.symtab 189488 189504 16 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030760 1031148 388 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677399 48 0.0
(read/write) 174208 174160 -48 -0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587248 587296 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641591 641647 56 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562344 562400 56 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675891 40 0.0
(read/write) 172844 172804 -40 -0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598056 598096 40 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659655 48 0.0
(read/write) 184776 184728 -48 -0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 555992 556040 48 0.0
pump-app LP_CC2652R7 (read only) 688091 688171 80 0.0
(read/write) 161340 161260 -80 -0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90731 90763 32 0.0
.text 596876 596924 48 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672495 80 0.0
(read/write) 177112 177032 -80 -0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86287 86319 32 0.0
.text 585648 585696 48 0.0
shell LP_CC2652R7 (read only) 668374 668422 48 0.0
(read/write) 185504 185456 -48 -0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581556 581604 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588186 56 0.0
.app_xip_area 464716 464772 56 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) 592170 592218 48 0.0
.app_xip_area 463460 463508 48 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) 543966 544038 72 0.0
.app_xip_area 425632 425704 72 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) 974060 974140 80 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819516 819596 80 0.0
BRD4161A+rs911x (read/write) 1031208 1031592 384 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 842416 842800 384 0.0
BRD4187C (read/write) 1146116 1146500 384 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980260 980644 384 0.0
lock-app BRD4161A+wf200 (read/write) 1157008 1157088 80 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 996680 996760 80 0.0
window-app BRD4187C (read/write) 1139336 1139720 384 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972040 972424 384 0.0
esp32 all-clusters-app c3devkit (read only) 1223544 1223640 96 0.0
(read/write) 1788310 1788342 32 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257864 257896 32 0.0
.flash.text 1223544 1223640 96 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233623 1233651 28 0.0
(read/write) 564228 564252 24 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314928 314952 24 0.0
.flash.text 1228239 1228267 28 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661268 661316 48 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563012 563060 48 0.0
light k32w0+release (read/write) 671480 671560 80 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591852 591932 80 0.0
lock k32w0+release (read/write) 633076 633140 64 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552668 552732 64 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429556 80 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518132 518132 0 0.0
.text 8255780 8255860 80 0.0
thermostat-no-ble arm64 (read only) 2390524 2390636 112 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144436 144452 16 0.0
.text 2003184 2003280 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183707 80 0.0
bss 144457 144457 0 0.0
rodata 144396 144428 32 0.0
text 815888 815932 44 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162391 80 0.0
bss 143684 143684 0 0.0
rodata 135968 136000 32 0.0
text 803780 803828 48 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841952 841952 0 0.0
(read/write) 1745420 1745804 384 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 1229571 1229523 -48 -0.0
.debug_aranges 111880 111888 8 0.0
.debug_frame 373556 373588 32 0.0
.debug_info 26837449 26838521 1072 0.0
.debug_line 3673074 3673669 595 0.0
.debug_loc 3590247 3591278 1031 0.0
.debug_ranges 339736 339784 48 0.0
.debug_str 3441330 3441330 0 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 569695 569751 56 0.0
.symtab 421232 421264 32 0.0
.text 1545640 1546024 384 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 842688 842688 0 0.0
(read/write) 1688004 1688388 384 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 1221370 1221322 -48 -0.0
.debug_aranges 111352 111360 8 0.0
.debug_frame 376636 376668 32 0.0
.debug_info 26574230 26575302 1072 0.0
.debug_line 3693791 3694386 595 0.0
.debug_loc 3577884 3578915 1031 0.0
.debug_ranges 338352 338400 48 0.0
.debug_str 3430343 3430343 0 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 533784 533840 56 0.0
.symtab 407664 407696 32 0.0
.text 1488960 1489344 384 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850872 850872 0 0.0
(read/write) 1606572 1606948 376 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 1055481 1055433 -48 -0.0
.debug_aranges 103560 103568 8 0.0
.debug_frame 346968 347000 32 0.0
.debug_info 22037952 22039025 1073 0.0
.debug_line 3263715 3264310 595 0.0
.debug_loc 3275846 3276877 1031 0.0
.debug_ranges 303656 303704 48 0.0
.debug_str 3235875 3235875 0 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 470161 470217 56 0.0
.symtab 376112 376144 32 0.0
.text 1415712 1416088 376 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845880 845880 0 0.0
(read/write) 1640260 1640636 376 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 1057420 1057372 -48 -0.0
.debug_aranges 103952 103960 8 0.0
.debug_frame 348824 348856 32 0.0
.debug_info 22271244 22272315 1071 0.0
.debug_line 3260680 3261275 595 0.0
.debug_loc 3303427 3304459 1032 0.0
.debug_ranges 305592 305640 48 0.0
.debug_str 3255273 3255273 0 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 472512 472568 56 0.0
.symtab 377728 377760 32 0.0
.text 1444408 1444784 376 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148800 1148864 64 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595900 595964 64 0.0
lock-app qpg6105+debug (read/write) 1113696 1113752 56 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560792 560848 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 789472 108 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553134 553218 84 0.0
lighting-app tlsr9518adk80d (read/write) 811684 811800 116 0.0
bss 73344 73344 0 0.0
noinit 43520 43520 0 0.0
text 571556 571638 82 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819404 819520 116 0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577536 577622 86 0.0

src/app/ReadHandler.h Show resolved Hide resolved
src/app/tests/TestReadInteraction.cpp Outdated Show resolved Hide resolved
src/app/tests/TestReadInteraction.cpp Show resolved Hide resolved
src/app/tests/TestReadInteraction.cpp Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Oct 19, 2022

PR #23240: Size comparison from 8b30d71 to d010fa2

Increases (28 builds for bl602, bl702, cc13x2_26x2, cyw30739, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 8b30d71 d010fa2 change % change
bl602 lighting-app bl602 (read/write) 1389982 1390246 264 0.0
.text 1069374 1069640 266 0.0
bl602+rpc (read/write) 1435198 1435470 272 0.0
.text 1100720 1100986 266 0.0
bl702 lighting-app bl702 (read/write) 1188963 1189219 256 0.0
.debug_aranges 133144 133168 24 0.0
.debug_frame 486648 486752 104 0.0
.debug_info 37908925 37909055 130 0.0
.debug_line 5257423 5257983 560 0.0
.debug_loc 3367638 3367729 91 0.0
.debug_ranges 359456 359568 112 0.0
.debug_str 3457927 3458100 173 0.0
.strtab 565127 565314 187 0.0
.symtab 171680 171728 48 0.0
.text 957316 957578 262 0.0
bl702+rpc (read/write) 1284627 1284883 256 0.0
.debug_aranges 140648 140672 24 0.0
.debug_frame 512020 512124 104 0.0
.debug_info 41815539 41815669 130 0.0
.debug_line 5631954 5632514 560 0.0
.debug_loc 3560285 3560376 91 0.0
.debug_ranges 381912 382024 112 0.0
.debug_str 3853897 3854070 173 0.0
.strtab 624300 624487 187 0.0
.symtab 189488 189536 48 0.0
.text 1030760 1031024 264 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677359 8 0.0
.text 587248 587256 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641591 641607 16 0.0
.text 562344 562360 16 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659615 8 0.0
.text 555992 556000 8 0.0
pump-app LP_CC2652R7 (read only) 688091 688131 40 0.0
.rodata 90731 90763 32 0.0
.text 596876 596884 8 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672455 40 0.0
.rodata 86287 86319 32 0.0
.text 585648 585656 8 0.0
shell LP_CC2652R7 (read only) 668374 668382 8 0.0
.text 581556 581564 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588138 8 0.0
.app_xip_area 464716 464724 8 0.0
lock cyw930739m2evb_01 (read/write) 592170 592178 8 0.0
.app_xip_area 463460 463468 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543966 543998 32 0.0
.app_xip_area 425632 425664 32 0.0
k32w contact k32w0+release (read/write) 661268 661284 16 0.0
.text 563012 563028 16 0.0
light k32w0+release (read/write) 671480 671528 48 0.0
.text 591852 591900 48 0.0
lock k32w0+release (read/write) 633076 633092 16 0.0
.text 552668 552684 16 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429700 224 0.0
.rodata 518132 518148 16 0.0
.text 8255780 8255988 208 0.0
thermostat-no-ble arm64 (read only) 2390524 2390796 272 0.0
.rodata 144436 144484 48 0.0
.text 2003184 2003408 224 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
rodata 144396 144428 32 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162343 32 0.0
rodata 135968 136000 32 0.0
text 803780 803784 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745420 1745644 224 0.0
.debug_aranges 111880 111904 24 0.0
.debug_frame 373556 373628 72 0.0
.debug_info 26837449 26837494 45 0.0
.debug_line 3673074 3673319 245 0.0
.debug_loc 3590247 3590250 3 0.0
.debug_str 3441330 3441503 173 0.0
.strtab 569695 569882 187 0.0
.symtab 421232 421328 96 0.0
.text 1545640 1545864 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688004 1688244 240 0.0
.debug_aranges 111352 111376 24 0.0
.debug_frame 376636 376708 72 0.0
.debug_info 26574230 26574276 46 0.0
.debug_line 3693791 3694036 245 0.0
.debug_loc 3577884 3577887 3 0.0
.debug_str 3430343 3430516 173 0.0
.strtab 533784 533971 187 0.0
.symtab 407664 407760 96 0.0
.text 1488960 1489200 240 0.0
light cy8ckit_062s2_43012 (read/write) 1606572 1606788 216 0.0
.debug_aranges 103560 103584 24 0.0
.debug_frame 346968 347040 72 0.0
.debug_info 22037952 22037997 45 0.0
.debug_line 3263715 3263960 245 0.0
.debug_loc 3275846 3275848 2 0.0
.debug_str 3235875 3236048 173 0.0
.strtab 470161 470348 187 0.0
.symtab 376112 376208 96 0.0
.text 1415712 1415928 216 0.0
lock cy8ckit_062s2_43012 (read/write) 1640260 1640492 232 0.0
.debug_aranges 103952 103976 24 0.0
.debug_frame 348824 348896 72 0.0
.debug_info 22271244 22271289 45 0.0
.debug_line 3260680 3260925 245 0.0
.debug_loc 3303427 3303430 3 0.0
.debug_str 3255273 3255446 173 0.0
.strtab 472512 472699 187 0.0
.symtab 377728 377824 96 0.0
.text 1444408 1444640 232 0.0
qpg lighting-app qpg6105+debug (read/write) 1148800 1148824 24 0.0
.text 595900 595924 24 0.0
lock-app qpg6105+debug (read/write) 1113696 1113712 16 0.0
.text 560792 560808 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 790300 936 0.1
text 553134 553860 726 0.1
Decreases (13 builds for bl702, cc13x2_26x2, psoc6, telink)
platform target config section 8b30d71 d010fa2 change % change
bl702 lighting-app bl702 .debug_abbrev 1507059 1506996 -63 -0.0
bl702+rpc .debug_abbrev 1644604 1644541 -63 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174208 174200 -8 -0.0
lock-mtd LP_CC2652R7 (read/write) 184776 184768 -8 -0.0
pump-app LP_CC2652R7 (read/write) 161340 161300 -40 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177112 177072 -40 -0.0
shell LP_CC2652R7 (read/write) 185504 185496 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229571 1229508 -63 -0.0
.debug_ranges 339736 339704 -32 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221370 1221307 -63 -0.0
.debug_ranges 338352 338320 -32 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055481 1055418 -63 -0.0
.debug_ranges 303656 303624 -32 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1057420 1057357 -63 -0.0
.debug_ranges 305592 305560 -32 -0.0
telink lighting-app tlsr9518adk80d (read/write) 811684 805532 -6152 -0.8
bss 73344 73240 -104 -0.1
text 571556 565996 -5560 -1.0
ota-requestor-app tlsr9518adk80d (read/write) 819404 804424 -14980 -1.8
bss 74236 74052 -184 -0.2
text 577536 564866 -12670 -2.2
Full report (31 builds for bl602, bl702, cc13x2_26x2, cyw30739, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 8b30d71 d010fa2 change % change
bl602 lighting-app bl602 (read/write) 1389982 1390246 264 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069374 1069640 266 0.0
bl602+rpc (read/write) 1435198 1435470 272 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100720 1100986 266 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188963 1189219 256 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507059 1506996 -63 -0.0
.debug_aranges 133144 133168 24 0.0
.debug_frame 486648 486752 104 0.0
.debug_info 37908925 37909055 130 0.0
.debug_line 5257423 5257983 560 0.0
.debug_loc 3367638 3367729 91 0.0
.debug_ranges 359456 359568 112 0.0
.debug_str 3457927 3458100 173 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565314 187 0.0
.symtab 171680 171728 48 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957316 957578 262 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284627 1284883 256 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 4800 4800 0 0.0
.debug_abbrev 1644604 1644541 -63 -0.0
.debug_aranges 140648 140672 24 0.0
.debug_frame 512020 512124 104 0.0
.debug_info 41815539 41815669 130 0.0
.debug_line 5631954 5632514 560 0.0
.debug_loc 3560285 3560376 91 0.0
.debug_ranges 381912 382024 112 0.0
.debug_str 3853897 3854070 173 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624487 187 0.0
.symtab 189488 189536 48 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030760 1031024 264 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677359 8 0.0
(read/write) 174208 174200 -8 -0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587248 587256 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641591 641607 16 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562344 562360 16 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675851 0 0.0
(read/write) 172844 172844 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598056 598056 0 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659615 8 0.0
(read/write) 184776 184768 -8 -0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 555992 556000 8 0.0
pump-app LP_CC2652R7 (read only) 688091 688131 40 0.0
(read/write) 161340 161300 -40 -0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90731 90763 32 0.0
.text 596876 596884 8 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672455 40 0.0
(read/write) 177112 177072 -40 -0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86287 86319 32 0.0
.text 585648 585656 8 0.0
shell LP_CC2652R7 (read only) 668374 668382 8 0.0
(read/write) 185504 185496 -8 -0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581556 581564 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588138 8 0.0
.app_xip_area 464716 464724 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) 592170 592178 8 0.0
.app_xip_area 463460 463468 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) 543966 543998 32 0.0
.app_xip_area 425632 425664 32 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
k32w contact k32w0+release (read/write) 661268 661284 16 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563012 563028 16 0.0
light k32w0+release (read/write) 671480 671528 48 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591852 591900 48 0.0
lock k32w0+release (read/write) 633076 633092 16 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552668 552684 16 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429700 224 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518132 518148 16 0.0
.text 8255780 8255988 208 0.0
thermostat-no-ble arm64 (read only) 2390524 2390796 272 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144436 144484 48 0.0
.text 2003184 2003408 224 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
bss 144457 144457 0 0.0
rodata 144396 144428 32 0.0
text 815888 815888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162343 32 0.0
bss 143684 143684 0 0.0
rodata 135968 136000 32 0.0
text 803780 803784 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841952 841952 0 0.0
(read/write) 1745420 1745644 224 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 1229571 1229508 -63 -0.0
.debug_aranges 111880 111904 24 0.0
.debug_frame 373556 373628 72 0.0
.debug_info 26837449 26837494 45 0.0
.debug_line 3673074 3673319 245 0.0
.debug_loc 3590247 3590250 3 0.0
.debug_ranges 339736 339704 -32 -0.0
.debug_str 3441330 3441503 173 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 569695 569882 187 0.0
.symtab 421232 421328 96 0.0
.text 1545640 1545864 224 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 842688 842688 0 0.0
(read/write) 1688004 1688244 240 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 1221370 1221307 -63 -0.0
.debug_aranges 111352 111376 24 0.0
.debug_frame 376636 376708 72 0.0
.debug_info 26574230 26574276 46 0.0
.debug_line 3693791 3694036 245 0.0
.debug_loc 3577884 3577887 3 0.0
.debug_ranges 338352 338320 -32 -0.0
.debug_str 3430343 3430516 173 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 533784 533971 187 0.0
.symtab 407664 407760 96 0.0
.text 1488960 1489200 240 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850872 850872 0 0.0
(read/write) 1606572 1606788 216 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 1055481 1055418 -63 -0.0
.debug_aranges 103560 103584 24 0.0
.debug_frame 346968 347040 72 0.0
.debug_info 22037952 22037997 45 0.0
.debug_line 3263715 3263960 245 0.0
.debug_loc 3275846 3275848 2 0.0
.debug_ranges 303656 303624 -32 -0.0
.debug_str 3235875 3236048 173 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 470161 470348 187 0.0
.symtab 376112 376208 96 0.0
.text 1415712 1415928 216 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845880 845880 0 0.0
(read/write) 1640260 1640492 232 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 1057420 1057357 -63 -0.0
.debug_aranges 103952 103976 24 0.0
.debug_frame 348824 348896 72 0.0
.debug_info 22271244 22271289 45 0.0
.debug_line 3260680 3260925 245 0.0
.debug_loc 3303427 3303430 3 0.0
.debug_ranges 305592 305560 -32 -0.0
.debug_str 3255273 3255446 173 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 472512 472699 187 0.0
.symtab 377728 377824 96 0.0
.text 1444408 1444640 232 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148800 1148824 24 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595900 595924 24 0.0
lock-app qpg6105+debug (read/write) 1113696 1113712 16 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560792 560808 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 790300 936 0.1
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553134 553860 726 0.1
lighting-app tlsr9518adk80d (read/write) 811684 805532 -6152 -0.8
bss 73344 73240 -104 -0.1
noinit 43520 43520 0 0.0
text 571556 565996 -5560 -1.0
ota-requestor-app tlsr9518adk80d (read/write) 819404 804424 -14980 -1.8
bss 74236 74052 -184 -0.2
noinit 43520 43520 0 0.0
text 577536 564866 -12670 -2.2

@github-actions
Copy link

PR #23240: Size comparison from 8b30d71 to b307a26

Increases (1 build for mbed)
platform target config section 8b30d71 b307a26 change % change
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
Full report (1 build for mbed)
platform target config section 8b30d71 b307a26 change % change
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0

@github-actions
Copy link

github-actions bot commented Oct 19, 2022

PR #23240: Size comparison from f76da55 to 54d2603

Increases (8 builds for bl702, mbed, nrfconnect, telink)
platform target config section f76da55 54d2603 change % change
bl702 lighting-app bl702 (read/write) 1188947 1189219 272 0.0
.debug_aranges 133144 133168 24 0.0
.debug_frame 486648 486752 104 0.0
.debug_info 37908763 37909064 301 0.0
.debug_line 5257410 5257986 576 0.0
.debug_loc 3367638 3367729 91 0.0
.debug_ranges 359456 359568 112 0.0
.debug_str 3457927 3458100 173 0.0
.strtab 565127 565314 187 0.0
.symtab 171680 171728 48 0.0
.text 957310 957580 270 0.0
bl702+rpc (read/write) 1284627 1284899 272 0.0
.debug_aranges 140648 140672 24 0.0
.debug_frame 512020 512124 104 0.0
.debug_info 41815379 41815678 299 0.0
.debug_line 5631941 5632517 576 0.0
.debug_loc 3560285 3560376 91 0.0
.debug_ranges 381912 382024 112 0.0
.debug_str 3853897 3854070 173 0.0
.strtab 624300 624487 187 0.0
.symtab 189488 189536 48 0.0
.text 1030758 1031026 268 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
rodata 144396 144428 32 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162295 1162343 48 0.0
rodata 135968 136000 32 0.0
text 803776 803784 8 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790200 790300 100 0.0
text 553784 553858 74 0.0
lighting-app tlsr9518adk80d (read/write) 805432 805532 100 0.0
text 565918 565994 76 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804316 804424 108 0.0
text 564792 564866 74 0.0
Decreases (2 builds for bl702)
platform target config section f76da55 54d2603 change % change
bl702 lighting-app bl702 .debug_abbrev 1507041 1506978 -63 -0.0
bl702+rpc .debug_abbrev 1644586 1644523 -63 -0.0
Full report (8 builds for bl702, mbed, nrfconnect, telink)
platform target config section f76da55 54d2603 change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1188947 1189219 272 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507041 1506978 -63 -0.0
.debug_aranges 133144 133168 24 0.0
.debug_frame 486648 486752 104 0.0
.debug_info 37908763 37909064 301 0.0
.debug_line 5257410 5257986 576 0.0
.debug_loc 3367638 3367729 91 0.0
.debug_ranges 359456 359568 112 0.0
.debug_str 3457927 3458100 173 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565314 187 0.0
.symtab 171680 171728 48 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 957310 957580 270 0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1284627 1284899 272 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 4800 4800 0 0.0
.debug_abbrev 1644586 1644523 -63 -0.0
.debug_aranges 140648 140672 24 0.0
.debug_frame 512020 512124 104 0.0
.debug_info 41815379 41815678 299 0.0
.debug_line 5631941 5632517 576 0.0
.debug_loc 3560285 3560376 91 0.0
.debug_ranges 381912 382024 112 0.0
.debug_str 3853897 3854070 173 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624487 187 0.0
.symtab 189488 189536 48 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1030758 1031026 268 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
bss 144457 144457 0 0.0
rodata 144396 144428 32 0.0
text 815888 815888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162295 1162343 48 0.0
bss 143684 143684 0 0.0
rodata 135968 136000 32 0.0
text 803776 803784 8 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790200 790300 100 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553784 553858 74 0.0
lighting-app tlsr9518adk80d (read/write) 805432 805532 100 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 565918 565994 76 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804316 804424 108 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 564792 564866 74 0.0

@bzbarsky-apple bzbarsky-apple merged commit 293c470 into project-chip:master Oct 20, 2022
@bzbarsky-apple bzbarsky-apple deleted the fix-urgent-event-delivery branch October 20, 2022 03:15
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Oct 20, 2022
…ip#23240)

* Fix delivery of urgent events to actually work correctly.

If an urgent event was emitted at a point when the ReadHandler subscribing for
it had already gotten its "min interval has elapsed" callback, we would just
mark the read handler dirty but not schedule a run of the reporting engine.
This would cause us to not report the event until something _did_ trigger such a
run (either the max interval being reached, or some other reading/reporting
activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable()
becomes true.

* Address review comments.

* Make TestSubscribeUrgentWildcardEvent slightly less random-failure-prone.
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Oct 20, 2022
…ip#23240)

* Fix delivery of urgent events to actually work correctly.

If an urgent event was emitted at a point when the ReadHandler subscribing for
it had already gotten its "min interval has elapsed" callback, we would just
mark the read handler dirty but not schedule a run of the reporting engine.
This would cause us to not report the event until something _did_ trigger such a
run (either the max interval being reached, or some other reading/reporting
activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable()
becomes true.

* Address review comments.

* Make TestSubscribeUrgentWildcardEvent slightly less random-failure-prone.
andy31415 pushed a commit that referenced this pull request Oct 22, 2022
…23271)

* Fix delivery of urgent events to actually work correctly.

If an urgent event was emitted at a point when the ReadHandler subscribing for
it had already gotten its "min interval has elapsed" callback, we would just
mark the read handler dirty but not schedule a run of the reporting engine.
This would cause us to not report the event until something _did_ trigger such a
run (either the max interval being reached, or some other reading/reporting
activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable()
becomes true.

* Address review comments.

* Make TestSubscribeUrgentWildcardEvent slightly less random-failure-prone.
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…ip#23240)

* Fix delivery of urgent events to actually work correctly.

If an urgent event was emitted at a point when the ReadHandler subscribing for
it had already gotten its "min interval has elapsed" callback, we would just
mark the read handler dirty but not schedule a run of the reporting engine.
This would cause us to not report the event until something _did_ trigger such a
run (either the max interval being reached, or some other reading/reporting
activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable()
becomes true.

* Address review comments.

* Make TestSubscribeUrgentWildcardEvent slightly less random-failure-prone.
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…ip#23240)

* Fix delivery of urgent events to actually work correctly.

If an urgent event was emitted at a point when the ReadHandler subscribing for
it had already gotten its "min interval has elapsed" callback, we would just
mark the read handler dirty but not schedule a run of the reporting engine.
This would cause us to not report the event until something _did_ trigger such a
run (either the max interval being reached, or some other reading/reporting
activity).

The fix is to make sure ReadHandler always schedules a run when IsReportable()
becomes true.

* Address review comments.

* Make TestSubscribeUrgentWildcardEvent slightly less random-failure-prone.
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.

None yet

4 participants