-
Notifications
You must be signed in to change notification settings - Fork 3k
ATCmdParser: Fix OOB handling performance-wise #8598
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
ATCmdParser: Fix OOB handling performance-wise #8598
Conversation
@kjbracey-arm please review - this code is taken from you. |
Needs some description in the commit message. If I recall/understand correctly the issue is that the This revised version modifies the parser to recheck |
Previous comment copied to the commit message |
The issue is that the process_oob check would only return immediately if no data at all on entry, or when receiving a known OOB. Any other line noise or unknown OOBs could lead to a timeout delay - read the noise or unknown OOB then timeout waiting for another line of input. This revised version modifies the parser to recheck readable after each line end when only looking for OOBs, so it can immediate exit.
/morph build |
Build : FAILUREBuild number : 3514 |
I've seen this error earlier today. Does not look related to the changes here. is script failing to clean something or what else? @cmonr @studavekar Do you recognize this one? Restarting to confirm /morph build |
Build : FAILUREBuild number : 3516 |
/morph build |
@0xc0170 This shows up every once in a while, but we're not sure why. Restarting generally solves the issue. |
Build : SUCCESSBuild number : 3519 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 3136 |
Test : SUCCESSBuild number : 3302 |
Description
Improve ATCmdParser performance when it comes to OOB handling.
Work done by @kjbracey-arm.
Pull request type