Skip to content

tool_cb_rea: simplify reading stdin non-blocking#17569

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/alternatve-nonblock
Closed

tool_cb_rea: simplify reading stdin non-blocking#17569
bagder wants to merge 1 commit intomasterfrom
bagder/alternatve-nonblock

Conversation

@bagder
Copy link
Member

@bagder bagder commented Jun 10, 2025

To improve performance at the expense of doing more loops.

Alternative to #17566, meant to simplify.

To improve performance at the expense of doing more loops.
@testclutch
Copy link

Analysis of PR #17569 at 712f8fc4:

Test ../../tests/http/test_07_upload.py::TestUpload::test_07_70_put_earlydata[h3-limited-body] failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Generated by Testclutch

@icing
Copy link
Contributor

icing commented Jun 10, 2025

the early data test failed with other PRs sometimes as well. Seems I need to check what is going on there.

@denandz
Copy link
Contributor

denandz commented Jun 15, 2025

Have rolled this into #17566 along with a select call, making tool_readbusy_cb return earlier than the 1ms sleep if data is available on STDIN. Resulted in an additional performance bump.

@bagder bagder closed this Jul 7, 2025
@bagder bagder deleted the bagder/alternatve-nonblock branch July 7, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants