2015-03-13 14:27:33 +01:00
|
|
|
Hitimes is a fast, high resolution timer library for recording
|
|
|
|
performance metrics. It uses the appropriate low method calls for each
|
2016-09-19 01:47:13 +02:00
|
|
|
system to get the highest granularity time increments possible.
|
2015-03-13 14:27:33 +01:00
|
|
|
|
|
|
|
It currently supports any of the following systems:
|
|
|
|
|
|
|
|
* any system with the POSIX call `clock_gettime()`
|
|
|
|
* Mac OS X
|
|
|
|
* Windows
|
|
|
|
* JRuby
|
|
|
|
|
|
|
|
Using Hitimes can be faster than using a series of `Time.new` calls, and
|
|
|
|
it will have a much higher granularity. It is definitely faster than
|
2016-09-19 01:47:13 +02:00
|
|
|
using `Process.times`.
|