hitimes version 0.4.0 has been released.
gem install hitimes
http://copiousfreetime.rubyforge.org/hitimes/
Hitimes is a fast, high resolution timer library for recording
performance metrics. It uses the appropriate C method calls for each
system to get the highest granularity time increments possible.
It currently supports any system with the POSIX call clock_gettime(),
Mac OS X and Windows.
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
using Process.times.
{{ Release notes for Version 0.4.0 }}
- Added new stat ‘rate’
- Added new stat method to_hash
- Added MutexedStats class for threadsafe stats collection
- not needed when used in MRI 1.8.x
- remove stale dependency on mkrf
enjoy,
-jeremy