Skip to content

ci: allow the benchmark job to run on workflow_dispatch#625

Merged
BryanFRD merged 1 commit into
mainfrom
ci/benchmark-workflow-dispatch
Jun 28, 2026
Merged

ci: allow the benchmark job to run on workflow_dispatch#625
BryanFRD merged 1 commit into
mainfrom
ci/benchmark-workflow-dispatch

Conversation

@BryanFRD

Copy link
Copy Markdown
Contributor

The competitive benchmark job only runs on push-to-main, so it can't be triggered on demand — re-running the job via gh run rerun doesn't regenerate the baseline. Allow it on workflow_dispatch too (the test dependency already runs on that event).

Lets us refresh the bench manually (e.g. to validate a Benchmarks-action change like the published-binary size measurement) without an unrelated push.

Closes #624

@BryanFRD BryanFRD enabled auto-merge (squash) June 28, 2026 12:24
@BryanFRD BryanFRD merged commit 27cb061 into main Jun 28, 2026
39 checks passed
@BryanFRD BryanFRD deleted the ci/benchmark-workflow-dispatch branch June 28, 2026 12:27

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Benchmark

Details
Benchmark suite Current: c86889f Previous: 0b5fe57 Ratio
commit_parsing/100 17665 ns/iter (± 165) 17091 ns/iter (± 38) 1.03
commit_parsing/1000 179096 ns/iter (± 630) 174058 ns/iter (± 2250) 1.03
commit_parsing/10000 1807982 ns/iter (± 5458) 1809492 ns/iter (± 18830) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

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.

ci: benchmark job cannot be triggered manually (workflow_dispatch ignored)

1 participant