Forum: Ruby hitimes 0.4.0 Released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jeremy H. (Guest)
on 2008-12-21 07:02
(Received via mailing list)
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
This topic is locked and can not be replied to.