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

Sampling each tag in the repo #1027

Open
jnoortheen opened this issue Feb 12, 2022 · 1 comment
Open

Sampling each tag in the repo #1027

jnoortheen opened this issue Feb 12, 2022 · 1 comment

Comments

@jnoortheen
Copy link

Is it possible to run the benchmark for each of published tag of a repo?

Currently I am using --steps to limit the number of commits it selects. It will be better if one can run against each of the tag.

@pelson
Copy link

pelson commented Aug 31, 2022

The special case code for ALL and NEW etc. is done in

elif range_spec == 'EXISTING':
.

There is no equivalent to TAGS by the looks of it.

Given the way repos are implemented, I think it could be as simple as adding:

elif range_specs == "TAGS":
    commit_hashes = list(repo.get_tags().keys())

This is completely untested, and I have no experience of this codebase, so YMMV.

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

No branches or pull requests

2 participants