summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-13 20:39:16 +0000
committerwiz <wiz@pkgsrc.org>2014-08-13 20:39:16 +0000
commitef1dce85d0217b1df5932229b4d3c38799b6d92f (patch)
treebe4e1e0fda5b50bb7fd52fe46ccc6da8a8f3de7d /benchmarks
parent8b6f27844bf2deaf72bafd82119c802d480925d8 (diff)
downloadpkgsrc-ef1dce85d0217b1df5932229b4d3c38799b6d92f.tar.gz
Import p5-Benchmark-Timer-0.7102 as benchmarks/p5-Benchmark-Timer.
The Benchmark::Timer class allows you to time portions of code conveniently, as well as benchmark code by allowing timings of repeated trials. It is perfect for when you need more precise information about the running time of portions of your code than the Benchmark module will give you, but don't want to go all out and profile your code.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/p5-Benchmark-Timer/DESCR6
-rw-r--r--benchmarks/p5-Benchmark-Timer/Makefile18
-rw-r--r--benchmarks/p5-Benchmark-Timer/distinfo5
3 files changed, 29 insertions, 0 deletions
diff --git a/benchmarks/p5-Benchmark-Timer/DESCR b/benchmarks/p5-Benchmark-Timer/DESCR
new file mode 100644
index 00000000000..33e926fad8a
--- /dev/null
+++ b/benchmarks/p5-Benchmark-Timer/DESCR
@@ -0,0 +1,6 @@
+The Benchmark::Timer class allows you to time portions of code
+conveniently, as well as benchmark code by allowing timings of
+repeated trials. It is perfect for when you need more precise
+information about the running time of portions of your code than
+the Benchmark module will give you, but don't want to go all out
+and profile your code.
diff --git a/benchmarks/p5-Benchmark-Timer/Makefile b/benchmarks/p5-Benchmark-Timer/Makefile
new file mode 100644
index 00000000000..0ff273a685c
--- /dev/null
+++ b/benchmarks/p5-Benchmark-Timer/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/08/13 20:39:16 wiz Exp $
+
+DISTNAME= Benchmark-Timer-0.7102
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Benchmark/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Benchmark-Timer/
+COMMENT= Benchmarking with statistical confidence
+#LICENSE= GPL but not clear which version
+
+DEPENDS+= p5-Statistics-TTest-[0-9]*:../../math/p5-Statistics-TTest
+
+PERL5_PACKLIST= auto/Benchmark/Timer/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/p5-Benchmark-Timer/distinfo b/benchmarks/p5-Benchmark-Timer/distinfo
new file mode 100644
index 00000000000..2bc5e8b6143
--- /dev/null
+++ b/benchmarks/p5-Benchmark-Timer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/13 20:39:16 wiz Exp $
+
+SHA1 (Benchmark-Timer-0.7102.tar.gz) = d977d5473b06ad12141c57ec628caa89de9181d3
+RMD160 (Benchmark-Timer-0.7102.tar.gz) = 6b9231c6aee1df85dbd2733a9248072de6090b2d
+Size (Benchmark-Timer-0.7102.tar.gz) = 31219 bytes