[ANN] hitimes 0.2.1 Released

J

Jeremy Hinegardner

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
 
J

Jeremy Hinegardner

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

Good idea, but first things first, need to get it working on Windows.

enjoy,

-jeremy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top