Skip to content

test(xtask): time clone, push and pull against git - #136

Open
PiquelChips wants to merge 1 commit into
feat/sync-remote-landingfrom
feat/sync-bench-git
Open

PiquelChips wants to merge 1 commit into
feat/sync-remote-landingfrom
feat/sync-bench-git

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

just bench-git only timed local operations against git. It now also times syncing.

  • Origin serves over HTTP on localhost; git uses its pack protocol on a local bare repository, which spares it the network stack.
  • It times a clone of the tree, a push of 100 edited files, and a pull of 100 landed ones.
  • The scenarios move into a Bench that holds the working copies and the report.
  • origin serve reads a configuration file in the current directory relative to ..

Review fixes: bench-git keeps the clone's metadata when it populates it from a tree, and kills a server that fails to start.

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: 70d59071-a857-4bc1-a99c-6f1da3015475
Commits

Reviewing files that changed from the base of the PR and between 1ad5196 and 53bde0d.

Files selected for processing: 2

  • apps/origin-src/src/server.rs
  • tools/xtask/src/main.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

@PiquelChips
PiquelChips added this pull request to stack #165 November 22, 2026 14:59
@PiquelChips
PiquelChips force-pushed the feat/sync-bench-git branch 2 times, most recently from 147bfe8 to 392bf98 Compare November 22, 2026 16:40
`just bench-git` now also times syncing: origin serves over HTTP on
localhost, and git uses its pack protocol on a local bare repository,
which spares it the network stack. It times a clone of the tree, a push
of 100 edited files, and a pull of 100 landed ones. The scenarios move
into a `Bench` that holds the working copies and the report, and a
server that fails to start is killed. Populating a clone from a tree
keeps the clone's own metadata.

`origin serve` and `repo create` read a configuration file in the
current directory, whose parent is empty, relative to `.`.
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