BSD Ports

benchmarks/p5-Dumbbench 0.505 MidnightBSD

More reliable benchmarking with the least amount of thinking

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
benchmarks, perl5

Description

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.

In the other systems

SystemPortVersion
MidnightBSDbenchmarks/p5-Dumbbench0.505
FreeBSDbenchmarks/p5-Dumbbench0.505
OpenBSDbenchmarks/p5-Dumbbench0.505
NetBSDbenchmarks/p5-Dumbbench0.111nb9
DragonFlybenchmarks/p5-Dumbbench0.505
HardenedBSDbenchmarks/p5-Dumbbench0.505
GhostBSDbenchmarks/p5-Dumbbench0.505

Install

Binary package:

mport install p5-Dumbbench

From mports:

cd /usr/mports/benchmarks/p5-Dumbbench && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Dumbbench>0:benchmarks/p5-Dumbbench

Dependencies

As this port's Makefile names them.

Build 6

Runtime 6

Build dependencies 6
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 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
distinfo 1
FileSizeSHA256
Dumbbench-0.505.tar.gz34804ed6f0525fe921382cc219d5a71abeedcedb4f2b63a43d78c0f65f80ac9b11ffd
Master sites 1
  • CPAN