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

bench: use std::chrono rather than gettimeofday #11562

Merged
merged 2 commits into from Nov 8, 2017

Commits on Nov 7, 2017

  1. bench: switch to std::chrono for time measurements

    std::chrono removes portability issues.
    
    Rather than storing doubles, store the untouched time_points. Then
    convert to nanoseconds for display. This allows for maximum precision, while
    keeping results comparable between differing hardware/operating systems.
    
    Also, display full nanosecond counts rather than sub-second floats.
    theuni committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    c515d26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24a0bdd View commit details
    Browse the repository at this point in the history