BSD Ports

benchmarks/p5-Benchmark-Forking 1.01_2 DragonFly

Run benchmarks in separate processes

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
benchmarks, perl5
Package size
12.1 KiB, 21.1 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.

In the other systems

SystemPortVersion
DragonFlybenchmarks/p5-Benchmark-Forking1.01_2
FreeBSDbenchmarks/p5-Benchmark-Forking1.01_2
MidnightBSDbenchmarks/p5-Benchmark-Forking1.01
HardenedBSDbenchmarks/p5-Benchmark-Forking1.01_2
GhostBSDbenchmarks/p5-Benchmark-Forking1.01_2

Install

Binary package:

pkg install p5-Benchmark-Forking

From DPorts:

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

Dependencies

Run dependencies 1

No port depends on this one.