From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 24 03:00:41 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB8D16A4E6 for ; Thu, 24 Aug 2006 03:00:41 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD3D43D45 for ; Thu, 24 Aug 2006 03:00:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7O30eHI001246 for ; Thu, 24 Aug 2006 03:00:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7O30e6T001245; Thu, 24 Aug 2006 03:00:40 GMT (envelope-from gnats) Resent-Date: Thu, 24 Aug 2006 03:00:40 GMT Resent-Message-Id: <200608240300.k7O30e6T001245@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 377F016A4DA for ; Thu, 24 Aug 2006 02:50:31 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE0A043D46 for ; Thu, 24 Aug 2006 02:50:30 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 659C6C0; Thu, 24 Aug 2006 10:50:28 +0800 (CST) Message-Id: <20060824025028.659C6C0@netnews.NCTU.edu.tw> Date: Thu, 24 Aug 2006 10:50:28 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/102468: [NEW PORT] benchmarks/p5-Benchmark-Stopwatch: Simple timing of stages of your code X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 03:00:41 -0000 >Number: 102468 >Category: ports >Synopsis: [NEW PORT] benchmarks/p5-Benchmark-Stopwatch: Simple timing of stages of your code >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: Thu Aug 24 03:00:39 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: The other benchmark modules provide excellent timing for specific parts of your code. This module aims to allow you to easily time the progression of your code. The stopwatch analogy is that at some point you get a new stopwatch and start timing. Then you note certain events using lap. Finally you stop the watch and then print out a summary. The summary shows all the events in order, what time they occured at, how long since the last lap and the percentage of the total time. Hopefully this will give you a good idea of where your code is spending most of its time. The times are all wallclock times in fractional seconds. That's it. WWW: http://search.cpan.org/dist/Benchmark-Stopwatch/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Benchmark-Stopwatch-0.03.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-Stopwatch # p5-Benchmark-Stopwatch/pkg-descr # p5-Benchmark-Stopwatch/Makefile # p5-Benchmark-Stopwatch/pkg-plist # p5-Benchmark-Stopwatch/distinfo # echo c - p5-Benchmark-Stopwatch mkdir -p p5-Benchmark-Stopwatch > /dev/null 2>&1 echo x - p5-Benchmark-Stopwatch/pkg-descr sed 's/^X//' >p5-Benchmark-Stopwatch/pkg-descr << 'END-of-p5-Benchmark-Stopwatch/pkg-descr' XThe other benchmark modules provide excellent timing for specific Xparts of your code. This module aims to allow you to easily time the Xprogression of your code. X XThe stopwatch analogy is that at some point you get a new stopwatch Xand start timing. Then you note certain events using lap. Finally you Xstop the watch and then print out a summary. X XThe summary shows all the events in order, what time they occured at, Xhow long since the last lap and the percentage of the total time. XHopefully this will give you a good idea of where your code is Xspending most of its time. X XThe times are all wallclock times in fractional seconds. X XThat's it. X XWWW: http://search.cpan.org/dist/Benchmark-Stopwatch/ END-of-p5-Benchmark-Stopwatch/pkg-descr echo x - p5-Benchmark-Stopwatch/Makefile sed 's/^X//' >p5-Benchmark-Stopwatch/Makefile << 'END-of-p5-Benchmark-Stopwatch/Makefile' X# New ports collection makefile for: p5-Benchmark-Stopwatch X# Date created: 2006-08-24 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= Benchmark-Stopwatch XPORTVERSION= 0.03 XCATEGORIES= benchmarks perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Benchmark XPKGNAMEPREFIX= p5- X XMAINTAINER= perl@FreeBSD.org XCOMMENT= Simple timing of stages of your code X XRUN_DEPENDS= ${SITE_PERL}/Clone.pm:${PORTSDIR}/devel/p5-Clone XBUILD_DEPENDS= ${RUN_DEPENDS} XBUILD_DEPENDS+= ${SITE_PERL}/Test/LongString.pm:${PORTSDIR}/devel/p5-Test-LongString X XPERL_MODBUILD= yes X XMAN3= Benchmark::Stopwatch.3 X X.include X X.if ${PERL_LEVEL} < 500703 XRUN_DEPENDS+= ${SITE_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes XBUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple X.endif X X.include END-of-p5-Benchmark-Stopwatch/Makefile echo x - p5-Benchmark-Stopwatch/pkg-plist sed 's/^X//' >p5-Benchmark-Stopwatch/pkg-plist << 'END-of-p5-Benchmark-Stopwatch/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/Benchmark/Stopwatch.pm X@dirrmtry %%SITE_PERL%%/Benchmark END-of-p5-Benchmark-Stopwatch/pkg-plist echo x - p5-Benchmark-Stopwatch/distinfo sed 's/^X//' >p5-Benchmark-Stopwatch/distinfo << 'END-of-p5-Benchmark-Stopwatch/distinfo' XMD5 (Benchmark-Stopwatch-0.03.tar.gz) = 14a58481012db21ad046c718dd3da76c XSHA256 (Benchmark-Stopwatch-0.03.tar.gz) = 687f9889b97d696de337ec261bda227561322a3f4c0f7060af54a127ed6cbed2 XSIZE (Benchmark-Stopwatch-0.03.tar.gz) = 4731 END-of-p5-Benchmark-Stopwatch/distinfo exit --- p5-Benchmark-Stopwatch-0.03.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: