Hitimes 0.2.1 Released

hitimes version 0.2.1 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() and
OSX.
Windows is in the works.

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.2.1 }}

  • added Timer#rate method
  • switched to darkfish rdoc

enjoy,

-jeremy

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.

Might be nice to make a plugin for rails such that it augments
Benchmark.realtime and Benchmark.measure with your amazing library [as a
dropin speedup].
Thanks for the lib!
-=R
ref: http://blog.pluron.com/2008/01/ruby-on-rails-i.html

On Wed, Oct 08, 2008 at 02:43:39AM +0900, Roger P. wrote:

ref: http://blog.pluron.com/2008/01/ruby-on-rails-i.html
Good idea, but first things first, need to get it working on Windows.

enjoy,

-jeremy