Repository navigation
Expand documentation branding validation coverage - #1572
Merged
oferchen merged 1 commit intoOct 29, 2025
Merged
Conversation
oferchen
deleted the
prepare-production-release-and-optimize-code-m4ni9n
branch
October 29, 2025 19:47
oferchen
added a commit
that referenced
this pull request
May 7, 2026
Adds a hypothesis-falsifying benchmark plan that gates whether the gated `multi-producer` cargo feature graduates or is dropped. Documents the crossbeam-channel MP semantics, the SP baseline at crates/engine/src/concurrent_delta/work_queue/, the proposed criterion matrix (1/2/4/8 producers x 1/4/8/16 consumers x 10K/100K/1M items), and the per-message overhead targets and decision criteria.
oferchen
added a commit
that referenced
this pull request
May 7, 2026
…1572) (#3942) Specifies a criterion microbench that compares 1 producer feeding 100K items against 4 producers feeding 25K each through pipeline::spsc. Measures consumer throughput and sender p99 latency, sets a 15% overhead ceiling, and supplies a decision matrix for the #1404 Clone feature flag (promote, keep opt-in, or mark experimental).
This was referenced May 16, 2026
oferchen
added a commit
that referenced
this pull request
May 17, 2026
…1572) (#4209) Adds `crates/engine/benches/sp_vs_mp_workqueue.rs` with two Criterion groups that both move 100K items through the concurrent delta work queue: - `sp/1p/100k`: one producer thread pushes 100K pre-allocated DeltaWork items via the default-build `Send + !Clone` WorkQueueSender path. - `mp/4p/100k`: four producer threads each push 25K pre-allocated items via the gated `Clone` impl on WorkQueueSender. Compiled only when `--features multi-producer` is set. Both groups report `Throughput::Elements(100_000)` so items/sec figures compare directly regardless of how the work is split. Inputs are pre-allocated outside the timed section via `iter_batched`, matching the discipline used by the parallel_dispatch_overhead bench. The MP group is feature-gated behind the engine crate's existing `multi-producer` feature - no Cargo.toml dependency change is required; the gate already exists at `crates/engine/Cargo.toml:91`. The top-of- file documentation cross-references the audit at `docs/audits/workqueue-sender-multi-producer-audit.md` (PR #4173), #4203 sync_channel bench, and #4206 parallel_dispatch_overhead bench, and spells out the decision criteria (>=15% SP-vs-MP delta) that this bench informs.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Adds a hypothesis-falsifying benchmark plan that gates whether the gated `multi-producer` cargo feature graduates or is dropped. Documents the crossbeam-channel MP semantics, the SP baseline at crates/engine/src/concurrent_delta/work_queue/, the proposed criterion matrix (1/2/4/8 producers x 1/4/8/16 consumers x 10K/100K/1M items), and the per-message overhead targets and decision criteria.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1572) (#3942) Specifies a criterion microbench that compares 1 producer feeding 100K items against 4 producers feeding 25K each through pipeline::spsc. Measures consumer throughput and sender p99 latency, sets a 15% overhead ceiling, and supplies a decision matrix for the #1404 Clone feature flag (promote, keep opt-in, or mark experimental).
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1572) (#4209) Adds `crates/engine/benches/sp_vs_mp_workqueue.rs` with two Criterion groups that both move 100K items through the concurrent delta work queue: - `sp/1p/100k`: one producer thread pushes 100K pre-allocated DeltaWork items via the default-build `Send + !Clone` WorkQueueSender path. - `mp/4p/100k`: four producer threads each push 25K pre-allocated items via the gated `Clone` impl on WorkQueueSender. Compiled only when `--features multi-producer` is set. Both groups report `Throughput::Elements(100_000)` so items/sec figures compare directly regardless of how the work is split. Inputs are pre-allocated outside the timed section via `iter_batched`, matching the discipline used by the parallel_dispatch_overhead bench. The MP group is feature-gated behind the engine crate's existing `multi-producer` feature - no Cargo.toml dependency change is required; the gate already exists at `crates/engine/Cargo.toml:91`. The top-of- file documentation cross-references the audit at `docs/audits/workqueue-sender-multi-producer-audit.md` (PR #4173), #4203 sync_channel bench, and #4206 parallel_dispatch_overhead bench, and spells out the decision criteria (>=15% SP-vs-MP delta) that this bench informs.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1572) (#4209) Adds `crates/engine/benches/sp_vs_mp_workqueue.rs` with two Criterion groups that both move 100K items through the concurrent delta work queue: - `sp/1p/100k`: one producer thread pushes 100K pre-allocated DeltaWork items via the default-build `Send + !Clone` WorkQueueSender path. - `mp/4p/100k`: four producer threads each push 25K pre-allocated items via the gated `Clone` impl on WorkQueueSender. Compiled only when `--features multi-producer` is set. Both groups report `Throughput::Elements(100_000)` so items/sec figures compare directly regardless of how the work is split. Inputs are pre-allocated outside the timed section via `iter_batched`, matching the discipline used by the parallel_dispatch_overhead bench. The MP group is feature-gated behind the engine crate's existing `multi-producer` feature - no Cargo.toml dependency change is required; the gate already exists at `crates/engine/Cargo.toml:91`. The top-of- file documentation cross-references the audit at `docs/audits/workqueue-sender-multi-producer-audit.md` (PR #4173), #4203 sync_channel bench, and #4206 parallel_dispatch_overhead bench, and spells out the decision criteria (>=15% SP-vs-MP delta) that this bench informs.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Adds a hypothesis-falsifying benchmark plan that gates whether the gated `multi-producer` cargo feature graduates or is dropped. Documents the crossbeam-channel MP semantics, the SP baseline at crates/engine/src/concurrent_delta/work_queue/, the proposed criterion matrix (1/2/4/8 producers x 1/4/8/16 consumers x 10K/100K/1M items), and the per-message overhead targets and decision criteria.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…1572) (#4209) Adds `crates/engine/benches/sp_vs_mp_workqueue.rs` with two Criterion groups that both move 100K items through the concurrent delta work queue: - `sp/1p/100k`: one producer thread pushes 100K pre-allocated DeltaWork items via the default-build `Send + !Clone` WorkQueueSender path. - `mp/4p/100k`: four producer threads each push 25K pre-allocated items via the gated `Clone` impl on WorkQueueSender. Compiled only when `--features multi-producer` is set. Both groups report `Throughput::Elements(100_000)` so items/sec figures compare directly regardless of how the work is split. Inputs are pre-allocated outside the timed section via `iter_batched`, matching the discipline used by the parallel_dispatch_overhead bench. The MP group is feature-gated behind the engine crate's existing `multi-producer` feature - no Cargo.toml dependency change is required; the gate already exists at `crates/engine/Cargo.toml:91`. The top-of- file documentation cross-references the audit at `docs/audits/workqueue-sender-multi-producer-audit.md` (PR #4173), #4203 sync_channel bench, and #4206 parallel_dispatch_overhead bench, and spells out the decision criteria (>=15% SP-vs-MP delta) that this bench informs.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…1572) (#3942) Specifies a criterion microbench that compares 1 producer feeding 100K items against 4 producers feeding 25K each through pipeline::spsc. Measures consumer throughput and sender p99 latency, sets a 15% overhead ceiling, and supplies a decision matrix for the #1404 Clone feature flag (promote, keep opt-in, or mark experimental).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cargo xtask docs --validatechecks to cover all branding-sensitive markdown files via structured document requirementsTesting