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_info.author_time #75

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

varac
Copy link
Contributor

@varac varac commented Apr 6, 2017

With git, there are different times recorded per commit, one
CommitDate and AuthorDate.
They can differ quite a lot when commits get rebased and merged from
branches i.e. So we include both times.
Mercurial doesn't differentiate in this afaik, which leads to an
empty commit_info.author_time.

With git, there are different times recorded per commit, one
`CommitDate` and `AuthorDate`.
They can differ quite a lot when commits get rebased and merged from
branches i.e. So we include both times.
Mercurial doesn't differentiate in this afaik, which leads to an
empty `commit_info.author_time`.
@ionelmc
Copy link
Owner

ionelmc commented Apr 6, 2017

Now I wonder is this isn't better done in a hook, eg: http://pytest-benchmark.readthedocs.io/en/stable/hooks.html#pytest_benchmark.hookspec.pytest_benchmark_update_commit_info

What do you need all this time info for anyway?

@varac
Copy link
Contributor Author

varac commented Apr 6, 2017

We want to graph the benchmark grouped by commit, sorted by the commit/author time in the graph.
I think this is of generel purpose, but if you don't think so we can surely use a hook for that.

@ionelmc ionelmc merged commit 77106eb into ionelmc:master Apr 10, 2017
leap-code-o-matic pushed a commit to leapcode/soledad that referenced this pull request Apr 20, 2017
There were some changes needed in pytest-benchmark so we could
successfully use it for soledad benchmarks graphing:

ionelmc/pytest-benchmark#73
ionelmc/pytest-benchmark#74
ionelmc/pytest-benchmark#75

The contributions were accepted but not released yet, so this commit
uses the code from upstream git repository's master branch.
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.

None yet

2 participants