RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
P5-benchmark-stopwatch
Jul 20, 2023
Simple timing of stages of your code
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.
- Older
- Newer
Checkout these related ports:
- Wrk - Modern HTTP benchmarking tool
- Webbench - Simple forking web benchmark
- Vkpeak - Profile Vulkan devices to find their peak capacities
- Vkoverhead - Evaluate CPU overhead of Vulkan drivers
- Vkmark - Vulkan benchmark
- Vegeta - HTTP load testing tool and library
- Uperf - Network performance tool to model and replay of networking patterns
- Unixbench - BYTE magazine's Public Domain benchmark for UNIX
- Uica - Code Analyzer from the uops.info project
- Ubench - Unix Benchmark Utility for CPU(s) and memory
- Typometer - Text/code editor typing latency analyzer
- Ttcp - Benchmarking tool for analysing TCP and UDP performance
- Tsung - Multi-protocol distributed load testing tool
- Thrulay - Network capacity tester
- Tcpblast - Measures the throughput of a TCP connection