benchmarks/p5-Benchmark-Stopwatch 0.05_1 DragonFly
Simple timing of stages of your code
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- benchmarks, perl5
- Package size
- 8.9 KiB, 16.9 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 |
|---|---|---|
| DragonFly | benchmarks/p5-Benchmark-Stopwatch | 0.05_1 |
| FreeBSD | 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 DPorts:
cd /usr/dports/benchmarks/p5-Benchmark-Stopwatch && make install clean
Dependencies
Run dependencies 2
No port depends on this one.