summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Benchmark
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-07-14 16:02:40 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-07-14 16:02:40 +0000
commit00c0ec74641bb67d86f8020ec2731547955ffff2 (patch)
treec8fe53a037d4851bc328905943805398677af8a6 /devel/p5-Test-Benchmark
parent- Update to v1.115 (diff)
Sometimes you want to make sure that your "faster" algorithm really is
faster than the old way. This lets you check. It might also be useful to check that your super whizzo XS or Inline::C version is actually faster. This module is based on the standard Benchmark module. If you have lots of timings to compare and you don't want to keep running the same benchmarks all the time, you can pass in a result object from Benchmark::timethis() instead of sub routine reference. Author: Fergal Daly <fergal@esatclear.ie> WWW: http://search.cpan.org/dist/Test-Benchmark/ PR: ports/100218 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=167812
Diffstat (limited to 'devel/p5-Test-Benchmark')
-rw-r--r--devel/p5-Test-Benchmark/Makefile32
-rw-r--r--devel/p5-Test-Benchmark/distinfo3
-rw-r--r--devel/p5-Test-Benchmark/pkg-descr12
-rw-r--r--devel/p5-Test-Benchmark/pkg-plist6
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-Test-Benchmark/Makefile b/devel/p5-Test-Benchmark/Makefile
new file mode 100644
index 000000000000..8f0c07bb5372
--- /dev/null
+++ b/devel/p5-Test-Benchmark/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-Test-Benchmark
+# Date created: 2006-07-13
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Benchmark
+PORTVERSION= 0.004
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Test
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Make sure something really is faster
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/Tester.pm:${PORTSDIR}/devel/p5-Test-Tester \
+ ${SITE_PERL}/Test/NoWarnings.pm:${PORTSDIR}/devel/p5-Test-NoWarnings
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Test::Benchmark.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703 && ${PERL_LEVEL} != 500602
+BUILD_DEPENDS+= ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-Benchmark/distinfo b/devel/p5-Test-Benchmark/distinfo
new file mode 100644
index 000000000000..d131fe7c9071
--- /dev/null
+++ b/devel/p5-Test-Benchmark/distinfo
@@ -0,0 +1,3 @@
+MD5 (Test-Benchmark-0.004.tar.gz) = 4161468f6e1dc735adbc0ae5cc0afbbd
+SHA256 (Test-Benchmark-0.004.tar.gz) = 2d790ae4e8e2fcf51db720aadff9109827b3e5daea6ca24116bdf72dc155c570
+SIZE (Test-Benchmark-0.004.tar.gz) = 13897
diff --git a/devel/p5-Test-Benchmark/pkg-descr b/devel/p5-Test-Benchmark/pkg-descr
new file mode 100644
index 000000000000..4110c8a9d87a
--- /dev/null
+++ b/devel/p5-Test-Benchmark/pkg-descr
@@ -0,0 +1,12 @@
+Sometimes you want to make sure that your "faster" algorithm really is
+faster than the old way. This lets you check. It might also be useful
+to check that your super whizzo XS or Inline::C version is actually
+faster.
+
+This module is based on the standard Benchmark module. If you have
+lots of timings to compare and you don't want to keep running the same
+benchmarks all the time, you can pass in a result object from
+Benchmark::timethis() instead of sub routine reference.
+
+Author: Fergal Daly <fergal@esatclear.ie>
+WWW: http://search.cpan.org/dist/Test-Benchmark/
diff --git a/devel/p5-Test-Benchmark/pkg-plist b/devel/p5-Test-Benchmark/pkg-plist
new file mode 100644
index 000000000000..70adff33ab8e
--- /dev/null
+++ b/devel/p5-Test-Benchmark/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Benchmark/.packlist
+%%SITE_PERL%%/Test/Benchmark.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Benchmark
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
+@dirrmtry %%SITE_PERL%%/Test