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

Implement the server side of timed invoke. #12389

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Problem

No implementation of timed invoke yet.

Change overview

This implements the server side of timed invoke. Client side will be a separate PR. Server side of timed write will also be a separate PR.

Testing

New unit tests added. Other tests will need to wait on client-side support, though once #12380 lands I will at least be able to add a test that that an untimed invoke of a command that requires timed invoke fails.

@todo
Copy link

todo bot commented Dec 1, 2021

This is broken! If something under here returns error, we will try

// TODO: This is broken! If something under here returns error, we will try
// to SendCommandResponse(), and then our caller will try to send a status
// response too. Figure out at what point it's our responsibility to
// handler errors vs our caller's.
Handle workHandle(this);
mpExchangeCtx->WillSendMessage();
ReturnErrorOnFailure(ProcessInvokeRequest(std::move(payload), isTimedInvoke));
return CHIP_NO_ERROR;
}


This comment was generated by todo based on a TODO comment in 7c15cc5 in #12389. cc @bzbarsky-apple.

@todo
Copy link

todo bot commented Dec 1, 2021

Figure out who is responsible for handling checking

// TODO: Figure out who is responsible for handling checking
// apCommandObj->IsTimedInvoke() for commands that require a timed
// invoke and have a CommandHandlerInterface handling them.
CommandHandlerInterface::HandlerContext context(apCommandObj, aCommandPath, apPayload);
handler->InvokeCommand(context);


This comment was generated by todo based on a TODO comment in 7c15cc5 in #12389. cc @bzbarsky-apple.

@todo
Copy link

todo bot commented Dec 1, 2021

Add handling of MsgType::WriteRequest here.

// TODO: Add handling of MsgType::WriteRequest here.
}
// Not an expected message. Send an error response. The exchange will
// close when we return.
ChipLogError(DataManagement, "Unexpected unknown message in tiemd interaction: handler %p exchange " ChipLogFormatExchange,
this, ChipLogValueExchange(aExchangeContext));
return StatusResponse::SendStatusResponse(Status::InvalidAction, aExchangeContext, /* aExpectResponse = */ false);
}


This comment was generated by todo based on a TODO comment in 7c15cc5 in #12389. cc @bzbarsky-apple.

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

PR #12389: Size comparison from 02bd2c7 to e9a5fd2

Increases above 0.2%:

platform target config section 02bd2c7 e9a5fd2 change % change
efr32 lighting-app BRD4161A (read only) 763096 764632 1536 0.2
.text 763088 764624 1536 0.2
lock-app BRD4161A (read only) 736976 738512 1536 0.2
.text 736968 738504 1536 0.2
window-app BRD4161A (read only) 740080 741600 1520 0.2
.text 740072 741592 1520 0.2
k32w lighting-app k32w061+se05x+release .bss 78772 78996 224 0.3
lock-app k32w061+debug (read/write) 613492 615076 1584 0.3
.bss 69212 69436 224 0.3
.text 536676 538036 1360 0.3
shell k32w061+debug .bss 80796 81020 224 0.3
linux all-clusters-app debug (read only) 1780313 1786505 6192 0.3
(read/write) 125160 125480 320 0.3
.bss 53072 53328 256 0.5
.rodata 139957 141013 1056 0.8
.text 1500738 1505730 4992 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data.rel.ro 29488 29552 64 0.2
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug .bss 33448 33704 256 0.8
.rodata 294984 295976 992 0.3
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data.rel.ro 26024 26088 64 0.2
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data.rel.ro 27736 27800 64 0.2
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
tv-app debug (read only) 1927025 1933921 6896 0.4
.rodata 161576 162632 1056 0.7
.text 1616914 1622610 5696 0.4
p6 all-clusters-app default .bss 109688 109912 224 0.2
lock-app default .bss 96408 96632 224 0.2
qpg lighting-app qpg6100+debug .bss 79656 79880 224 0.3
lock-app qpg6100+debug .bss 78568 78792 224 0.3
telink lighting-app tlsr9518adk80d bss 79716 79940 224 0.3
Increases (19 builds for efr32, k32w, linux, p6, qpg, telink)
platform target config section 02bd2c7 e9a5fd2 change % change
efr32 lighting-app BRD4161A (read only) 763096 764632 1536 0.2
(read/write) 119956 120180 224 0.2
.bss 118140 118364 224 0.2
.text 763088 764624 1536 0.2
BRD4161A+rpc (read only) 791608 793128 1520 0.2
(read/write) 138252 138476 224 0.2
.bss 136340 136564 224 0.2
.text 791600 793120 1520 0.2
lock-app BRD4161A (read only) 736976 738512 1536 0.2
(read/write) 117660 117884 224 0.2
.bss 115892 116116 224 0.2
.text 736968 738504 1536 0.2
window-app BRD4161A (read only) 740080 741600 1520 0.2
(read/write) 118092 118316 224 0.2
.bss 116316 116540 224 0.2
.text 740072 741592 1520 0.2
k32w lighting-app k32w061+se05x+release (read/write) 724508 726076 1568 0.2
.bss 78772 78996 224 0.3
.text 638096 639440 1344 0.2
lock-app k32w061+debug (read/write) 613492 615076 1584 0.3
.bss 69212 69436 224 0.3
.text 536676 538036 1360 0.3
shell k32w061+debug (read/write) 679288 680860 1572 0.2
.bss 80796 81020 224 0.3
.text 590916 592264 1348 0.2
linux all-clusters-app debug (read only) 1780313 1786505 6192 0.3
(read/write) 125160 125480 320 0.3
.bss 53072 53328 256 0.5
.data.rel.ro 65696 65760 64 0.1
.rodata 139957 141013 1056 0.8
.text 1500738 1505730 4992 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data.rel.ro 29488 29552 64 0.2
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug (read only) 6247237 6254021 6784 0.1
(read/write) 197648 197968 320 0.2
.bss 33448 33704 256 0.8
.data.rel.ro 157608 157672 64 0.0
.rodata 294984 295976 992 0.3
.text 5549909 5555557 5648 0.1
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data.rel.ro 57072 57136 64 0.1
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data.rel.ro 26024 26088 64 0.2
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data.rel.ro 27736 27800 64 0.2
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
tv-app debug (read only) 1927025 1933921 6896 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data.rel.ro 61696 61760 64 0.1
.rodata 161576 162632 1056 0.7
.text 1616914 1622610 5696 0.4
p6 all-clusters-app default (read/write) 2318288 2319824 1536 0.1
.bss 109688 109912 224 0.2
.text 1276552 1278088 1536 0.1
lock-app default (read/write) 2229528 2231064 1536 0.1
.bss 96408 96632 224 0.2
.text 1187792 1189328 1536 0.1
qpg lighting-app qpg6100+debug (read only) 496860 498012 1152 0.2
.bss 79656 79880 224 0.3
.text 491540 492692 1152 0.2
lock-app qpg6100+debug (read only) 469448 470600 1152 0.2
.bss 78568 78792 224 0.3
.text 464128 465280 1152 0.2
telink lighting-app tlsr9518adk80d (read/write) 778614 780314 1700 0.2
bss 79716 79940 224 0.3
text 541394 542440 1046 0.2
Decreases (2 builds for p6)
platform target config section 02bd2c7 e9a5fd2 change % change
p6 all-clusters-app default .heap 921200 920976 -224 -0.0
lock-app default .heap 934656 934432 -224 -0.0
Full report (21 builds for efr32, k32w, linux, p6, qpg, telink)
platform target config section 02bd2c7 e9a5fd2 change % change
efr32 lighting-app BRD4161A (read only) 763096 764632 1536 0.2
(read/write) 119956 120180 224 0.2
.bss 118140 118364 224 0.2
.data 1812 1812 0 0.0
.text 763088 764624 1536 0.2
BRD4161A+rpc (read only) 791608 793128 1520 0.2
(read/write) 138252 138476 224 0.2
.bss 136340 136564 224 0.2
.data 1912 1912 0 0.0
.text 791600 793120 1520 0.2
lock-app BRD4161A (read only) 736976 738512 1536 0.2
(read/write) 117660 117884 224 0.2
.bss 115892 116116 224 0.2
.data 1768 1768 0 0.0
.text 736968 738504 1536 0.2
window-app BRD4161A (read only) 740080 741600 1520 0.2
(read/write) 118092 118316 224 0.2
.bss 116316 116540 224 0.2
.data 1776 1776 0 0.0
.text 740072 741592 1520 0.2
k32w lighting-app k32w061+se05x+release (read/write) 724508 726076 1568 0.2
.bss 78772 78996 224 0.3
.data 1840 1840 0 0.0
.text 638096 639440 1344 0.2
lock-app k32w061+debug (read/write) 613492 615076 1584 0.3
.bss 69212 69436 224 0.3
.data 1804 1804 0 0.0
.text 536676 538036 1360 0.3
shell k32w061+debug (read/write) 679288 680860 1572 0.2
.bss 80796 81020 224 0.3
.data 1776 1776 0 0.0
.text 590916 592264 1348 0.2
linux all-clusters-app debug (read only) 1780313 1786505 6192 0.3
(read/write) 125160 125480 320 0.3
.bss 53072 53328 256 0.5
.data 1104 1104 0 0.0
.data.rel.ro 65696 65760 64 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139957 141013 1056 0.8
.text 1500738 1505730 4992 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data 1680 1680 0 0.0
.data.rel.ro 29488 29552 64 0.2
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug (read only) 6247237 6254021 6784 0.1
(read/write) 197648 197968 320 0.2
.bss 33448 33704 256 0.8
.data 1008 1008 0 0.0
.data.rel.ro 157608 157672 64 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 294984 295976 992 0.3
.text 5549909 5555557 5648 0.1
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data 1232 1232 0 0.0
.data.rel.ro 57072 57136 64 0.1
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data 912 912 0 0.0
.data.rel.ro 26024 26088 64 0.2
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data 976 976 0 0.0
.data.rel.ro 27736 27800 64 0.2
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
shell debug (read only) 805881 805881 0 0.0
(read/write) 59848 59848 0 0.0
.bss 16808 16808 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38320 38320 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 79954 79954 0 0.0
.text 620610 620610 0 0.0
tv-app debug (read only) 1927025 1933921 6896 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data 1504 1504 0 0.0
.data.rel.ro 61696 61760 64 0.1
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 161576 162632 1056 0.7
.text 1616914 1622610 5696 0.4
p6 all-clusters-app default (read/write) 2318288 2319824 1536 0.1
.bss 109688 109912 224 0.2
.data 2456 2456 0 0.0
.heap 921200 920976 -224 -0.0
.text 1276552 1278088 1536 0.1
lock-app default (read/write) 2229528 2231064 1536 0.1
.bss 96408 96632 224 0.2
.data 2280 2280 0 0.0
.heap 934656 934432 -224 -0.0
.text 1187792 1189328 1536 0.1
qpg lighting-app qpg6100+debug (read only) 496860 498012 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 79656 79880 224 0.3
.data 940 940 0 0.0
.text 491540 492692 1152 0.2
lock-app qpg6100+debug (read only) 469448 470600 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 78568 78792 224 0.3
.data 892 892 0 0.0
.text 464128 465280 1152 0.2
persistent-storage-app qpg6100+debug (read only) 108020 108020 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36688 36688 0 0.0
.data 292 292 0 0.0
.text 102700 102700 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 778614 780314 1700 0.2
bss 79716 79940 224 0.3
noinit 37160 37160 0 0.0
text 541394 542440 1046 0.2

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

PR #12389: Size comparison from 02bd2c7 to a8054ab

Increases above 0.2%:

platform target config section 02bd2c7 a8054ab change % change
esp32 all-clusters-app c3devkit .dram0.bss 58528 58688 160 0.3
.flash.rodata 166528 166952 424 0.3
m5stack .dram0.bss 63928 64088 160 0.3
.flash.rodata 194364 194780 416 0.2
k32w lock-app k32w061+debug .text 536676 538036 1360 0.3
linux all-clusters-app debug (read only) 1780313 1786489 6176 0.3
(read/write) 125160 125480 320 0.3
.bss 53072 53328 256 0.5
.rodata 139957 141013 1056 0.8
.text 1500738 1505714 4976 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug .bss 33448 33704 256 0.8
.rodata 294984 295976 992 0.3
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
tv-app debug (read only) 1927025 1933905 6880 0.4
.rodata 161576 162632 1056 0.7
.text 1616914 1622594 5680 0.4
Increases (24 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 02bd2c7 a8054ab change % change
efr32 lighting-app BRD4161A (read only) 763096 764632 1536 0.2
(read/write) 119956 120116 160 0.1
.bss 118140 118300 160 0.1
.text 763088 764624 1536 0.2
BRD4161A+rpc (read only) 791608 793128 1520 0.2
(read/write) 138252 138412 160 0.1
.bss 136340 136500 160 0.1
.text 791600 793120 1520 0.2
lock-app BRD4161A (read only) 736976 738512 1536 0.2
(read/write) 117660 117820 160 0.1
.bss 115892 116052 160 0.1
.text 736968 738504 1536 0.2
window-app BRD4161A (read only) 740080 741600 1520 0.2
(read/write) 118092 118252 160 0.1
.bss 116316 116476 160 0.1
.text 740072 741592 1520 0.2
esp32 all-clusters-app c3devkit (read only) 837376 838442 1066 0.1
(read/write) 1224330 1224914 584 0.0
.dram0.bss 58528 58688 160 0.3
.flash.rodata 166528 166952 424 0.3
.flash.text 837376 838442 1066 0.1
m5stack (read only) 908883 909947 1064 0.1
(read/write) 423572 424148 576 0.1
.dram0.bss 63928 64088 160 0.3
.flash.rodata 194364 194780 416 0.2
.flash.text 903499 904563 1064 0.1
k32w lighting-app k32w061+se05x+release (read/write) 724508 726012 1504 0.2
.bss 78772 78932 160 0.2
.text 638096 639440 1344 0.2
lock-app k32w061+debug (read/write) 613492 615012 1520 0.2
.bss 69212 69372 160 0.2
.text 536676 538036 1360 0.3
shell k32w061+debug (read/write) 679288 680796 1508 0.2
.bss 80796 80956 160 0.2
.text 590916 592264 1348 0.2
linux all-clusters-app debug (read only) 1780313 1786489 6176 0.3
(read/write) 125160 125480 320 0.3
.bss 53072 53328 256 0.5
.data.rel.ro 65696 65760 64 0.1
.rodata 139957 141013 1056 0.8
.text 1500738 1505714 4976 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data.rel.ro 29488 29552 64 0.2
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug (read only) 6247237 6254005 6768 0.1
(read/write) 197648 197968 320 0.2
.bss 33448 33704 256 0.8
.data.rel.ro 157608 157672 64 0.0
.rodata 294984 295976 992 0.3
.text 5549909 5555541 5632 0.1
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data.rel.ro 57072 57136 64 0.1
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data.rel.ro 26024 26088 64 0.2
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data.rel.ro 27736 27800 64 0.2
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
tv-app debug (read only) 1927025 1933905 6880 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data.rel.ro 61696 61760 64 0.1
.rodata 161576 162632 1056 0.7
.text 1616914 1622594 5680 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2296552 2298048 1496 0.1
.bss 181612 181772 160 0.1
.text 1259152 1260648 1496 0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2281312 2282808 1496 0.1
.bss 172636 172796 160 0.1
.text 1243912 1245408 1496 0.1
lock-app CY8CPROTO_062_4343W+release (read/write) 2254344 2255840 1496 0.1
.bss 171452 171612 160 0.1
.text 1216944 1218440 1496 0.1
p6 all-clusters-app default (read/write) 2318288 2319824 1536 0.1
.bss 109688 109848 160 0.1
.text 1276552 1278088 1536 0.1
lock-app default (read/write) 2229528 2231064 1536 0.1
.bss 96408 96568 160 0.2
.text 1187792 1189328 1536 0.1
qpg lighting-app qpg6100+debug (read only) 496860 498012 1152 0.2
.bss 79656 79816 160 0.2
.text 491540 492692 1152 0.2
lock-app qpg6100+debug (read only) 469448 470600 1152 0.2
.bss 78568 78728 160 0.2
.text 464128 465280 1152 0.2
telink lighting-app tlsr9518adk80d (read/write) 778614 780258 1644 0.2
bss 79716 79876 160 0.2
text 541394 542446 1052 0.2
Decreases (5 builds for mbed, p6)
platform target config section 02bd2c7 a8054ab change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 849664 849504 -160 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858328 858168 -160 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859528 859368 -160 -0.0
p6 all-clusters-app default .heap 921200 921040 -160 -0.0
lock-app default .heap 934656 934496 -160 -0.0
Full report (28 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 02bd2c7 a8054ab change % change
efr32 lighting-app BRD4161A (read only) 763096 764632 1536 0.2
(read/write) 119956 120116 160 0.1
.bss 118140 118300 160 0.1
.data 1812 1812 0 0.0
.text 763088 764624 1536 0.2
BRD4161A+rpc (read only) 791608 793128 1520 0.2
(read/write) 138252 138412 160 0.1
.bss 136340 136500 160 0.1
.data 1912 1912 0 0.0
.text 791600 793120 1520 0.2
lock-app BRD4161A (read only) 736976 738512 1536 0.2
(read/write) 117660 117820 160 0.1
.bss 115892 116052 160 0.1
.data 1768 1768 0 0.0
.text 736968 738504 1536 0.2
window-app BRD4161A (read only) 740080 741600 1520 0.2
(read/write) 118092 118252 160 0.1
.bss 116316 116476 160 0.1
.data 1776 1776 0 0.0
.text 740072 741592 1520 0.2
esp32 all-clusters-app c3devkit (read only) 837376 838442 1066 0.1
(read/write) 1224330 1224914 584 0.0
.dram0.bss 58528 58688 160 0.3
.dram0.data 14028 14028 0 0.0
.flash.rodata 166528 166952 424 0.3
.flash.text 837376 838442 1066 0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 908883 909947 1064 0.1
(read/write) 423572 424148 576 0.1
.dram0.bss 63928 64088 160 0.3
.dram0.data 34000 34000 0 0.0
.flash.rodata 194364 194780 416 0.2
.flash.text 903499 904563 1064 0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 724508 726012 1504 0.2
.bss 78772 78932 160 0.2
.data 1840 1840 0 0.0
.text 638096 639440 1344 0.2
lock-app k32w061+debug (read/write) 613492 615012 1520 0.2
.bss 69212 69372 160 0.2
.data 1804 1804 0 0.0
.text 536676 538036 1360 0.3
shell k32w061+debug (read/write) 679288 680796 1508 0.2
.bss 80796 80956 160 0.2
.data 1776 1776 0 0.0
.text 590916 592264 1348 0.2
linux all-clusters-app debug (read only) 1780313 1786489 6176 0.3
(read/write) 125160 125480 320 0.3
.bss 53072 53328 256 0.5
.data 1104 1104 0 0.0
.data.rel.ro 65696 65760 64 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139957 141013 1056 0.8
.text 1500738 1505714 4976 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data 1680 1680 0 0.0
.data.rel.ro 29488 29552 64 0.2
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug (read only) 6247237 6254005 6768 0.1
(read/write) 197648 197968 320 0.2
.bss 33448 33704 256 0.8
.data 1008 1008 0 0.0
.data.rel.ro 157608 157672 64 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 294984 295976 992 0.3
.text 5549909 5555541 5632 0.1
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data 1232 1232 0 0.0
.data.rel.ro 57072 57136 64 0.1
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data 912 912 0 0.0
.data.rel.ro 26024 26088 64 0.2
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data 976 976 0 0.0
.data.rel.ro 27736 27800 64 0.2
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
shell debug (read only) 805881 805881 0 0.0
(read/write) 59848 59848 0 0.0
.bss 16808 16808 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38320 38320 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 79954 79954 0 0.0
.text 620610 620610 0 0.0
tv-app debug (read only) 1927025 1933905 6880 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data 1504 1504 0 0.0
.data.rel.ro 61696 61760 64 0.1
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 161576 162632 1056 0.7
.text 1616914 1622594 5680 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2296552 2298048 1496 0.1
.bss 181612 181772 160 0.1
.data 5168 5168 0 0.0
.heap 849664 849504 -160 -0.0
.text 1259152 1260648 1496 0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2281312 2282808 1496 0.1
.bss 172636 172796 160 0.1
.data 5480 5480 0 0.0
.heap 858328 858168 -160 -0.0
.text 1243912 1245408 1496 0.1
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2254344 2255840 1496 0.1
.bss 171452 171612 160 0.1
.data 5464 5464 0 0.0
.heap 859528 859368 -160 -0.0
.text 1216944 1218440 1496 0.1
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046096 2046096 0 0.0
.bss 156592 156592 0 0.0
.data 4864 4864 0 0.0
.heap 874992 874992 0 0.0
.text 1008696 1008696 0 0.0
p6 all-clusters-app default (read/write) 2318288 2319824 1536 0.1
.bss 109688 109848 160 0.1
.data 2456 2456 0 0.0
.heap 921200 921040 -160 -0.0
.text 1276552 1278088 1536 0.1
lock-app default (read/write) 2229528 2231064 1536 0.1
.bss 96408 96568 160 0.2
.data 2280 2280 0 0.0
.heap 934656 934496 -160 -0.0
.text 1187792 1189328 1536 0.1
qpg lighting-app qpg6100+debug (read only) 496860 498012 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 79656 79816 160 0.2
.data 940 940 0 0.0
.text 491540 492692 1152 0.2
lock-app qpg6100+debug (read only) 469448 470600 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 78568 78728 160 0.2
.data 892 892 0 0.0
.text 464128 465280 1152 0.2
persistent-storage-app qpg6100+debug (read only) 108020 108020 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36688 36688 0 0.0
.data 292 292 0 0.0
.text 102700 102700 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 778614 780258 1644 0.2
bss 79716 79876 160 0.2
noinit 37160 37160 0 0.0
text 541394 542446 1052 0.2

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

PR #12389: Size comparison from 1e67398 to cad2a68

Increases above 0.2%:

platform target config section 1e67398 cad2a68 change % change
esp32 all-clusters-app c3devkit .dram0.bss 58528 58688 160 0.3
.flash.rodata 166544 166968 424 0.3
m5stack .dram0.bss 63928 64088 160 0.3
.flash.rodata 194380 194796 416 0.2
k32w lock-app k32w061+debug .text 536676 538036 1360 0.3
linux all-clusters-app debug (read only) 1781321 1787593 6272 0.4
(read/write) 125192 125512 320 0.3
.bss 53072 53328 256 0.5
.rodata 139957 141013 1056 0.8
.text 1501746 1506818 5072 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug .bss 33448 33704 256 0.8
.rodata 295880 296872 992 0.3
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
tv-app debug (read only) 1927025 1933905 6880 0.4
.rodata 161576 162632 1056 0.7
.text 1616914 1622594 5680 0.4
Increases (24 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 1e67398 cad2a68 change % change
efr32 lighting-app BRD4161A (read only) 763688 765208 1520 0.2
(read/write) 119972 120132 160 0.1
.bss 118164 118324 160 0.1
.text 763680 765200 1520 0.2
BRD4161A+rpc (read only) 792184 793720 1536 0.2
(read/write) 138276 138436 160 0.1
.bss 136364 136524 160 0.1
.text 792176 793712 1536 0.2
lock-app BRD4161A (read only) 737552 739088 1536 0.2
(read/write) 117684 117844 160 0.1
.bss 115916 116076 160 0.1
.text 737544 739080 1536 0.2
window-app BRD4161A (read only) 740656 742192 1536 0.2
(read/write) 118116 118276 160 0.1
.bss 116340 116500 160 0.1
.text 740648 742184 1536 0.2
esp32 all-clusters-app c3devkit (read only) 837434 838546 1112 0.1
(read/write) 1224346 1224930 584 0.0
.dram0.bss 58528 58688 160 0.3
.flash.rodata 166544 166968 424 0.3
.flash.text 837434 838546 1112 0.1
m5stack (read only) 908991 910075 1084 0.1
(read/write) 423588 424164 576 0.1
.dram0.bss 63928 64088 160 0.3
.flash.rodata 194380 194796 416 0.2
.flash.text 903607 904691 1084 0.1
k32w lighting-app k32w061+se05x+release (read/write) 724508 726012 1504 0.2
.bss 78772 78932 160 0.2
.text 638096 639440 1344 0.2
lock-app k32w061+debug (read/write) 613492 615012 1520 0.2
.bss 69212 69372 160 0.2
.text 536676 538036 1360 0.3
shell k32w061+debug (read/write) 679288 680796 1508 0.2
.bss 80796 80956 160 0.2
.text 590916 592264 1348 0.2
linux all-clusters-app debug (read only) 1781321 1787593 6272 0.4
(read/write) 125192 125512 320 0.3
.bss 53072 53328 256 0.5
.data.rel.ro 65728 65792 64 0.1
.rodata 139957 141013 1056 0.8
.text 1501746 1506818 5072 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data.rel.ro 29488 29552 64 0.2
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug (read only) 6273461 6280245 6784 0.1
(read/write) 197904 198224 320 0.2
.bss 33448 33704 256 0.8
.data.rel.ro 157880 157944 64 0.0
.rodata 295880 296872 992 0.3
.text 5574613 5580261 5648 0.1
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data.rel.ro 57072 57136 64 0.1
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data.rel.ro 26024 26088 64 0.2
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data.rel.ro 27736 27800 64 0.2
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
tv-app debug (read only) 1927025 1933905 6880 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data.rel.ro 61696 61760 64 0.1
.rodata 161576 162632 1056 0.7
.text 1616914 1622594 5680 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2296632 2298128 1496 0.1
.bss 181612 181772 160 0.1
.text 1259232 1260728 1496 0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2281312 2282808 1496 0.1
.bss 172636 172796 160 0.1
.text 1243912 1245408 1496 0.1
lock-app CY8CPROTO_062_4343W+release (read/write) 2254344 2255840 1496 0.1
.bss 171452 171612 160 0.1
.text 1216944 1218440 1496 0.1
p6 all-clusters-app default (read/write) 2318448 2320016 1568 0.1
.bss 109688 109848 160 0.1
.text 1276712 1278280 1568 0.1
lock-app default (read/write) 2229528 2231064 1536 0.1
.bss 96408 96568 160 0.2
.text 1187792 1189328 1536 0.1
qpg lighting-app qpg6100+debug (read only) 496860 498012 1152 0.2
.bss 79656 79816 160 0.2
.text 491540 492692 1152 0.2
lock-app qpg6100+debug (read only) 469448 470600 1152 0.2
.bss 78568 78728 160 0.2
.text 464128 465280 1152 0.2
telink lighting-app tlsr9518adk80d (read/write) 778614 780258 1644 0.2
bss 79716 79876 160 0.2
text 541394 542446 1052 0.2
Decreases (5 builds for mbed, p6)
platform target config section 1e67398 cad2a68 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 849664 849504 -160 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858328 858168 -160 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859528 859368 -160 -0.0
p6 all-clusters-app default .heap 921200 921040 -160 -0.0
lock-app default .heap 934656 934496 -160 -0.0
Full report (28 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 1e67398 cad2a68 change % change
efr32 lighting-app BRD4161A (read only) 763688 765208 1520 0.2
(read/write) 119972 120132 160 0.1
.bss 118164 118324 160 0.1
.data 1808 1808 0 0.0
.text 763680 765200 1520 0.2
BRD4161A+rpc (read only) 792184 793720 1536 0.2
(read/write) 138276 138436 160 0.1
.bss 136364 136524 160 0.1
.data 1908 1908 0 0.0
.text 792176 793712 1536 0.2
lock-app BRD4161A (read only) 737552 739088 1536 0.2
(read/write) 117684 117844 160 0.1
.bss 115916 116076 160 0.1
.data 1764 1764 0 0.0
.text 737544 739080 1536 0.2
window-app BRD4161A (read only) 740656 742192 1536 0.2
(read/write) 118116 118276 160 0.1
.bss 116340 116500 160 0.1
.data 1772 1772 0 0.0
.text 740648 742184 1536 0.2
esp32 all-clusters-app c3devkit (read only) 837434 838546 1112 0.1
(read/write) 1224346 1224930 584 0.0
.dram0.bss 58528 58688 160 0.3
.dram0.data 14028 14028 0 0.0
.flash.rodata 166544 166968 424 0.3
.flash.text 837434 838546 1112 0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 908991 910075 1084 0.1
(read/write) 423588 424164 576 0.1
.dram0.bss 63928 64088 160 0.3
.dram0.data 34000 34000 0 0.0
.flash.rodata 194380 194796 416 0.2
.flash.text 903607 904691 1084 0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 724508 726012 1504 0.2
.bss 78772 78932 160 0.2
.data 1840 1840 0 0.0
.text 638096 639440 1344 0.2
lock-app k32w061+debug (read/write) 613492 615012 1520 0.2
.bss 69212 69372 160 0.2
.data 1804 1804 0 0.0
.text 536676 538036 1360 0.3
shell k32w061+debug (read/write) 679288 680796 1508 0.2
.bss 80796 80956 160 0.2
.data 1776 1776 0 0.0
.text 590916 592264 1348 0.2
linux all-clusters-app debug (read only) 1781321 1787593 6272 0.4
(read/write) 125192 125512 320 0.3
.bss 53072 53328 256 0.5
.data 1104 1104 0 0.0
.data.rel.ro 65728 65792 64 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139957 141013 1056 0.8
.text 1501746 1506818 5072 0.3
bridge-app debug+rpc (read only) 1352373 1358517 6144 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data 1680 1680 0 0.0
.data.rel.ro 29488 29552 64 0.2
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 113980 115004 1024 0.9
.text 1138181 1143157 4976 0.4
chip-tool debug (read only) 6273461 6280245 6784 0.1
(read/write) 197904 198224 320 0.2
.bss 33448 33704 256 0.8
.data 1008 1008 0 0.0
.data.rel.ro 157880 157944 64 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 295880 296872 992 0.3
.text 5574613 5580261 5648 0.1
lighting-app debug+rpc (read only) 1632441 1638617 6176 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data 1232 1232 0 0.0
.data.rel.ro 57072 57136 64 0.1
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 132433 133489 1056 0.8
.text 1362098 1367074 4976 0.4
ota-provider-app debug (read only) 1312817 1318993 6176 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data 912 912 0 0.0
.data.rel.ro 26024 26088 64 0.2
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 115184 116240 1056 0.9
.text 1097186 1102162 4976 0.5
ota-requestor-app debug (read only) 1412801 1418977 6176 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data 976 976 0 0.0
.data.rel.ro 27736 27800 64 0.2
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 127008 128064 1056 0.8
.text 1181906 1186882 4976 0.4
shell debug (read only) 805881 805881 0 0.0
(read/write) 59848 59848 0 0.0
.bss 16808 16808 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38320 38320 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 79954 79954 0 0.0
.text 620610 620610 0 0.0
tv-app debug (read only) 1927025 1933905 6880 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data 1504 1504 0 0.0
.data.rel.ro 61696 61760 64 0.1
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 161576 162632 1056 0.7
.text 1616914 1622594 5680 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2296632 2298128 1496 0.1
.bss 181612 181772 160 0.1
.data 5168 5168 0 0.0
.heap 849664 849504 -160 -0.0
.text 1259232 1260728 1496 0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2281312 2282808 1496 0.1
.bss 172636 172796 160 0.1
.data 5480 5480 0 0.0
.heap 858328 858168 -160 -0.0
.text 1243912 1245408 1496 0.1
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2254344 2255840 1496 0.1
.bss 171452 171612 160 0.1
.data 5464 5464 0 0.0
.heap 859528 859368 -160 -0.0
.text 1216944 1218440 1496 0.1
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046096 2046096 0 0.0
.bss 156592 156592 0 0.0
.data 4864 4864 0 0.0
.heap 874992 874992 0 0.0
.text 1008696 1008696 0 0.0
p6 all-clusters-app default (read/write) 2318448 2320016 1568 0.1
.bss 109688 109848 160 0.1
.data 2456 2456 0 0.0
.heap 921200 921040 -160 -0.0
.text 1276712 1278280 1568 0.1
lock-app default (read/write) 2229528 2231064 1536 0.1
.bss 96408 96568 160 0.2
.data 2280 2280 0 0.0
.heap 934656 934496 -160 -0.0
.text 1187792 1189328 1536 0.1
qpg lighting-app qpg6100+debug (read only) 496860 498012 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 79656 79816 160 0.2
.data 940 940 0 0.0
.text 491540 492692 1152 0.2
lock-app qpg6100+debug (read only) 469448 470600 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 78568 78728 160 0.2
.data 892 892 0 0.0
.text 464128 465280 1152 0.2
persistent-storage-app qpg6100+debug (read only) 108020 108020 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36688 36688 0 0.0
.data 292 292 0 0.0
.text 102700 102700 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 778614 780258 1644 0.2
bss 79716 79876 160 0.2
noinit 37160 37160 0 0.0
text 541394 542446 1052 0.2

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

PR #12389: Size comparison from a7b18b8 to bd94a78

Increases above 0.2%:

platform target config section a7b18b8 bd94a78 change % change
esp32 all-clusters-app c3devkit .dram0.bss 58528 58688 160 0.3
.flash.rodata 166248 166720 472 0.3
m5stack .dram0.bss 63928 64088 160 0.3
.flash.rodata 194100 194556 456 0.2
k32w lock-app k32w061+debug (read/write) 613524 615124 1600 0.3
.text 536708 538148 1440 0.3
linux all-clusters-app debug (read only) 1781513 1787945 6432 0.4
(read/write) 125192 125512 320 0.3
.bss 53072 53328 256 0.5
.rodata 139797 140917 1120 0.8
.text 1502098 1507266 5168 0.3
bridge-app debug+rpc (read only) 1352565 1358869 6304 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.rodata 113820 114908 1088 1.0
.text 1138533 1143605 5072 0.4
chip-tool debug .bss 33448 33704 256 0.8
.rodata 295624 296680 1056 0.4
lighting-app debug+rpc (read only) 1632633 1638937 6304 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.rodata 132273 133361 1088 0.8
.text 1362450 1367522 5072 0.4
ota-provider-app debug (read only) 1313009 1319345 6336 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.rodata 115024 116144 1120 1.0
.text 1097538 1102610 5072 0.5
ota-requestor-app debug (read only) 1412993 1419313 6320 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.rodata 126848 127968 1120 0.9
.text 1182258 1187314 5056 0.4
tv-app debug (read only) 1927281 1934241 6960 0.4
.rodata 161448 162504 1056 0.7
.text 1617298 1623058 5760 0.4
nrfconnect lighting-app nrf52840dk_nrf52840 rodata 97368 97832 464 0.5
nrf52840dk_nrf52840+rpc rodata 88632 89096 464 0.5
nrf5340dk_nrf5340_cpuapp rodata 92628 93092 464 0.5
lock-app nrf52840dk_nrf52840 rodata 93108 93572 464 0.5
nrf5340dk_nrf5340_cpuapp rodata 88396 88860 464 0.5
pump-app nrf52840dk_nrf52840 rodata 94840 95304 464 0.5
pump-controller-app nrf52840dk_nrf52840 rodata 92976 93440 464 0.5
Increases (35 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section a7b18b8 bd94a78 change % change
efr32 lighting-app BRD4161A (read only) 763296 764912 1616 0.2
(read/write) 119972 120132 160 0.1
.bss 118164 118324 160 0.1
.text 763288 764904 1616 0.2
BRD4161A+rpc (read only) 791784 793416 1632 0.2
(read/write) 138276 138436 160 0.1
.bss 136364 136524 160 0.1
.text 791776 793408 1632 0.2
lock-app BRD4161A (read only) 737176 738792 1616 0.2
(read/write) 117684 117844 160 0.1
.bss 115916 116076 160 0.1
.text 737168 738784 1616 0.2
window-app BRD4161A (read only) 740264 741880 1616 0.2
(read/write) 118116 118276 160 0.1
.bss 116340 116500 160 0.1
.text 740256 741872 1616 0.2
esp32 all-clusters-app c3devkit (read only) 837356 838510 1154 0.1
(read/write) 1224050 1224682 632 0.1
.dram0.bss 58528 58688 160 0.3
.flash.rodata 166248 166720 472 0.3
.flash.text 837356 838510 1154 0.1
m5stack (read only) 908839 909995 1156 0.1
(read/write) 423308 423924 616 0.1
.dram0.bss 63928 64088 160 0.3
.flash.rodata 194100 194556 456 0.2
.flash.text 903455 904611 1156 0.1
k32w lighting-app k32w061+se05x+release (read/write) 724524 726120 1596 0.2
.bss 78772 78932 160 0.2
.text 638112 639548 1436 0.2
lock-app k32w061+debug (read/write) 613524 615124 1600 0.3
.bss 69212 69372 160 0.2
.text 536708 538148 1440 0.3
shell k32w061+debug (read/write) 679304 680908 1604 0.2
.bss 80796 80956 160 0.2
.text 590932 592376 1444 0.2
linux all-clusters-app debug (read only) 1781513 1787945 6432 0.4
(read/write) 125192 125512 320 0.3
.bss 53072 53328 256 0.5
.data.rel.ro 65728 65792 64 0.1
.rodata 139797 140917 1120 0.8
.text 1502098 1507266 5168 0.3
bridge-app debug+rpc (read only) 1352565 1358869 6304 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data.rel.ro 29488 29552 64 0.2
.rodata 113820 114908 1088 1.0
.text 1138533 1143605 5072 0.4
chip-tool debug (read only) 6272725 6279653 6928 0.1
(read/write) 197904 198224 320 0.2
.bss 33448 33704 256 0.8
.data.rel.ro 157880 157944 64 0.0
.rodata 295624 296680 1056 0.4
.text 5574133 5579861 5728 0.1
lighting-app debug+rpc (read only) 1632633 1638937 6304 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data.rel.ro 57072 57136 64 0.1
.rodata 132273 133361 1088 0.8
.text 1362450 1367522 5072 0.4
ota-provider-app debug (read only) 1313009 1319345 6336 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data.rel.ro 26024 26088 64 0.2
.rodata 115024 116144 1120 1.0
.text 1097538 1102610 5072 0.5
ota-requestor-app debug (read only) 1412993 1419313 6320 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data.rel.ro 27736 27800 64 0.2
.rodata 126848 127968 1120 0.9
.text 1182258 1187314 5056 0.4
shell debug (read only) 808969 809129 160 0.0
.rodata 79794 79858 64 0.1
.text 623474 623570 96 0.0
tv-app debug (read only) 1927281 1934241 6960 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data.rel.ro 61696 61760 64 0.1
.rodata 161448 162504 1056 0.7
.text 1617298 1623058 5760 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2296632 2298240 1608 0.1
.bss 181612 181772 160 0.1
.text 1259232 1260840 1608 0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2281312 2282912 1600 0.1
.bss 172636 172796 160 0.1
.text 1243912 1245512 1600 0.1
lock-app CY8CPROTO_062_4343W+release (read/write) 2254344 2255944 1600 0.1
.bss 171452 171612 160 0.1
.text 1216944 1218544 1600 0.1
shell CY8CPROTO_062_4343W+release (read/write) 2045928 2046040 112 0.0
.text 1008528 1008640 112 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 876807 878407 1600 0.2
bss 113136 113296 160 0.1
rodata 97368 97832 464 0.5
text 590764 591744 980 0.2
nrf52840dk_nrf52840+rpc (read/write) 839255 840855 1600 0.2
bss 109488 109648 160 0.1
rodata 88632 89096 464 0.5
text 564932 565912 980 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 801842 803442 1600 0.2
bss 114512 114672 160 0.1
rodata 92628 93092 464 0.5
text 520220 521200 980 0.2
lock-app nrf52840dk_nrf52840 (read/write) 847635 849235 1600 0.2
bss 110176 110336 160 0.1
rodata 93108 93572 464 0.5
text 569012 569992 980 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 772906 774506 1600 0.2
bss 111584 111744 160 0.1
rodata 88396 88860 464 0.5
text 498560 499540 980 0.2
pump-app nrf52840dk_nrf52840 (read/write) 853679 855279 1600 0.2
bss 110312 110472 160 0.1
rodata 94840 95304 464 0.5
text 573080 574060 980 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 846743 848343 1600 0.2
bss 110188 110348 160 0.1
rodata 92976 93440 464 0.5
text 568140 569120 980 0.2
shell nrf52840dk_nrf52840 (read/write) 779227 779323 96 0.0
rodata 73216 73264 48 0.1
text 521888 521932 44 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694274 694354 80 0.0
rodata 67860 67908 48 0.1
text 442496 442540 44 0.0
p6 all-clusters-app default (read/write) 2318024 2319672 1648 0.1
.bss 109688 109848 160 0.1
.text 1276288 1277936 1648 0.1
lock-app default (read/write) 2229112 2230744 1632 0.1
.bss 96408 96568 160 0.2
.text 1187376 1189008 1632 0.1
qpg lighting-app qpg6100+debug (read only) 496884 498036 1152 0.2
.bss 79656 79816 160 0.2
.text 491564 492716 1152 0.2
lock-app qpg6100+debug (read only) 469480 470632 1152 0.2
.bss 78568 78728 160 0.2
.text 464160 465312 1152 0.2
telink lighting-app tlsr9518adk80d (read/write) 778686 780418 1732 0.2
bss 79716 79876 160 0.2
text 541466 542560 1094 0.2
Decreases (5 builds for mbed, p6)
platform target config section a7b18b8 bd94a78 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 849664 849504 -160 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858328 858168 -160 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859528 859368 -160 -0.0
p6 all-clusters-app default .heap 921200 921040 -160 -0.0
lock-app default .heap 934656 934496 -160 -0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section a7b18b8 bd94a78 change % change
efr32 lighting-app BRD4161A (read only) 763296 764912 1616 0.2
(read/write) 119972 120132 160 0.1
.bss 118164 118324 160 0.1
.data 1808 1808 0 0.0
.text 763288 764904 1616 0.2
BRD4161A+rpc (read only) 791784 793416 1632 0.2
(read/write) 138276 138436 160 0.1
.bss 136364 136524 160 0.1
.data 1908 1908 0 0.0
.text 791776 793408 1632 0.2
lock-app BRD4161A (read only) 737176 738792 1616 0.2
(read/write) 117684 117844 160 0.1
.bss 115916 116076 160 0.1
.data 1764 1764 0 0.0
.text 737168 738784 1616 0.2
window-app BRD4161A (read only) 740264 741880 1616 0.2
(read/write) 118116 118276 160 0.1
.bss 116340 116500 160 0.1
.data 1772 1772 0 0.0
.text 740256 741872 1616 0.2
esp32 all-clusters-app c3devkit (read only) 837356 838510 1154 0.1
(read/write) 1224050 1224682 632 0.1
.dram0.bss 58528 58688 160 0.3
.dram0.data 14028 14028 0 0.0
.flash.rodata 166248 166720 472 0.3
.flash.text 837356 838510 1154 0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 908839 909995 1156 0.1
(read/write) 423308 423924 616 0.1
.dram0.bss 63928 64088 160 0.3
.dram0.data 34000 34000 0 0.0
.flash.rodata 194100 194556 456 0.2
.flash.text 903455 904611 1156 0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 724524 726120 1596 0.2
.bss 78772 78932 160 0.2
.data 1840 1840 0 0.0
.text 638112 639548 1436 0.2
lock-app k32w061+debug (read/write) 613524 615124 1600 0.3
.bss 69212 69372 160 0.2
.data 1804 1804 0 0.0
.text 536708 538148 1440 0.3
shell k32w061+debug (read/write) 679304 680908 1604 0.2
.bss 80796 80956 160 0.2
.data 1776 1776 0 0.0
.text 590932 592376 1444 0.2
linux all-clusters-app debug (read only) 1781513 1787945 6432 0.4
(read/write) 125192 125512 320 0.3
.bss 53072 53328 256 0.5
.data 1104 1104 0 0.0
.data.rel.ro 65728 65792 64 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139797 140917 1120 0.8
.text 1502098 1507266 5168 0.3
bridge-app debug+rpc (read only) 1352565 1358869 6304 0.5
(read/write) 71312 71632 320 0.4
.bss 35120 35376 256 0.7
.data 1680 1680 0 0.0
.data.rel.ro 29488 29552 64 0.2
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 113820 114908 1088 1.0
.text 1138533 1143605 5072 0.4
chip-tool debug (read only) 6272725 6279653 6928 0.1
(read/write) 197904 198224 320 0.2
.bss 33448 33704 256 0.8
.data 1008 1008 0 0.0
.data.rel.ro 157880 157944 64 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 295624 296680 1056 0.4
.text 5574133 5579861 5728 0.1
lighting-app debug+rpc (read only) 1632633 1638937 6304 0.4
(read/write) 104400 104720 320 0.3
.bss 40784 41040 256 0.6
.data 1232 1232 0 0.0
.data.rel.ro 57072 57136 64 0.1
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 132273 133361 1088 0.8
.text 1362450 1367522 5072 0.4
ota-provider-app debug (read only) 1313009 1319345 6336 0.5
(read/write) 69768 70088 320 0.5
.bss 37696 37952 256 0.7
.data 912 912 0 0.0
.data.rel.ro 26024 26088 64 0.2
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 115024 116144 1120 1.0
.text 1097538 1102610 5072 0.5
ota-requestor-app debug (read only) 1412993 1419313 6320 0.4
(read/write) 73664 73984 320 0.4
.bss 39808 40064 256 0.6
.data 976 976 0 0.0
.data.rel.ro 27736 27800 64 0.2
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 126848 127968 1120 0.9
.text 1182258 1187314 5056 0.4
shell debug (read only) 808969 809129 160 0.0
(read/write) 60104 60104 0 0.0
.bss 16872 16872 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38528 38528 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 79794 79858 64 0.1
.text 623474 623570 96 0.0
tv-app debug (read only) 1927281 1934241 6960 0.4
(read/write) 314032 314352 320 0.1
.bss 245176 245432 256 0.1
.data 1504 1504 0 0.0
.data.rel.ro 61696 61760 64 0.1
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 161448 162504 1056 0.7
.text 1617298 1623058 5760 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2296632 2298240 1608 0.1
.bss 181612 181772 160 0.1
.data 5168 5168 0 0.0
.heap 849664 849504 -160 -0.0
.text 1259232 1260840 1608 0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2281312 2282912 1600 0.1
.bss 172636 172796 160 0.1
.data 5480 5480 0 0.0
.heap 858328 858168 -160 -0.0
.text 1243912 1245512 1600 0.1
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2254344 2255944 1600 0.1
.bss 171452 171612 160 0.1
.data 5464 5464 0 0.0
.heap 859528 859368 -160 -0.0
.text 1216944 1218544 1600 0.1
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2045928 2046040 112 0.0
.bss 156624 156624 0 0.0
.data 4864 4864 0 0.0
.heap 874960 874960 0 0.0
.text 1008528 1008640 112 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 876807 878407 1600 0.2
bss 113136 113296 160 0.1
rodata 97368 97832 464 0.5
text 590764 591744 980 0.2
nrf52840dk_nrf52840+rpc (read/write) 839255 840855 1600 0.2
bss 109488 109648 160 0.1
rodata 88632 89096 464 0.5
text 564932 565912 980 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 801842 803442 1600 0.2
bss 114512 114672 160 0.1
rodata 92628 93092 464 0.5
text 520220 521200 980 0.2
lock-app nrf52840dk_nrf52840 (read/write) 847635 849235 1600 0.2
bss 110176 110336 160 0.1
rodata 93108 93572 464 0.5
text 569012 569992 980 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 772906 774506 1600 0.2
bss 111584 111744 160 0.1
rodata 88396 88860 464 0.5
text 498560 499540 980 0.2
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 853679 855279 1600 0.2
bss 110312 110472 160 0.1
rodata 94840 95304 464 0.5
text 573080 574060 980 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 846743 848343 1600 0.2
bss 110188 110348 160 0.1
rodata 92976 93440 464 0.5
text 568140 569120 980 0.2
shell nrf52840dk_nrf52840 (read/write) 779227 779323 96 0.0
bss 109616 109616 0 0.0
rodata 73216 73264 48 0.1
text 521888 521932 44 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694274 694354 80 0.0
bss 110600 110600 0 0.0
rodata 67860 67908 48 0.1
text 442496 442540 44 0.0
p6 all-clusters-app default (read/write) 2318024 2319672 1648 0.1
.bss 109688 109848 160 0.1
.data 2456 2456 0 0.0
.heap 921200 921040 -160 -0.0
.text 1276288 1277936 1648 0.1
lock-app default (read/write) 2229112 2230744 1632 0.1
.bss 96408 96568 160 0.2
.data 2280 2280 0 0.0
.heap 934656 934496 -160 -0.0
.text 1187376 1189008 1632 0.1
qpg lighting-app qpg6100+debug (read only) 496884 498036 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 79656 79816 160 0.2
.data 940 940 0 0.0
.text 491564 492716 1152 0.2
lock-app qpg6100+debug (read only) 469480 470632 1152 0.2
(read/write) 114140 114140 0 0.0
.bss 78568 78728 160 0.2
.data 892 892 0 0.0
.text 464160 465312 1152 0.2
persistent-storage-app qpg6100+debug (read only) 108020 108020 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36688 36688 0 0.0
.data 292 292 0 0.0
.text 102700 102700 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 778686 780418 1732 0.2
bss 79716 79876 160 0.2
noinit 37160 37160 0 0.0
text 541466 542560 1094 0.2

@bzbarsky-apple bzbarsky-apple merged commit ffee2a9 into project-chip:master Dec 1, 2021
@bzbarsky-apple bzbarsky-apple deleted the server-side-timed-invoke branch December 1, 2021 19:41
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Dec 2, 2021
This is failing due to a merge conflict between
project-chip#11988 and
project-chip#12389: the latter
ends up in an error state as described in
project-chip#12466 (comment)
and the former makes our code a lot more sensitive to being in that
error state.

The fix for the test is to not use the sync mode of loopback
transport, which allows the stack for sending a message to unwind
before responses are delivered and avoids the "object deleted by
response while we are still working with it" problem described in
project-chip#12466 (comment).

When the responses were made async, it turned out the test was missing
some "expect response" flags that should have been there all along and
it was only passing because the response happened before the send
could get to the "close the exchange" stage.  With async responses,
exchanges were closing too early without the "expect response" flags.

Separately we should figure out which parts of
project-chip#12466 we should
do.
kghost pushed a commit that referenced this pull request Dec 2, 2021
This is failing due to a merge conflict between
#11988 and
#12389: the latter
ends up in an error state as described in
#12466 (comment)
and the former makes our code a lot more sensitive to being in that
error state.

The fix for the test is to not use the sync mode of loopback
transport, which allows the stack for sending a message to unwind
before responses are delivered and avoids the "object deleted by
response while we are still working with it" problem described in
#12466 (comment).

When the responses were made async, it turned out the test was missing
some "expect response" flags that should have been there all along and
it was only passing because the response happened before the send
could get to the "close the exchange" stage.  With async responses,
exchanges were closing too early without the "expect response" flags.

Separately we should figure out which parts of
#12466 we should
do.
@@ -247,6 +271,7 @@ class InteractionModelEngine : public Messaging::ExchangeDelegate, public Comman
// TODO(#8006): investgate if we can disable some IM functions on some compact accessories.
// TODO(#8006): investgate if we can provide more flexible object management on devices with more resources.
BitMapObjectPool<CommandHandler, CHIP_IM_MAX_NUM_COMMAND_HANDLER> mCommandHandlerObjs;
BitMapObjectPool<TimedHandler, CHIP_IM_MAX_NUM_TIMED_HANDLER> mTimedHandlers;
Copy link
Contributor

Choose a reason for hiding this comment

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

One of more objects from this pool outlives the InteractionModelEngine in a TestTimedHandler unit test. What should happen?

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.

6 participants