Skip to content

Fix benchmark diff scraping for path-qualified markers#3609

Open
fallintoplace wants to merge 1 commit into
apple:mainfrom
fallintoplace:benchmark-diff-marker-scrape
Open

Fix benchmark diff scraping for path-qualified markers#3609
fallintoplace wants to merge 1 commit into
apple:mainfrom
fallintoplace:benchmark-diff-marker-scrape

Conversation

@fallintoplace

@fallintoplace fallintoplace commented May 26, 2026

Copy link
Copy Markdown

Motivation

scripts/check_benchmark_thresholds.sh started printing path-qualified diff markers in #3602 so multi-package benchmark runs can identify which package produced each diff.

dev/thresholds-from-benchmark-output.sh still scrapes the old exact marker line, which means local threshold updates from CI logs can miss the diff entirely once the new marker format appears.

Changes

Relax the scraper to match the stable === BEGIN DIFF prefix instead of the old exact line, preserving compatibility with both the original marker and the newer path-qualified form.

Validation

  • bash -n dev/thresholds-from-benchmark-output.sh
  • Verified the scrape pipeline against both === BEGIN DIFF === and === BEGIN DIFF (Benchmarks) === sample log lines

@fallintoplace fallintoplace marked this pull request as ready for review May 26, 2026 22:21
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