bench

Benchmarking and performance measurement tool for command-line operations

brewmacoslinux
Try with needOr install directly
Source

About

Command-line benchmark tool

Commands

bench

Examples

Benchmark a simple command with default settings$ bench 'sleep 0.1'
Run benchmark with custom number of iterations$ bench -n 100 'curl https://example.com'
Compare performance of two different commands$ bench 'grep pattern file1.txt' 'rg pattern file1.txt'