Skip to content

perf: add 1GB file benchmark with phase breakdown - #3018

Merged
oferchen merged 1 commit into
masterfrom
perf/1gb-file-benchmark
Mar 23, 2026
Merged

oferchen merged 1 commit into
masterfrom
perf/1gb-file-benchmark

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add scripts/benchmark_1gb.sh that benchmarks a single 1GB pseudo-random file across three phases: initial sync, no-change sync, and delta sync (1% scattered modifications)
  • Compares oc-rsync vs upstream rsync with wall-clock time, throughput (MB/s), and peak RSS for each phase
  • Reports median of N runs (default 3) with a comparison table at the end

Test plan

  • Run ./scripts/benchmark_1gb.sh on Linux with both binaries available
  • Run on macOS to verify /usr/bin/time -l RSS extraction works
  • Verify delta patching creates ~10MB of scattered changes across the 1GB file
  • Confirm cleanup trap removes temp directory on exit

Benchmark script that compares oc-rsync vs upstream rsync on a single
1GB file across three phases: initial sync, no-change sync, and delta
sync (1% scattered modifications). Reports wall-clock time, throughput
(MB/s), and peak RSS for each phase with median-of-N runs.
@oferchen
oferchen merged commit 04f0f0d into master Mar 23, 2026
11 checks passed
@oferchen
oferchen deleted the perf/1gb-file-benchmark branch March 23, 2026 17:59
oferchen added a commit that referenced this pull request May 1, 2026
Benchmark script that compares oc-rsync vs upstream rsync on a single
1GB file across three phases: initial sync, no-change sync, and delta
sync (1% scattered modifications). Reports wall-clock time, throughput
(MB/s), and peak RSS for each phase with median-of-N runs.
oferchen added a commit that referenced this pull request May 5, 2026
Benchmark script that compares oc-rsync vs upstream rsync on a single
1GB file across three phases: initial sync, no-change sync, and delta
sync (1% scattered modifications). Reports wall-clock time, throughput
(MB/s), and peak RSS for each phase with median-of-N runs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant