benchmarks/p5-Benchmark-Stopwatch 0.05 MidnightBSD
Simple timing of stages of your code
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
e93ab760a6- License
- artistic, gpl+
- Categories
- benchmarks, perl5
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
The newest version among them is 0.05, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05 newest | no data | - | [email protected] | 2026-08-23 |
| FreeBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 newest | none known | - | [email protected] | - |
| DragonFly | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 newest | none known | - | [email protected] | - |
| HardenedBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 newest | no data | - | [email protected] | - |
| GhostBSD | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install p5-Benchmark-Stopwatch
From mports:
cd /usr/mports/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
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
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
Build dependencies 2
Run dependencies 1
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