Skip to content

Perf: Async stream fast path, loop fairness, and batched record delivery - #161

Merged
paul-brackin merged 3 commits into
stagefrom
recordset-next-batch
Nov 11, 2026
Merged

paul-brackin merged 3 commits into
stagefrom
recordset-next-batch

Conversation

@paul-brackin

@paul-brackin paul-brackin commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Async iteration over a Recordset or BatchRecordStream paid three thread handoffs per record, even when the record was already buffered. Hand buffered items out on the event loop thread and keep the loop responsive in the process.

@paul-brackin paul-brackin changed the title Recordset next batch Perf: Async stream fast path, loop fairness, and batched record delivery Nov 11, 2026
@paul-brackin
paul-brackin merged commit 4232938 into stage Nov 11, 2026
225 of 230 checks passed
@paul-brackin
paul-brackin deleted the recordset-next-batch branch November 11, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant