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

Minor refactoring in benchmark runner #694

Merged
merged 12 commits into from
Aug 12, 2018
Merged

Conversation

pv
Copy link
Collaborator

@pv pv commented Aug 12, 2018

Various minor refactorings of the benchmark runner code paths, moving pieces of code to more appropriate locations.

pv added 11 commits August 12, 2018 17:25
The routine is somewhat more naturally written as a generator.
…decreasing

The printing of right-aligned "result" messages should be dealt with in
asv.console, so move it there.

Make Log.set_nitems ensure that the percentage number is non-decreasing,
even if the function is called several times. However, if 100% was
already reached, the count is restarted from zero.
…ted benchmarks

Follow-up to 9f060d5 (airspeed-velocitygh-593) for the skip_benchmarks() method.
The benchmark results have many properties, and it is clearer to
represent them with named attributes rather than free-form dicts.
@pv pv force-pushed the runner-refactor branch from e909b64 to 3bd5ac3 Compare August 12, 2018 17:57
@pv pv merged commit 62a6d03 into airspeed-velocity:master Aug 12, 2018
@pv pv deleted the runner-refactor branch August 19, 2018 20:07
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.

1 participant