Skip to content

test(queue): benchmark landings, and a target landing another - #98

Open
PiquelChips wants to merge 1 commit into
feat/land-pendingfrom
feat/land-bench
Open

PiquelChips wants to merge 1 commit into
feat/land-pendingfrom
feat/land-bench

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

Every change on a busy target goes through the landing queue, one at a time, so landing is a hot path. These divan benchmarks measure it on a real disk, where syncs are most of the cost.

Time
Landing on the tip 15.7 ms
Rebased landing 24.7 ms
Target onto target, 2,000 acceptances of history 40 ms

A landing checked against a requirement, with its evidence promoted, is timed too. Throughput is about 41 landings per second whatever the number of proposers, because landings on a target are serialized. Batching comes later.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 92861dfc-beda-49f8-8b0e-9064ce58ae6a
Commits

Reviewing files that changed from the base of the PR and between 4c854f1 and 5b46673.

Files selected for processing: 3

  • AGENTS.md
  • apps/origin-src/Cargo.toml
  • apps/origin-src/benches/land.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Landing is a hot path: every change on a busy target goes through the
queue, one at a time. These divan benchmarks measure it on a real disk,
where syncs are most of the cost.

They time one landing made on the target's tip, one the queue rebases,
one checked against a requirement with its evidence promoted, a target
landing another after 2,000 acceptances of history, and the throughput
of several proposers landing different changes on one target at once,
each through its own `Queue`, as processes do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant