Skip to content

a bash script to benchmark execution times of a command

License

Notifications You must be signed in to change notification settings

eepykate/timetest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

timetest
a bash script to benchmark open -> close time of a command

examples
 $ timetest bash -c exit
 $ times=36 delay=0.25 limit=10 timetest ./a.out

requirements
 - bash (≥v5)
 - POSIX-compatible sort & sed (for median)

[1]
quick example: st on my system (median & iqr)
~18.29  ±1.29 | st | ms, 50x, 0s between
~18.28  ±0.24 | st | ms, 50x, 0.1s between
~18.27  ±0.29 | st | ms, 50x, 0.25s between
~18.32  ±0.20 | st | ms, 50x, 0.5s between

About

a bash script to benchmark execution times of a command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages