Commit 0b54d7f
committed
Restructure beman benchmark with bridges, statistics, and rigor
- Restructure beman benchmark into 3 tables x 3 stream types
- Add awaitable/sender bridge columns to benchmark
- Replace callback pipeline runners with repeat_effect_until
- Normalize coroutine function names
- Improve measurement precision and remove unused parameters
- Generalize bridge implementations and improve benchmark rigor
- Make awaitable_sender fully general: define get_io_executor
query CPO, extract executor from P2300 scheduler via standard
forwarding queries, remove all benchmark-specific types from
bridge code
- Make sender_awaitable universally safe: atomic exchange protocol
handles synchronous completion during start() without UB
- Add as_awaitable member to awaitable_sender so beman's
await_transform bypasses sender_awaitable wrapping
- Make sender_thread_pool inherit execution_context, eliminating
separate bench_context and null pointer in executor adapter
- Add multi-run statistics (5 runs, mean +/- stddev)
- Replace magic numbers with named constants
- Fix row labels to show abstraction level, not stream type
- Reorder tables: sender/receiver pipeline first1 parent 83cdfcd commit 0b54d7f
File tree
21 files changed
+2028
-652
lines changed- bench/beman
21 files changed
+2028
-652
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments