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/11 06:38:35 UTC
[PR] test: benchmark MPMC on Tokio and replace Pollster [asyncband]
tisonkun opened a new pull request, #300:
URL: https://github.com/apache/asyncband/pull/300
## Summary
MPMC comparisons currently measure dedicated OS threads driving async operations through Pollster. Add Tokio task benchmarks for asyncband, async-channel, and Flume, covering bounded/unbounded queues, current-thread/four-worker runtimes, and four producer/consumer topologies. Share the fixtures between the asyncband-only and ecosystem suites.
Replace Pollster in integration tests and channel benchmarks with the existing `asyncband::blocking::FutureExt` API, and remove the workspace dependency.
## Design Notes
Keep the dedicated-thread workload as `blocking_threads`: it measures synchronous callers bridging into async channel APIs, including polling and parking overhead. The new `tokio_tasks` workload runs every producer and consumer in a spawned task; consumers compete until disconnection and drain all messages. Document setup/timing boundaries and workload differences in `benchmarks/README.md` so executor and channel costs are not conflated.
Regression coverage checks completion, received counts/checksums, capacity-one backpressure, uneven consumer counts, and last-sender drop. Related to #298.
## Validation
- `cargo x lint`, `cargo x check`, `cargo x test`, `cargo +1.86.0 x test`, `cargo x miri`, and `cargo x bench --no-run`.
- Executed all 72 ecosystem and 24 asyncband-only MPMC cases with 20 samples each, plus smoke checks of the affected MPSC workloads.
--
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] test: benchmark MPMC on Tokio and replace Pollster [asyncband]
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun merged PR #300:
URL: https://github.com/apache/asyncband/pull/300
--
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