diff options
author | taca <taca> | 2015-03-13 13:27:33 +0000 |
---|---|---|
committer | taca <taca> | 2015-03-13 13:27:33 +0000 |
commit | f9f58813246453e7100f921869f4ecb4bf579ee0 (patch) | |
tree | ab8f4df67e3fc346505768775d3f94a8996ac356 /time | |
parent | 62d40d832790d7c0862a74963a5e67fdb6d18025 (diff) | |
download | pkgsrc-f9f58813246453e7100f921869f4ecb4bf579ee0.tar.gz |
Add ruby-hitimes package version 1.2.2.
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`.
Diffstat (limited to 'time')
-rw-r--r-- | time/ruby-hitimes/DESCR | 14 | ||||
-rw-r--r-- | time/ruby-hitimes/Makefile | 12 | ||||
-rw-r--r-- | time/ruby-hitimes/PLIST | 51 | ||||
-rw-r--r-- | time/ruby-hitimes/distinfo | 5 |
4 files changed, 82 insertions, 0 deletions
diff --git a/time/ruby-hitimes/DESCR b/time/ruby-hitimes/DESCR new file mode 100644 index 00000000000..78af84898fa --- /dev/null +++ b/time/ruby-hitimes/DESCR @@ -0,0 +1,14 @@ +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`. diff --git a/time/ruby-hitimes/Makefile b/time/ruby-hitimes/Makefile new file mode 100644 index 00000000000..68764552453 --- /dev/null +++ b/time/ruby-hitimes/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2015/03/13 13:27:33 taca Exp $ + +DISTNAME= hitimes-1.2.2 +CATEGORIES= time + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/copiousfreetime/hitimes +COMMENT= Fast, high resolution timer library +LICENSE= isc + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/time/ruby-hitimes/PLIST b/time/ruby-hitimes/PLIST new file mode 100644 index 00000000000..4844045edd3 --- /dev/null +++ b/time/ruby-hitimes/PLIST @@ -0,0 +1,51 @@ +@comment $NetBSD: PLIST,v 1.1 2015/03/13 13:27:33 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_EXTSDIR}/gem.build_complete +${GEM_EXTSDIR}/hitimes/${RUBY_MAJOR_MINOR}/hitimes.${RUBY_DLEXT} +${GEM_LIBDIR}/.travis.yml +${GEM_LIBDIR}/CONTRIBUTING.md +${GEM_LIBDIR}/HISTORY.md +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/Manifest.txt +${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/examples/benchmarks.rb +${GEM_LIBDIR}/examples/stats.rb +${GEM_LIBDIR}/ext/hitimes/c/extconf.rb +${GEM_LIBDIR}/ext/hitimes/c/hitimes.c +${GEM_LIBDIR}/ext/hitimes/c/hitimes_instant_clock_gettime.c +${GEM_LIBDIR}/ext/hitimes/c/hitimes_instant_osx.c +${GEM_LIBDIR}/ext/hitimes/c/hitimes_instant_windows.c +${GEM_LIBDIR}/ext/hitimes/c/hitimes_interval.c +${GEM_LIBDIR}/ext/hitimes/c/hitimes_interval.h +${GEM_LIBDIR}/ext/hitimes/c/hitimes_stats.c +${GEM_LIBDIR}/ext/hitimes/c/hitimes_stats.h +${GEM_LIBDIR}/ext/hitimes/java/src/hitimes/Hitimes.java +${GEM_LIBDIR}/ext/hitimes/java/src/hitimes/HitimesInterval.java +${GEM_LIBDIR}/ext/hitimes/java/src/hitimes/HitimesService.java +${GEM_LIBDIR}/ext/hitimes/java/src/hitimes/HitimesStats.java +${GEM_LIBDIR}/lib/hitimes.rb +${GEM_LIBDIR}/lib/hitimes/${RUBY_MAJOR_MINOR}/hitimes.${RUBY_DLEXT} +${GEM_LIBDIR}/lib/hitimes/metric.rb +${GEM_LIBDIR}/lib/hitimes/mutexed_stats.rb +${GEM_LIBDIR}/lib/hitimes/paths.rb +${GEM_LIBDIR}/lib/hitimes/stats.rb +${GEM_LIBDIR}/lib/hitimes/timed_metric.rb +${GEM_LIBDIR}/lib/hitimes/timed_value_metric.rb +${GEM_LIBDIR}/lib/hitimes/value_metric.rb +${GEM_LIBDIR}/lib/hitimes/version.rb +${GEM_LIBDIR}/spec/hitimes_spec.rb +${GEM_LIBDIR}/spec/interval_spec.rb +${GEM_LIBDIR}/spec/metric_spec.rb +${GEM_LIBDIR}/spec/mutex_stats_spec.rb +${GEM_LIBDIR}/spec/paths_spec.rb +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/spec/stats_spec.rb +${GEM_LIBDIR}/spec/timed_metric_spec.rb +${GEM_LIBDIR}/spec/timed_value_metric_spec.rb +${GEM_LIBDIR}/spec/value_metric_spec.rb +${GEM_LIBDIR}/spec/version_spec.rb +${GEM_LIBDIR}/tasks/default.rake +${GEM_LIBDIR}/tasks/extension.rake +${GEM_LIBDIR}/tasks/this.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/time/ruby-hitimes/distinfo b/time/ruby-hitimes/distinfo new file mode 100644 index 00000000000..7c12c03fb6d --- /dev/null +++ b/time/ruby-hitimes/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/03/13 13:27:33 taca Exp $ + +SHA1 (hitimes-1.2.2.gem) = 6210fa9ab035a02210ce7b4228e08fde9a08600f +RMD160 (hitimes-1.2.2.gem) = f73934c95ac70617182770a29ab96f3bcf51b8cb +Size (hitimes-1.2.2.gem) = 32256 bytes |