Date: Sat, 6 Jan 2007 06:39:16 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/107593: [NEW PORT] benchmarks/p5-Benchmark-Forking: Run benchmarks in separate processes Message-ID: <20070105223916.AA5DBA3@netnews.NCTU.edu.tw> Resent-Message-ID: <200701052240.l05MeRTF040059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107593 >Category: ports >Synopsis: [NEW PORT] benchmarks/p5-Benchmark-Forking: Run benchmarks in separate processes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 05 22:40:25 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE-p8 FreeBSD 6.1-RELEASE-p8 #0: Fri Sep 29 03:41:50 CST 2006 >Description: 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/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Benchmark-Forking-0.99.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Benchmark-Forking # p5-Benchmark-Forking/pkg-descr # p5-Benchmark-Forking/Makefile # p5-Benchmark-Forking/pkg-plist # p5-Benchmark-Forking/distinfo # echo c - p5-Benchmark-Forking mkdir -p p5-Benchmark-Forking > /dev/null 2>&1 echo x - p5-Benchmark-Forking/pkg-descr sed 's/^X//' >p5-Benchmark-Forking/pkg-descr << 'END-of-p5-Benchmark-Forking/pkg-descr' XThe Benchmark::Forking module changes the behavior of the standard XBenchmark module, running each piece of code to be timed in a separate Xforked process. Because each child exits after running its timing loop, Xthe computations it performs can't propogate back to affect subsequent Xtest cases. X XThis can make benchmark comparisons more accurate, because the Xseparate test cases are mostly isolated from side-effects caused by Xthe others. Benchmark scripts typically don't depend on those Xside-effects, so in most cases you can simply use or require this Xmodule at the top of your existing code without having to change Xanything else. X XWWW: http://search.cpan.org/dist/Benchmark-Forking/ END-of-p5-Benchmark-Forking/pkg-descr echo x - p5-Benchmark-Forking/Makefile sed 's/^X//' >p5-Benchmark-Forking/Makefile << 'END-of-p5-Benchmark-Forking/Makefile' X# New ports collection makefile for: p5-Benchmark-Forking X# Date created: 2007-01-06 X# Whom: Gea-Suan Lin <gslin@gslin.org> X# X# $FreeBSD$ X# X XPORTNAME= Benchmark-Forking XPORTVERSION= 0.99 XCATEGORIES= benchmarks perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= Benchmark XPKGNAMEPREFIX= p5- X XMAINTAINER= gslin@gslin.org XCOMMENT= Run benchmarks in separate processes X XPERL_CONFIGURE= yes X XMAN3= Benchmark::Forking.3 Benchmark::Forking::ReadMe.3 X X.include <bsd.port.mk> END-of-p5-Benchmark-Forking/Makefile echo x - p5-Benchmark-Forking/pkg-plist sed 's/^X//' >p5-Benchmark-Forking/pkg-plist << 'END-of-p5-Benchmark-Forking/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/Forking/.packlist X%%SITE_PERL%%/Benchmark/Forking.pm X%%SITE_PERL%%/Benchmark/Forking/ReadMe.pod X@dirrmtry %%SITE_PERL%%/Benchmark/Forking X@dirrmtry %%SITE_PERL%%/Benchmark X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark/Forking X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Benchmark END-of-p5-Benchmark-Forking/pkg-plist echo x - p5-Benchmark-Forking/distinfo sed 's/^X//' >p5-Benchmark-Forking/distinfo << 'END-of-p5-Benchmark-Forking/distinfo' XMD5 (Benchmark-Forking-0.99.tar.gz) = e7174e746c2b2e02c24939b248230f96 XSHA256 (Benchmark-Forking-0.99.tar.gz) = 332c54ea8c08d75df012204caf45878878b84b957a35e00eda7e8e328b09e966 XSIZE (Benchmark-Forking-0.99.tar.gz) = 6182 END-of-p5-Benchmark-Forking/distinfo exit --- p5-Benchmark-Forking-0.99.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070105223916.AA5DBA3>