briandfoy / dumbbench

More reliable benchmarking without thinking
https://metacpan.org/pod/Dumbbench
Other
5 stars 4 forks source link

use clock_gettime(CLOCK_MONOTONIC) instead of time() #11

Closed xenu closed 2 years ago

xenu commented 2 years ago

CLOCK_MONOTONIC is more suitable for measuring elapsed time. Its main advantage is that it can't go backwards.

briandfoy commented 2 years ago

Released as 0.503. Thanks,