Skip to content

ci: add focused PR benchmark labels - #9018

Open
connortsui20 wants to merge 1 commit into
developfrom
ct/benchmark-labels
Open

ci: add focused PR benchmark labels#9018
connortsui20 wants to merge 1 commit into
developfrom
ct/benchmark-labels

Conversation

@connortsui20

@connortsui20 connortsui20 commented Jul 27, 2026

Copy link
Copy Markdown
Member

Adds four mutually exclusive PR benchmark triggers:

  • action/bench-ra
  • action/bench-compress
  • action/bench-sql (no Vortex Compact)
  • action/bench-sql-compact (only Vortex Compact)

TODO after merge: delete the legacy action/benchmark* labels, which remain temporarily for the current develop dispatcher.

@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch from 89eebfa to 77a7e5d Compare July 27, 2026 16:42
@connortsui20
connortsui20 requested review from AdamGS and myrrc July 27, 2026 17:39
@connortsui20

Copy link
Copy Markdown
Member Author

note that we probably dont want all of these labels, but I feel like a bit more than what we have on develop now would be nice?

@connortsui20

Copy link
Copy Markdown
Member Author

actually Im going to make them all disjoint, lets see how that works

@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch from 77a7e5d to 9cbc6da Compare July 27, 2026 17:49
Base automatically changed from ct/declarative-bench to develop July 27, 2026 18:00
@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch 2 times, most recently from 2d3d02c to c5173aa Compare July 27, 2026 18:06
@connortsui20
connortsui20 marked this pull request as ready for review July 27, 2026 18:36
@connortsui20
connortsui20 requested a review from onursatici July 27, 2026 18:37
@codspeed-hq

codspeed-hq Bot commented Jul 27, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 16.9%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 1 improved benchmark
✅ 1891 untouched benchmarks
⏩ 3 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime cuda/bitpacked_u8/unpack/3bw[100M] 350.6 µs 299.9 µs +16.9%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ct/benchmark-labels (e332145) with develop (6609288)

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@myrrc

myrrc commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Let's use bench-random-access, ra isn't straight obvious

@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch from c5173aa to 0b4eb99 Compare July 28, 2026 14:01
@connortsui20
connortsui20 requested a review from myrrc July 28, 2026 14:03
@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch from 0b4eb99 to dac3fb7 Compare July 28, 2026 14:34
@connortsui20
connortsui20 requested review from 0ax1 and removed request for onursatici July 28, 2026 14:34

@0ax1 0ax1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of q's

# v4 (Postgres) ingest -- REQUIRED (see develop-bench.yml rationale). Empty records:
# post-ingest.py --postgres upserts the commit row only. Gated on the
# ingest-role ARN var (the assume-role input that MUST exist for OIDC to
# succeed).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably need a action/bench-gpu-compress label for GPU compress?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I am going to run this once this merges:

gh label edit "action/benchmark-gpu-compress" --name "action/bench-gpu-compress" \
  --description "Run only the GPU compression benchmark on this PR"
gh label delete action/benchmark --yes
gh label delete action/benchmark-sql --yes
gh label delete action/benchmark-sql-full --yes

iterations=10,
runs={
"pr": DEFAULT,
"pr-compact": COMPACT,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pr and pr-compact SQL runs overwrite each other's PR comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

"pr-compact": COMPACT,
"pr-full": FULL_PR,
"develop": FULL_LOCAL,
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any label reaching pr full?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no since I think we should just keep everything disjoint, if someone wants to run more benchmarks I think they should just add all 4 (or 5 for gpu) labels.

@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch 2 times, most recently from 4bbe37b to fb5f8aa Compare July 28, 2026 15:29
cat comment.md >> "$GITHUB_STEP_SUMMARY"
- name: Comment PR
if: github.event.pull_request.head.repo.fork == false
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is a qol change

@connortsui20
connortsui20 requested a review from 0ax1 July 28, 2026 15:31
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20
connortsui20 force-pushed the ct/benchmark-labels branch from fb5f8aa to e332145 Compare July 28, 2026 16:45
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.

3 participants