# Hitimes 0.2.1 Released

**URL:** <https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739>\
**Category:** Ruby\
**Created:** [September 29, 2008, 7:50am UTC](https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739 "2008-09-29T07:50:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyheiler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Post date:** [September 29, 2008, 7:50am UTC](https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739/1 "2008-09-29T07:50:45Z")

</div>

hitimes version 0.2.1 has been released.

gem install hitimes

[http://copiousfreetime.rubyforge.org/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

---

<div class="post-metadata">

**Author:** ![jeremyheiler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Post date:** [October 7, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739/2 "2008-10-07T19:45:38Z")

</div>

> 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: [Garbage Collection is Why Ruby on Rails is Slow: Patches to Improve Performance 5x; Memory Profiling - Acunote Blog](http://blog.pluron.com/2008/01/ruby-on-rails-i.html)

---

<div class="post-metadata">

**Author:** ![jeremyheiler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Post date:** [October 7, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/hitimes-0-2-1-released/149739/3 "2008-10-07T20:40:07Z")

</div>

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

> ref: [Garbage Collection is Why Ruby on Rails is Slow: Patches to Improve Performance 5x; Memory Profiling - Acunote Blog](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
