Skip to content
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

Added option to use Rust benchmark names with spaces #94

Merged
merged 2 commits into from
Dec 28, 2021
Merged

Added option to use Rust benchmark names with spaces #94

merged 2 commits into from
Dec 28, 2021

Conversation

Razican
Copy link
Contributor

@Razican Razican commented Dec 19, 2021

When using Criterion for Rust benchmarks, you can use any string as a benchmark name, but this action doesn't allow for this option. We have a repo with strings for these benchmark names, and we would need this feature.

@ktrz
Copy link
Member

ktrz commented Dec 21, 2021

Hi @Razican!

Thank you for your contribution! Could you please add a test case that would fail with the current regexp and is fixed by your change?

@ktrz
Copy link
Member

ktrz commented Dec 21, 2021

I'm glad though that you're going back to using this action :)

@Razican
Copy link
Contributor Author

Razican commented Dec 21, 2021

Hi @Razican!

Thank you for your contribution! Could you please add a test case that would fail with the current regexp and is fixed by your change?

Sure! Where would be the best place to put it?

@Razican
Copy link
Contributor Author

Razican commented Dec 21, 2021

I added some tests, but not sure if this is the correct place, or if something else is missing, let me know.

Copy link
Member

@ktrz ktrz left a comment

Choose a reason for hiding this comment

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

LGTM

@ktrz ktrz merged commit 558af0c into benchmark-action:master Dec 28, 2021
@ktrz
Copy link
Member

ktrz commented Dec 28, 2021

@Razican your change got released in v1.11.2

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