pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/ruby-hitimes Add ruby-hitimes package version 1.2.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88770740d1fb
branches:  trunk
changeset: 648194:88770740d1fb
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 13 13:27:33 2015 +0000

description:
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:

 time/ruby-hitimes/DESCR    |  14 ++++++++++++
 time/ruby-hitimes/Makefile |  12 ++++++++++
 time/ruby-hitimes/PLIST    |  51 ++++++++++++++++++++++++++++++++++++++++++++++
 time/ruby-hitimes/distinfo |   5 ++++
 4 files changed, 82 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r 6970e13a193b -r 88770740d1fb time/ruby-hitimes/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ruby-hitimes/DESCR   Fri Mar 13 13:27:33 2015 +0000
@@ -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 -r 6970e13a193b -r 88770740d1fb time/ruby-hitimes/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ruby-hitimes/Makefile        Fri Mar 13 13:27:33 2015 +0000
@@ -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@localhost
+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 -r 6970e13a193b -r 88770740d1fb time/ruby-hitimes/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ruby-hitimes/PLIST   Fri Mar 13 13:27:33 2015 +0000
@@ -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 -r 6970e13a193b -r 88770740d1fb time/ruby-hitimes/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ruby-hitimes/distinfo        Fri Mar 13 13:27:33 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index