benchmarks/p5-Benchmark-Forking 1.01 MidnightBSD
Run benchmarks in separate processes
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
e93ab760a6- License
- artistic, gpl+
- Categories
- benchmarks, perl5
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | benchmarks/p5-Benchmark-Forking | 1.01 |
| FreeBSD | benchmarks/p5-Benchmark-Forking | 1.01_2 |
| DragonFly | benchmarks/p5-Benchmark-Forking | 1.01_2 |
| HardenedBSD | benchmarks/p5-Benchmark-Forking | 1.01_2 |
| GhostBSD | benchmarks/p5-Benchmark-Forking | 1.01_2 |
Install
Binary package:
mport install p5-Benchmark-Forking
From mports:
cd /usr/mports/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
Dependencies
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
| File | Size | SHA256 |
|---|---|---|
| Benchmark-Forking-1.01.tar.gz | 6251 | d0c2f68fb3187826553017ea1f98f9ef2cc01aa131ee6c5ba9fdc248bbcebf95 |
Master sites 1
- CPAN