multitime

Run a command multiple times and compare execution times

brewmacoslinux
Try with needOr install directly
Source

About

Time command execution over multiple executions

Commands

multitime

Examples

measure how long a command takes to run$ multitime ls -la /large/directory
compare performance of a script across multiple runs$ multitime -n 5 ./build.sh
benchmark a database query repeatedly$ multitime -n 10 psql -c 'SELECT COUNT(*) FROM users;'
test how long a network request takes on average$ multitime -n 3 curl https://api.example.com/data
check if a command gets faster or slower over time$ multitime -n 20 python script.py