./time/ruby-hitimes, Fast, high resolution timer library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.0, Package name: ruby32-hitimes-3.0.0, Maintainer: pkgsrc-users

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


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 18.5 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-12 18:22:24 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
time/ruby-hitimes: update to 3.0.0

3.0.0 (2024-05-01)

* Migrated to SemaphoreCI for doing full test runs on all active ruby
  versions.
* Remove the dependency on Process.clock_getres as it is unreliable.

* This has the effect of deprecating some Hitimes constants that had been
  documented as public. These are now removed as this is a major version
  update
	Hitimes::CLOCK_RESOLUTION_NANOSECONDS
	Hitimes::CLOCK_RESOLUTION_SECONDS
	Hitimes::INSTANT_CONVERSION_FACTOR
	Hitimes.clock_resolution_description
	Hitimes.clock_description
* Added Rubocop for some coding consistency
* Updated the supported ruby version to be 3.0 and up
* Updated all dependencies
* Changed how all the assert_delta style tests were done so they were not so
  flakey
* Hitimes will now emit a warn message if it ends up using CLOCK_REALTIME
* Hitimes will raise an exception if it cannot find a valid clock id. This
  is a bug and a message to file a report is in the exception
   2021-10-26 13:24:47 by Nia Alarie | Files touched by this commit (263)
Log message:
time: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 17:04:23 by Nia Alarie | Files touched by this commit (263)
Log message:
time: Remove SHA1 hashes for distfiles
   2020-03-22 10:38:31 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
time/ruby-hitimes: update to 2.0.0

Update ruby-hitimes to 2.0.0.
pkgsrc change: add "USE_LANGAUGES=	# none".

## Version 2.0.0 2019-09-23

* Remove the C and Java extensions as `Process.clock_gettime()` has the same
  resolution as what the extensions did.
* Update all depedencies and resolve deprecations
* Now usable on truffleruby
   2019-01-20 15:49:08 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
time/ruby-hitimes: update to 1.3.1

## Version 1.3.1 2019-01-18

* Update jruby extension to not use global runtime state (thanks @kares) (#70)
* Update travis CI config
* Update documentataion for Ruby 2.6
   2018-09-23 18:45:23 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
time/ruby-hitimes: update to 1.3.0

# Hitimes Changelog
## Version 1.3.0 2018-06-15

* Add api method `Hitimes.raw_instant` to expose raw OS instant value
* Add api constant `Hitimes::INSTANT_CONVERSION_FACTOR` to expose raw OS instant \ 
conversion factor
* other development cleanup tasks
   2017-09-10 18:12:20 by Takahiro Kambe | Files touched by this commit (2)
Log message:
Update ruby-hitimes to 1.2.6.

## Version 1.2.6 2017-08-04

* Resolve version number issue (#61) (thanks @anthraxx)
   2017-06-05 17:28:26 by Takahiro Kambe | Files touched by this commit (2)
Log message:
Update ruby-hitimes to 1.2.5.

## Version 1.2.5 2017-05-25

* Update dependencies
* Add ruby 2.4 to windows fatbinary
* Update docs to indicate windows ruby before 2.0 is no longer supported