Skip to content

cleanup: delete cmd/bench.sh, repoint Serf bench docs - #364

Merged
zzylol merged 1 commit into
mainfrom
cleanup/delete-bench-sh
May 9, 2026
Merged

zzylol merged 1 commit into
mainfrom
cleanup/delete-bench-sh

Conversation

@zzylol

@zzylol zzylol commented May 9, 2026

Copy link
Copy Markdown
Contributor

Summary

After cleanup PR #363 deleted the per-sketch / per-collector cmd dirs (countminsketchcol, ddsketchcol, hllcol, serfcol, gorillacol, etc.), only kll* branches in cmd/bench.sh had functioning build targets — 23 of 28 case branches pointed at deleted directories. Drop the 922-line harness entirely; route bandwidth/CPU/throughput measurements through the MVP demo's measure_stages.py + measure_per_edge_bandwidth.py (which work against the unified asap-otel build).

3 files, +12 / −961.

  • Deleted opentelemetry-collector-contrib-patch/cmd/bench.sh
  • docs/serf-compression-architecture.md: replaced "Benchmark targets" section (11 dead bench.sh invocations) with a brief note pointing at the live serfprocessor + MVP measurement scripts
  • opentelemetry-app/README.md: removed dangling "Running via bench.sh" subsection

Test plan

  • No code paths depend on bench.sh; all callers were docs/READMEs (verified via grep)
  • serfprocessor itself remains in patched contrib tree and registered in cmd/asap-otel/builder-config.yaml

🤖 Generated with Claude Code

After cleanup PR #363 deleted the per-sketch / per-collector cmd dirs
(`countminsketchcol`, `ddsketchcol`, `hllcol`, `serfcol`, `gorillacol`,
etc.), only the `kll*` branches in `cmd/bench.sh` had functioning build
targets — 23 of 28 case branches pointed at deleted directories. Rather
than trim to a kll-only stub of a 922-line script, drop the harness
entirely and route bandwidth/CPU/throughput measurements through the
MVP demo's `measure_stages.py` + `measure_per_edge_bandwidth.py` (which
work against the unified `asap-otel` build).

The Serf compression architecture doc had a "Benchmark targets" section
listing 11 deleted bench.sh invocations; replaced with a brief note
explaining the harness was removed and pointing at the live processor
(`serfprocessor` is still in the patched contrib tree) plus the MVP
measurement scripts. The opentelemetry-app README's "Running via
bench.sh" subsection was a single dangling pointer; removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit 004fb88 into main May 9, 2026
@zzylol
zzylol deleted the cleanup/delete-bench-sh branch May 9, 2026 18:32
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