BSD Ports

time/ruby-hitimes 3.2.0 NetBSD

Fast, high resolution timer library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
isc
Categories
time, ruby
Package size
44.7 KiB, 146.0 KiB installed

Description

Hitimes is a fast, high resolution timer library for recording performance metrics. It uses the appropriate low method calls for each system to get the highest granularity time increments possible.

It currently supports any of the following systems:

* any system with the POSIX call `clock_gettime()` * Mac OS X * Windows * JRuby

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`.

Install

Binary package:

pkgin install ruby33-hitimes

From pkgsrc:

cd /usr/pkgsrc/time/ruby-hitimes && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-hitimes-3.2.0, ruby40-hitimes-3.2.0