# Hyperfine

[BASE product page](<https://base.akulich.dev/en/library/hyperfine/>) · [Resource](<https://github.com/sharkdp/hyperfine>)

ID: hyperfine · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A CLI for reproducible command benchmarks: performs multiple runs and reports timing statistics to compare implementations\.

## Type

Developer CLI

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/hyperfine/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/hyperfine/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/hyperfine/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/hyperfine/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/hyperfine/#resource-tasks>)

- Compare the execution time of two commands
- Perform repeated measurements and compare timing statistics

## Category IDs

- software
- infrastructure

## Subcategory IDs

- software\.cli
- infrastructure\.developer

## Tags

- Hyperfine
- CLI
- Development

## Also known as

- sharkdp/hyperfine
- hyperfine
- cli\-benchmarking\-tool

## [Selection purpose](<https://base.akulich.dev/en/library/hyperfine/#resource-selection>)

Compare the execution time of two commands

## [Choose this when](<https://base.akulich.dev/en/library/hyperfine/#resource-selection>)

- Compare the execution time of two commands
- Perform repeated measurements and compare timing statistics

## [Requirements](<https://base.akulich.dev/en/library/hyperfine/#resource-selection>)

- Choose identical inputs and explicitly define cache behavior: warming up or preparing before each measurement\.

## [Limitations](<https://base.akulich.dev/en/library/hyperfine/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Warm\-cache and cold\-cache results cannot be compared as the same experiment\.

## [Questions before use](<https://base.akulich.dev/en/library/hyperfine/#resource-faq>)

### What can you use for free in Hyperfine?

Code and local use under MIT\.

### What additional costs might arise with Hyperfine?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Hyperfine?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Hyperfine?

Define comparable commands and identical benchmark inputs\. Perform repeated measurements and compare timing statistics\. Save the working command or script and the result criteria\.

### How does \-\-warmup differ from \-\-prepare in Hyperfine?

\-\-warmup performs preliminary runs before measurements\. \-\-prepare runs the specified preparation command before every measured run, for example to clear the cache\. \-\-setup runs once before a command's series; this is a different stage\.

## Sources for the selection guide

- [https://github\.com/sharkdp/hyperfine](<https://github.com/sharkdp/hyperfine>)
- [https://raw\.githubusercontent\.com/sharkdp/hyperfine/HEAD/README\.md](<https://raw.githubusercontent.com/sharkdp/hyperfine/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/sharkdp/hyperfine/HEAD/LICENSE\-MIT](<https://raw.githubusercontent.com/sharkdp/hyperfine/HEAD/LICENSE-MIT>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://raw\.githubusercontent\.com/sharkdp/hyperfine/master/README\.md](<https://raw.githubusercontent.com/sharkdp/hyperfine/master/README.md>)
- [https://raw\.githubusercontent\.com/sharkdp/hyperfine/master/LICENSE\-MIT](<https://raw.githubusercontent.com/sharkdp/hyperfine/master/LICENSE-MIT>)

## [Possible workflow](<https://base.akulich.dev/en/library/hyperfine/#resource-scenario>)

Compare the execution time of two commands\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Project files or environment\.
- A shell and supported platform\.

## Steps

1. Define comparable commands and identical benchmark inputs\.
2. Perform repeated measurements and compare timing statistics\.
3. Save the working command or script and the result criteria\.

## Check your result

- The command correctly handles paths, Unicode, and invalid inputs\.
- Repeat runs behave predictably; credentials do not appear in the output\.

## [License](<https://base.akulich.dev/en/library/hyperfine/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/hyperfine/#resource-sources>)

- [Official source](<https://github.com/sharkdp/hyperfine>)
- [Official source](<https://raw.githubusercontent.com/sharkdp/hyperfine/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/sharkdp/hyperfine/HEAD/LICENSE-MIT>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://raw.githubusercontent.com/sharkdp/hyperfine/master/README.md>)
- [Official source](<https://raw.githubusercontent.com/sharkdp/hyperfine/master/LICENSE-MIT>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
