Skip to content

Add support for manually running the real-time benchmark on PRs #19265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kocsismate
Copy link
Member

I couldn't yet test it...

@kocsismate kocsismate requested a review from TimWolla as a code owner July 27, 2025 13:23
@kocsismate kocsismate force-pushed the benchmark-manual-workflow branch from 3de527f to a233037 Compare July 27, 2025 17:39
@kocsismate kocsismate changed the title Add support for manually runnung the real-time benchmark on PRs Add support for manually running the real-time benchmark on PRs Jul 28, 2025
@kocsismate kocsismate force-pushed the benchmark-manual-workflow branch from a233037 to 64751de Compare July 29, 2025 06:12
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

I'm not currently using this benchmark but if the workflow works well for direct comparisons that seems useful!

required: true
type: string
commit:
description: 'Commit SHA that is going to be benchmarked (e.g. "123456789a")'
Copy link
Member

Choose a reason for hiding this comment

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

Why not just use ref and baseline_ref? This can be either a branch, tag, commit, etc.

runs-on: ubuntu-22.04
env:
REPOSITORY: ${{ inputs.repository || 'php/php-src' }}
Copy link
Member

Choose a reason for hiding this comment

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

These fallbacks seem useless if all inputs are required?

fetch-depth: 100
path: 'php-version-benchmarks/tmp/php_master'
path: 'php-version-benchmarks/tmp/php_${{ env.BRANCH }}'
Copy link
Member

Choose a reason for hiding this comment

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

Could probably drop the dynamic path suffix _${{ env.BRANCH }} here.

@kocsismate kocsismate marked this pull request as draft July 29, 2025 10:13
@kocsismate
Copy link
Member Author

@iluuu1994 Thanks for looking into it! I have managed to start testing the manual workflow on my own repo. I implemented some fixes there, but unfortunately a separate issue (github rate limit) blocks it from finishing successfully, so I have to take care of this problem first. Afterwards, I'll update this PR :)

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.

2 participants