Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] hitimes 0.2.1 Released
Jeremy Hinegardner
9/29/2008 5:24:00 AM
hitimes version 0.2.1 has been released.
gem install hitimes
http://copiousfreetime.rubyforge.or...
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
--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org
2 Answers
Roger Pack
10/7/2008 5:44:00 PM
0
> 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-ra...
--
Posted via
http://www.ruby-...
.
Jeremy Hinegardner
10/7/2008 6:37:00 PM
0
On Wed, Oct 08, 2008 at 02:43:39AM +0900, Roger Pack wrote:
> > 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-ra...
Good idea, but first things first, need to get it working on Windows.
enjoy,
-jeremy
--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] hitimes 0.2.1 Released
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password