This gem helps you to measure elapsed time the right way - using monotonic clock.
Evgeny Garlukovich
MIT