Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 13:15:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475557 - in head/benchmarks: . p5-Dumbbench
Message-ID:  <201807281315.w6SDFf9f006534@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jul 28 13:15:41 2018
New Revision: 475557
URL: https://svnweb.freebsd.org/changeset/ports/475557

Log:
  Add p5-Dumbbench 0.111
  
  This module attempts to implement reasonably robust benchmarking with little
  extra effort and expertise required from the user. That is to say, benchmarking
  using this module is likely an improvement over
  
    time some-command --to --benchmark
  
  or
  
    use Benchmark qw/timethis/;
    timethis(1000, 'system("some-command", ...)');
  
  The module currently works similar to the former command line, except (in layman
  terms) it will run the command many times, estimate the uncertainty of the
  result and keep iterating until a certain user-defined precision has been
  reached. Then, it calculates the resulting uncertainty and goes through some
  pain to discard bad runs and subtract overhead from the timings. The reported
  timing includes an uncertainty, so that multiple benchmarks can more easily be
  compared.
  
  Please note that Dumbbench works entirely with wallclock time as reported by
  Time::HiRes' time() function.
  
  WWW: https://metacpan.org/release/Dumbbench

Added:
  head/benchmarks/p5-Dumbbench/
  head/benchmarks/p5-Dumbbench/Makefile   (contents, props changed)
  head/benchmarks/p5-Dumbbench/distinfo   (contents, props changed)
  head/benchmarks/p5-Dumbbench/pkg-descr   (contents, props changed)
  head/benchmarks/p5-Dumbbench/pkg-plist   (contents, props changed)
Modified:
  head/benchmarks/Makefile

Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile	Sat Jul 28 13:15:35 2018	(r475556)
+++ head/benchmarks/Makefile	Sat Jul 28 13:15:41 2018	(r475557)
@@ -51,6 +51,7 @@
     SUBDIR += octave-forge-benchmark
     SUBDIR += p5-Benchmark-Forking
     SUBDIR += p5-Benchmark-Stopwatch
+    SUBDIR += p5-Dumbbench
     SUBDIR += pathchirp
     SUBDIR += pathload
     SUBDIR += pathrate

Added: head/benchmarks/p5-Dumbbench/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/p5-Dumbbench/Makefile	Sat Jul 28 13:15:41 2018	(r475557)
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Dumbbench
+PORTVERSION=	0.111
+CATEGORIES=	benchmarks perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:BDFOY
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	More reliable benchmarking with the least amount of thinking
+
+LICENSE=	ART20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \
+		p5-Class-XSAccessor>=1.05:devel/p5-Class-XSAccessor \
+		p5-Devel-CheckOS>=0:devel/p5-Devel-CheckOS \
+		p5-Number-WithError>=1:math/p5-Number-WithError \
+		p5-Params-Util>=0:devel/p5-Params-Util \
+		p5-Statistics-CaseResampling>=0.06:math/p5-Statistics-CaseResampling
+
+NO_ARCH=	yes
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.mk>

Added: head/benchmarks/p5-Dumbbench/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/p5-Dumbbench/distinfo	Sat Jul 28 13:15:41 2018	(r475557)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1532715147
+SHA256 (Dumbbench-0.111.tar.gz) = d31d3ca7d672bd928183ccbf29d3275ea594f7d324ae5f49db6182967c5ab2c7
+SIZE (Dumbbench-0.111.tar.gz) = 35481

Added: head/benchmarks/p5-Dumbbench/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/p5-Dumbbench/pkg-descr	Sat Jul 28 13:15:41 2018	(r475557)
@@ -0,0 +1,23 @@
+This module attempts to implement reasonably robust benchmarking with little
+extra effort and expertise required from the user. That is to say, benchmarking
+using this module is likely an improvement over
+
+  time some-command --to --benchmark
+
+or
+
+  use Benchmark qw/timethis/;
+  timethis(1000, 'system("some-command", ...)');
+
+The module currently works similar to the former command line, except (in layman
+terms) it will run the command many times, estimate the uncertainty of the
+result and keep iterating until a certain user-defined precision has been
+reached. Then, it calculates the resulting uncertainty and goes through some
+pain to discard bad runs and subtract overhead from the timings. The reported
+timing includes an uncertainty, so that multiple benchmarks can more easily be
+compared.
+
+Please note that Dumbbench works entirely with wallclock time as reported by
+Time::HiRes' time() function.
+
+WWW: https://metacpan.org/release/Dumbbench

Added: head/benchmarks/p5-Dumbbench/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/p5-Dumbbench/pkg-plist	Sat Jul 28 13:15:41 2018	(r475557)
@@ -0,0 +1,17 @@
+bin/dumbbench
+%%SITE_PERL%%/Benchmark/Dumb.pm
+%%SITE_PERL%%/Dumbbench.pm
+%%SITE_PERL%%/Dumbbench/BoxPlot.pm
+%%SITE_PERL%%/Dumbbench/CPUFrequencyPinner.pm
+%%SITE_PERL%%/Dumbbench/Instance.pm
+%%SITE_PERL%%/Dumbbench/Instance/Cmd.pm
+%%SITE_PERL%%/Dumbbench/Instance/PerlEval.pm
+%%SITE_PERL%%/Dumbbench/Instance/PerlSub.pm
+%%SITE_PERL%%/Dumbbench/Result.pm
+%%SITE_PERL%%/Dumbbench/Stats.pm
+%%PERL5_MAN3%%/Benchmark::Dumb.3.gz
+%%PERL5_MAN3%%/Dumbbench.3.gz
+%%PERL5_MAN3%%/Dumbbench::Instance.3.gz
+%%PERL5_MAN3%%/Dumbbench::Instance::Cmd.3.gz
+%%PERL5_MAN3%%/Dumbbench::Instance::PerlEval.3.gz
+%%PERL5_MAN3%%/Dumbbench::Instance::PerlSub.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807281315.w6SDFf9f006534>