Skip to content

Expand documentation branding validation coverage - #1572

Merged
oferchen merged 1 commit into
masterfrom
prepare-production-release-and-optimize-code-m4ni9n
Oct 29, 2025
Merged

oferchen merged 1 commit into
masterfrom
prepare-production-release-and-optimize-code-m4ni9n

Conversation

@oferchen

@oferchen oferchen commented Oct 29, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • extend the cargo xtask docs --validate checks to cover all branding-sensitive markdown files via structured document requirements
  • ensure the resume note calls out both oc-rsync and oc-rsyncd so validation succeeds

Testing

  • cargo test -p xtask

@oferchen
oferchen merged commit 8156b90 into master Oct 29, 2025
@oferchen
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).
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant