006 rings vs channels

○ Planned This feature is planned but not yet implemented.

OWED: MPMC ring producer/consumer compiles as idiomatic Koru concurrency.

Failure Output

Showing last 10 of 17 lines
  --> tests/regression/400_RUNTIME_FEATURES/420_PERFORMANCE/420_006_rings_vs_channels/input.kz:173:5
    |
173 |     | continue s => continue { s.sum, s.received }
    |     ^

error[PARSE003]: single continuation branch 'continue' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> { sum: u64, received: u64 }`
  --> tests/regression/400_RUNTIME_FEATURES/420_PERFORMANCE/420_006_rings_vs_channels/input.kz:187:1
    |
187 | ~tor yield-then-continue { sum: u64, received: u64 }
    | ^

Code

input.kz

Supporting Files

baseline.go
baseline.rs
baseline.zig
benchmark.sh
input_taps.kz

Flows

subflow ~consume-loop click a branch to expand · @labels scroll to their anchor
dequeue (ring)
flow ~create-ring click a branch to expand · @labels scroll to their anchor
create-ring

Test Configuration

THRESHOLD 1.10

Post-validation Script: