# Hitimes 0.4.0 Released

**URL:** <https://www.ruby-forum.com/t/hitimes-0-4-0-released/156129>\
**Category:** Ruby\
**Created:** [December 21, 2008, 6:02am UTC](https://www.ruby-forum.com/t/hitimes-0-4-0-released/156129 "2008-12-21T06:02:44Z")\
**Posts on this page:** 1\
**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:** [December 21, 2008, 6:02am UTC](https://www.ruby-forum.com/t/hitimes-0-4-0-released/156129/1 "2008-12-21T06:02:44Z")

</div>

hitimes version 0.4.0 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(),  
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
