Skip to content

perf(bench): avoid cloning scheduling keys for ready sends - #201

Draft
mattsse wants to merge 1 commit into
mainfrom
mattsse/ready-send-fast-path
Draft

perf(bench): avoid cloning scheduling keys for ready sends#201
mattsse wants to merge 1 commit into
mainfrom
mattsse/ready-send-fast-path

Conversation

@mattsse

@mattsse mattsse commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Skip cloning the active scheduling keys when the send queue is empty or its first transaction is ready, preserving the existing ordered scan when it is blocked. In a local optimized microbenchmark with 5,000 active keys, ready-front selection fell from about 2.49 µs to 10.4 ns per call; this measures queue selection only, not node throughput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant