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
| System | Port | Version |
|---|---|---|
| FreeBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 |
| DragonFly | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 |
| MidnightBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05 |
| HardenedBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 |
| GhostBSD | benchmarks/p5-Benchmark-Stopwatch | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.05_1 | 0.05_1 | 0.05_1 | 0.05_1 | 0.05_1 |
| FreeBSD:14:quarterly | 0.05_1 | 0.05_1 | n/a | 0.05_1 | 0.05_1 |
| FreeBSD:15:latest | 0.05_1 | 0.05_1 | n/a | 0.05_1 | 0.05_1 |
| FreeBSD:15:quarterly | 0.05_1 | 0.05_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.05_1 | 0.05_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Clone>=0: devel/p5-Clonep5-Test-LongString>=0: devel/p5-Test-LongString
Runtime 1
p5-Clone>=0: devel/p5-Clone
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
| File | Size | SHA256 |
|---|---|---|
| Benchmark-Stopwatch-0.05.tar.gz | 5050 | 6009a70e47cb8bec43e1cb960992948bab24d5433323f78a68bd4c638ea97942 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.