Add p5-Benchmark-Forking 0.99, run benchmarks in separate processes.

PR:		ports/107593
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2007-01-08 03:48:30 +00:00
parent 27cfa353f7
commit 46bd50407d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181743
5 changed files with 48 additions and 0 deletions

View File

@ -30,6 +30,7 @@
SUBDIR += netpipe
SUBDIR += nqueens
SUBDIR += nttcp
SUBDIR += p5-Benchmark-Forking
SUBDIR += p5-Benchmark-Stopwatch
SUBDIR += pathchirp
SUBDIR += pathload

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: p5-Benchmark-Forking
# Date created: 2007-01-06
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Benchmark-Forking
PORTVERSION= 0.99
CATEGORIES= benchmarks perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Benchmark
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Run benchmarks in separate processes
PERL_CONFIGURE= yes
MAN3= Benchmark::Forking.3 Benchmark::Forking::ReadMe.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Benchmark-Forking-0.99.tar.gz) = e7174e746c2b2e02c24939b248230f96
SHA256 (Benchmark-Forking-0.99.tar.gz) = 332c54ea8c08d75df012204caf45878878b84b957a35e00eda7e8e328b09e966
SIZE (Benchmark-Forking-0.99.tar.gz) = 6182

View File

@ -0,0 +1,14 @@
The Benchmark::Forking module changes the behavior of the standard
Benchmark module, running each piece of code to be timed in a separate
forked process. Because each child exits after running its timing loop,
the computations it performs can't propogate back to affect subsequent
test cases.
This can make benchmark comparisons more accurate, because the
separate test cases are mostly isolated from side-effects caused by
the others. Benchmark scripts typically don't depend on those
side-effects, so in most cases you can simply use or require this
module at the top of your existing code without having to change
anything else.
WWW: http://search.cpan.org/dist/Benchmark-Forking/

View File

@ -0,0 +1,8 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/Forking/.packlist
%%SITE_PERL%%/Benchmark/Forking.pm
%%SITE_PERL%%/Benchmark/Forking/ReadMe.pod
@dirrmtry %%SITE_PERL%%/Benchmark/Forking
@dirrmtry %%SITE_PERL%%/Benchmark
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/Forking
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark