You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asyncband.apache.org by "tisonkun (via GitHub)" <gi...@apache.org> on 2026/09/02 09:46:55 UTC
[PR] perf: reduce fan-out notification overhead [asyncband]
tisonkun opened a new pull request, #266:
URL: https://github.com/apache/asyncband/pull/266
## Summary
* Separate reusable waiter draining from terminal `take_all`, moving terminal arena scanning and destruction outside the state lock.
* Share an inline-one `WakerBatch` across wait-set, event, condition-variable, and semaphore fan-out paths without adding a dependency.
* Keep reusable paths retaining their arena allocation and use `take_all` only for terminal completion or disconnection transitions.
## Design Notes
* Interleaved Completion benchmarks show 10.5%–13.0% lower end-to-end latency for 1–8 waiters and 4.2% for 32 waiters.
* An inline-eight SmallVec prototype improved larger fan-out but did not justify a new dependency or a bespoke unsafe collection without production fan-out evidence, so this change keeps the focused inline-one representation.
## Validation
* `cargo x check`
* `cargo x test`
* `cargo x lint`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@asyncband.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@asyncband.apache.org
For additional commands, e-mail: commits-help@asyncband.apache.org
Re: [PR] perf: reduce fan-out notification overhead [asyncband]
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun merged PR #266:
URL: https://github.com/apache/asyncband/pull/266
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@asyncband.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@asyncband.apache.org
For additional commands, e-mail: commits-help@asyncband.apache.org