Hyperfine is a command-line tool for measuring how long programs take to run. You give it one or more shell commands and it runs them repeatedly, then reports timing statistics so you can compare the results. It is aimed at developers and anyone who wants to check whether a change made a command faster or slower.
The tool runs as a terminal program on the command line. Its source code is public under the Apache-2.0 license, and it is free to use. Because it is a single command-line program, it fits easily into scripts and build checks.
Alternatives to hyperfine
Products that do a similar job in Developer Tools.
Windows Terminal
Command-line terminal app and console host for Windows
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal
Warp
Terminal application rebuilt as a development environment
tldr
community-maintained cheatsheets of common command-line examples
delta
syntax-highlighting pager for git, diff, blame and grep output