https://github.com/korenyoni/commandtimer
A utility used to time the execution and termination of two commands, for the specified amount of iterations.
https://github.com/korenyoni/commandtimer
Last synced: about 2 months ago
JSON representation
A utility used to time the execution and termination of two commands, for the specified amount of iterations.
- Host: GitHub
- URL: https://github.com/korenyoni/commandtimer
- Owner: korenyoni
- Created: 2015-07-14T18:38:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-13T20:28:42.000Z (almost 10 years ago)
- Last Synced: 2025-02-07T15:32:47.213Z (3 months ago)
- Language: C++
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
##Command Timer
Used to time the duration of commands, to get an average of duration from command execution to finish,
for the specified amount of iterations.
The execution of each command is alternated.
The result is in seconds.I'm not sure if the results are 100% accurate in terms of real time elapsed between
execution and termination of a program, but they are very consistent with each other, and with the UNIX command *time*.###Usage:
commandTimer "command 1" "command 2" [number of iterations]