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 mean iteration time to Benchmark.ips #3483

Merged
merged 2 commits into from
Oct 30, 2016

Conversation

RX14
Copy link
Member

@RX14 RX14 commented Oct 29, 2016

Adds mean time per iteration to the output of Benchmark.ips. I find this metric quite useful in addition to iterations per second because it's an easier metric to compare to values like network roundtrip times and disk seeks.

Also cleans up Benchmark::IPS::Entry#human_mean, and fixes output with iteration times greater than 10 seconds (log10(mean) < -1)

RX14 added 2 commits October 29, 2016 17:18

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Also cleans up the code to be more readable by using variable
assignment instead of yielding a tuple.
@RX14 RX14 changed the title Feature/ips iteration time Add mean iteration time to Benchmark.ips Oct 29, 2016
@RX14
Copy link
Member Author

RX14 commented Oct 29, 2016

Not sure what happened to the 32bit build...

@asterite
Copy link
Member

Looks nice and useful, thank you! ❤️

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