FreeBSD Ports

benchmarks/p5-Benchmark-Forking 1.01_2

Run benchmarks in separate processes

Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
benchmarks, perl5
Package size
12.5 KiB, 20.9 KiB installed

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.

Install

As a binary package — by origin, or by package name:

pkg install benchmarks/p5-Benchmark-Forking
pkg install p5-Benchmark-Forking

From the ports tree:

cd /usr/ports/benchmarks/p5-Benchmark-Forking/ && make install clean

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

RUN_DEPENDS=	p5-Benchmark-Forking>0:benchmarks/p5-Benchmark-Forking

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.01_21.01_21.01_21.01_21.01_2
FreeBSD:14:quarterly1.01_21.01_2n/a1.01_21.01_2
FreeBSD:15:latest1.01_21.01_2n/a1.01_21.01_2
FreeBSD:15:quarterly1.01_21.01_2n/an/an/a
FreeBSD:16:latest1.01_21.01_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 1
All run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Benchmark/Forking.pm
  • %%PERL5_MAN3%%/Benchmark::Forking.3.gz
distinfo 1
FileSizeSHA256
Benchmark-Forking-1.01.tar.gz6251d0c2f68fb3187826553017ea1f98f9ef2cc01aa131ee6c5ba9fdc248bbcebf95
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.