Skip to content

Allow Criterion group separator in name #14

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

Merged
merged 5 commits into from
May 26, 2025
Merged

Conversation

wysiwys
Copy link
Collaborator

@wysiwys wysiwys commented May 26, 2025

This PR makes a small improvement to the benchmark name format that is accepted by this action. Specifically, this PR adapts the format parsing to allow for one / separator between the key=value entries in the name, to indicate which keys correspond to a Criterion group, and therefore to match the output format of Criterion benchmarks that are built using groups.

The PR also adds test cases and data for this new functionality.

This PR also includes a bugfix for the release script, which avoids git rm -rf returning an error when node_modules have not been added to a branch yet.

@wysiwys wysiwys requested a review from keks May 26, 2025 10:24
@wysiwys wysiwys self-assigned this May 26, 2025
Copy link
Member

@keks keks left a comment

Choose a reason for hiding this comment

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

I think this looks good, let's get this in!

@wysiwys wysiwys merged commit 9b76dbf into main May 26, 2025
5 checks passed
@wysiwys wysiwys deleted the wysiwys/group-separator branch May 26, 2025 10:29
wysiwys added a commit that referenced this pull request May 26, 2025
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