aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-07-10 14:13:17 +0800
committereadler <eadler@FreeBSD.org>2012-07-10 14:13:17 +0800
commit89346f97372e66a1365bebb5b2acf3df000ee6de (patch)
tree4de3f3377ddc724a4f0efa0064b0bba0e9973dd3 /devel
parent7b8cfd82e803ef9826424ccaa33dca2be2ecaffe (diff)
downloadfreebsd-ports-gnome-89346f97372e66a1365bebb5b2acf3df000ee6de.tar.gz
freebsd-ports-gnome-89346f97372e66a1365bebb5b2acf3df000ee6de.tar.zst
freebsd-ports-gnome-89346f97372e66a1365bebb5b2acf3df000ee6de.zip
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. WWW: http://search.cpan.org/dist/Benchmark-Timer/ Reviewed by: az (older version)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Benchmark-Timer/Makefile23
-rw-r--r--devel/p5-Benchmark-Timer/distinfo2
-rw-r--r--devel/p5-Benchmark-Timer/pkg-descr7
-rw-r--r--devel/p5-Benchmark-Timer/pkg-plist5
5 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a4dc589c8127..9d6e43e6d0ce 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1337,6 +1337,7 @@
SUBDIR += p5-BSD-stat
SUBDIR += p5-BZ-Client
SUBDIR += p5-Badger
+ SUBDIR += p5-Benchmark-Timer
SUBDIR += p5-Best
SUBDIR += p5-Bread-Board
SUBDIR += p5-Bread-Board-Declare
diff --git a/devel/p5-Benchmark-Timer/Makefile b/devel/p5-Benchmark-Timer/Makefile
new file mode 100644
index 000000000000..0b5195049bc2
--- /dev/null
+++ b/devel/p5-Benchmark-Timer/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-Benchmark-Timer
+# Date created: 2012-07-09
+# Whom: Eitan Adler <eadler@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Benchmark-Timer
+PORTVERSION= 0.7102
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= eadler@FreeBSD.org
+COMMENT= Code benchmarking tool
+
+LICENSE= GPL
+
+PERL_CONFIGURE= yes
+
+MAN3= Benchmark::Timer.3 Benchmark::delta.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Benchmark-Timer/distinfo b/devel/p5-Benchmark-Timer/distinfo
new file mode 100644
index 000000000000..16ec4fba4ba1
--- /dev/null
+++ b/devel/p5-Benchmark-Timer/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Benchmark-Timer-0.7102.tar.gz) = 01446699cc7fd56cbc631d16ad73e9158a2bf63a2b045d1a1d2a3e98eaf289be
+SIZE (Benchmark-Timer-0.7102.tar.gz) = 31219
diff --git a/devel/p5-Benchmark-Timer/pkg-descr b/devel/p5-Benchmark-Timer/pkg-descr
new file mode 100644
index 000000000000..df2090286dea
--- /dev/null
+++ b/devel/p5-Benchmark-Timer/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+WWW: http://search.cpan.org/dist/Benchmark-Timer/
diff --git a/devel/p5-Benchmark-Timer/pkg-plist b/devel/p5-Benchmark-Timer/pkg-plist
new file mode 100644
index 000000000000..f4522fa7c30d
--- /dev/null
+++ b/devel/p5-Benchmark-Timer/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Benchmark/Timer.pm
+%%SITE_PERL%%/Benchmark/delta.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/Timer/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/Timer
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/