Skip to content

feat(benchmark): shaped bandwidth sweep harness, results, and README updates#66

Open
russellromney wants to merge 2 commits into
mainfrom
perf/ref-cache-files-mode-tuning
Open

feat(benchmark): shaped bandwidth sweep harness, results, and README updates#66
russellromney wants to merge 2 commits into
mainfrom
perf/ref-cache-files-mode-tuning

Conversation

@russellromney

Copy link
Copy Markdown
Owner

This PR adds the shaped-network benchmark harness and the resulting data.

What changed

  • Added benchmark/fly_shaped_benchmark.sh and benchmark/run_shaped_sweep.sh to run ripclone vs native git clone across shaped links from 50–1000 Mbps.
  • Added benchmark/plot_ratios.py and the generated benchmark/shaped_ratios.png.
  • Updated README.md Performance section with results for oven-sh/bun, pandas-dev/pandas, and torvalds/linux (1000 Mbps only).
  • Fixed files mode to request the full clonepack (archive chunks) instead of the shallow variant.
  • Updated Fly dev machine configs to keep the server/client warm during long sweeps and installed missing shaping tools in Dockerfile.client.

Linux 1000 Mbps confirmation

mode ripclone git speedup
full 84.3 s 462.9 s 5.5×
depth=1 4.4 s 33.5 s 7.6×
files 3.0 s 33.5 s 11.2×

Closes the shaped-benchmark work.

…updates

Add fly_shaped_benchmark.sh and run_shaped_sweep.sh to measure ripclone
vs git clone across shaped network links (50-1000 Mbps). Include a
plotting script and generated ratio graph. Update the README Performance
section with results for oven-sh/bun, pandas-dev/pandas, and
torvalds/linux (1000 Mbps only). Fix files mode to request the full
clonepack. Update Fly dev machine configs to keep machines warm during
long benchmark sweeps.
- Add SHAPED=0 support to fly_shaped_benchmark.sh / run_shaped_sweep.sh so
the same harness can do both shaped-bandwidth and warm-cache unshaped runs.
- Delete legacy/superseded scripts: benchmark/baseline.sh,
benchmark/remote.sh, scripts/benchmark_clone_compare.sh,
scripts/benchmark_fly_client.sh.
- Rewrite benchmark/README.md around the new canonical harness.
- Update BENCHMARKS.md to point to benchmark/run_shaped_sweep.sh.
- Add a mode-label note in README.md.
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