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

add --commit-label option #1

Closed
wants to merge 3 commits into from
Closed

add --commit-label option #1

wants to merge 3 commits into from

Conversation

jeremiedbb
Copy link
Owner

@jeremiedbb jeremiedbb commented Feb 19, 2019

goal: save results when benchmarking against existing environment.

Add a --commit-label option to the run command. If provided, will save the result using it as if it were the commit hash (although can be anything).

ping @pierreglaser

asv/repo.py Outdated
if hash is None:
return datetime.datetime.now()
self._raise_error()
return datetime.datetime.now().isoformat()
Copy link
Owner Author

Choose a reason for hiding this comment

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

don't know what's that for, but for the benchmarks to be saved it has to be json compliant.

Choose a reason for hiding this comment

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

asv publish plots usually use commit time as an x-axis.

@jeremiedbb
Copy link
Owner Author

will probably have to add a test

@jeremiedbb jeremiedbb closed this Feb 20, 2019
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