BSD Ports

benchmarks/p5-Benchmark-Stopwatch 0.05_1 FreeBSD

Simple timing of stages of your code

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

Description

The other benchmark modules provide excellent timing for specific parts of your code. This module aims to allow you to easily time the progression of your code.

The stopwatch analogy is that at some point you get a new stopwatch and start timing. Then you note certain events using lap. Finally you stop the watch and then print out a summary.

The summary shows all the events in order, what time they occurred at, how long since the last lap and the percentage of the total time. Hopefully this will give you a good idea of where your code is spending most of its time.

The times are all wallclock times in fractional seconds.

That's it.

In the other systems

SystemPortVersion
FreeBSDbenchmarks/p5-Benchmark-Stopwatch0.05_1
DragonFlybenchmarks/p5-Benchmark-Stopwatch0.05_1
MidnightBSDbenchmarks/p5-Benchmark-Stopwatch0.05
HardenedBSDbenchmarks/p5-Benchmark-Stopwatch0.05_1
GhostBSDbenchmarks/p5-Benchmark-Stopwatch0.05_1

Install

Binary package:

pkg install p5-Benchmark-Stopwatch

From the ports tree:

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

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

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

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:latest0.05_10.05_10.05_10.05_10.05_1
FreeBSD:14:quarterly0.05_10.05_1n/a0.05_10.05_1
FreeBSD:15:latest0.05_10.05_1n/a0.05_10.05_1
FreeBSD:15:quarterly0.05_10.05_1n/an/an/a
FreeBSD:16:latest0.05_10.05_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

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

Build dependencies 3
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_PERL%%/Benchmark/Stopwatch.pm
  • %%SITE_PERL%%/Benchmark/example.pl
  • %%PERL5_MAN3%%/Benchmark::Stopwatch.3.gz
distinfo 1
FileSizeSHA256
Benchmark-Stopwatch-0.05.tar.gz50506009a70e47cb8bec43e1cb960992948bab24d5433323f78a68bd4c638ea97942
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.