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

Loosen nanosecond resolution restriction #12

Closed
wants to merge 2 commits into from
Closed

Conversation

jrevels
Copy link
Member

@jrevels jrevels commented Jun 18, 2016

Resolves #7. While resolution is now generally unrestricted, I enforce a minimum measurable time of one picosecond to prevent erroneous negative timings that might arise from inaccuracy in the estimate_overhead() feature (which is still disabled by default).

This breaks JLD deserialization of the Trial and Parameters types, so I've provided a loadold function that uses JLD.readas/JLD.translate to allow deserialization of old data. Is there a better way to automatically do the conversion that doesn't require the explicit use of this extra method? If not, I'll have to do a reformatting sweep on the data in BaseBenchmarkReports once the new version of BenchmarkTools lands on the nanosoldier. EDIT: I've decided to hold off on merging this until #15 is resolved.

I intend to tag a new version of BenchmarkTools after this is merged, thus the reference to v0.0.3 in the addition to the README.

@coveralls
Copy link

coveralls commented Jun 23, 2016

Coverage Status

Coverage increased (+0.8%) to 73.931% when pulling 54b095c on jr/resolution into 17deccf on master.

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.

Better time resolution for cheap functions
2 participants