Skip to content

chore: move benchmarks to benchmark/ and trim stale docs#3

Merged
russellromney merged 1 commit into
mainfrom
cleanup/benchmark-and-docs
Jun 22, 2026
Merged

chore: move benchmarks to benchmark/ and trim stale docs#3
russellromney merged 1 commit into
mainfrom
cleanup/benchmark-and-docs

Conversation

@russellromney

Copy link
Copy Markdown
Owner
  • Move benchmark scripts from scripts/ and root benchmark.sh into benchmark/.
  • Keep operational docs (BACKENDS.md, GITHUB_INTEGRATION.md, ARCHIVE_AB_RESULTS.md) and docs/examples/github-actions-trigger.yml; remove old spike/design docs and PRODUCT_PROPOSAL.md.
  • Move logo reference from docs/logo.png to assets/logo.png.
  • Combine README 'How it works' with the design rationale and remove duplicated Design section.
  • Remove adversarial-review mentions from ROADMAP.md.
  • Update CHANGELOG.md paths for moved benchmark scripts.

russellromney added a commit that referenced this pull request Jun 21, 2026
…2e matrix

#1 Incremental history reuse from Tigris + compaction
- Two-phase phase 2 now builds only the tail since the last sealed level and
  references prior levels by hash from object storage (never rebuilt); idx are
  assembled from local-or-Tigris. Steady-state re-sync ~ O(new commits).
- Seal every advancing tail (RIPCLONE_LSM_SEAL_BYTES default 1) so reuse kicks
  in for normal repos; size-tiered compaction (RIPCLONE_LSM_MAX_LEVELS default
  16) bounds the level/pack count. Shared seal_and_compact across single/two-phase.
- LSM is now the default path (RIPCLONE_LSM=0 to disable).

#2 Move the zstd archive off the depth=1 critical path
- Phase 1 builds only the cheap files table (build_files_table: paths/modes/
  blob-sha1, no frames) that editable depth=1 needs; the full zstd archive is
  built in phase 2 and attached to the full variant. Removes archive time from
  time-to-depth=1.

#3 Reachability bitmaps
- write_bitmap (git multi-pack-index write --bitmap), written once before the
  heavy full enumerations (phase 2 / single-phase, never the depth=1 path).
  Full rev-list enumerations pass --use-bitmap-index (safe no-op without one).

Robustness
- Lower /sync hold to 25s (RIPCLONE_SYNC_WAIT_SECS) so it returns 202 before
  edge/proxy request timeouts reset the connection.

Tests
- Comprehensive e2e matrix: a shared lifecycle battery (first sync, re-sync,
  multi-commit growth x depth=1/depth=0/files, fsck + usability) run across all
  six server build-path configs (single/two-phase x LSM on/off x async).
- e2e_compaction; two-phase files-mode test; tracing subscriber + richer
  poll-timeout diagnostics in the harness. 65 tests pass, clippy/fmt clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Move benchmark scripts from scripts/ and root benchmark.sh into benchmark/.
- Keep operational docs (BACKENDS.md, GITHUB_INTEGRATION.md, ARCHIVE_AB_RESULTS.md)
  and docs/examples/github-actions-trigger.yml; remove old spike/design docs and
  PRODUCT_PROPOSAL.md.
- Move logo reference from docs/logo.png to assets/logo.png.
- Combine README 'How it works' with the design rationale and remove duplicated
  Design section.
- Remove adversarial-review mentions from ROADMAP.md.
- Update CHANGELOG paths for moved benchmark scripts.
@russellromney russellromney force-pushed the cleanup/benchmark-and-docs branch from ce37773 to 3252256 Compare June 22, 2026 03:47
@russellromney russellromney merged commit bbee606 into main Jun 22, 2026
1 of 3 checks passed
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