awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sharkdp avatar

sharkdp/hyperfine

0
View on GitHub↗
28,316 星标·486 分支·Rust·Apache-2.0·12 次浏览

Hyperfine

Hyperfine is a command-line benchmarking tool used to measure the execution time of shell commands through multiple runs and statistical analysis. It functions as a comparative benchmarking utility and a shell performance analyzer, allowing for the evaluation of multiple commands against a reference baseline to determine relative speed.

The tool distinguishes itself by isolating actual command performance through shell overhead correction and the ability to bypass the shell entirely using system calls. It supports parameterized execution, enabling benchmarks to run across a range of varying input parameters to analyze how specific changes impact execution speed.

The system manages the full benchmark lifecycle, including environment preparation through warmup runs and the execution of setup and cleanup hooks. It provides statistical outlier filtering, measurement precision tuning from microseconds to seconds, and the ability to export timing data into structured file formats for external reporting and visualization.

Command output can be managed through piping, inheritance, or redirection to control the data stream of executed programs.

Features

  • Command Line Benchmarking - Measures the execution time of shell commands across multiple runs to produce a statistical analysis of performance.
  • Command Parameter Scanning - Runs benchmarks across a range of varying input parameters to analyze how specific changes impact execution speed.
  • Command Line Tools - Provides a tool for measuring the execution time of shell commands through multiple runs and statistical analysis.
  • Execution Profiling - Isolates actual command performance by removing shell startup overhead and controlling the execution environment.
  • Shell Overhead Correction - Isolates actual command performance by subtracting the constant startup overhead of the intermediate shell.
  • Shell Performance Analysis - Isolates command execution speed by removing shell startup overhead and managing warmup runs.
  • Shell-Bypass Execution - Starts child processes directly using system calls to eliminate shell startup overhead from timing measurements.
  • Comparative Benchmarking Utilities - Evaluates multiple shell commands against each other using a reference baseline to determine relative speed.
  • Comparative Performance Benchmarking - Provides the ability to compare multiple commands against a single reference process to determine relative speed differences.
  • Overhead Correction - Measures a null shell operation to subtract the constant overhead of the shell from the total command time.
  • Performance Testing and Analysis - Evaluates multiple commands against each other using a reference baseline to determine relative speed differences.
  • Software Performance Comparison - Evaluates multiple commands or versions of a program against each other to determine relative speed differences.
  • Statistical Sampling Benchmarks - Executes commands repeatedly in a loop to gather a statistical distribution of execution times.
  • Command Templates - Replaces placeholders in command strings with a set of values to generate and run multiple benchmark variations.
  • Lifecycle Hooks - Runs specific setup and cleanup commands around the core timing loop to ensure a consistent environment.
  • Performance Benchmarking - Executes warmup runs or clears caches before timing to ensure consistent and reproducible performance measurements.
  • Shell Command Execution - Allows specifying the shell used to run commands or bypassing the shell entirely to reduce startup overhead.
  • Lifecycle Management - Provides setup and cleanup hooks to ensure a consistent environment for every benchmark run.
  • Test Parameterization - Runs benchmarks across a range of input values to analyze how specific parameter changes impact execution speed.
  • Outlier Filtering - Processes collected timing data to identify and remove noise or anomalies from the final performance average.
  • Parameterized Execution Timing - Runs commands across a range of varying input parameters to analyze performance impacts.
  • Performance Measurement - Supports high-resolution timing from microseconds to seconds and minimizes noise by bypassing intermediate shells.
  • Command Line Utilities - Benchmarks command-line performance.
  • Performance Analysis Tools - Command-line benchmarking tool with statistical analysis.
  • Profiling and Benchmarking - Command-line tool for benchmarking arbitrary shell commands.
  • Profiling Tools - Command-line benchmarking tool.
  • System Monitoring and Benchmarking - Command-line tool for benchmarking execution time.
  • time - Listed in the “time” section of the Awesome Alternatives In Rust awesome list.

Star 历史

sharkdp/hyperfine 的 Star 历史图表sharkdp/hyperfine 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Hyperfine 的开源替代方案

相似的开源项目,按与 Hyperfine 的功能重合度排序。
  • google/benchmarkgoogle 的头像

    google/benchmark

    10,240在 GitHub 上查看↗

    This project is a performance measurement framework and microbenchmarking library designed for C++ and Python. It provides a toolset for measuring the execution time of small code fragments using high-resolution timers, calculating statistical aggregates, and analyzing asymptotic complexity. The framework distinguishes itself through specialized capabilities for multithreaded performance testing, using synchronized execution to measure parallel throughput. It includes mechanisms to prevent compiler optimizations from removing benchmarked code and supports complex parameterization via Cartesia

    C++benchmark
    在 GitHub 上查看↗10,240
  • bheisler/criterion.rsbheisler 的头像

    bheisler/criterion.rs

    5,485在 GitHub 上查看↗

    Criterion is a statistics-driven microbenchmarking library and performance regression tool for Rust. It provides a framework for isolating and measuring small code segments, using statistical analysis to eliminate noise and ensure reliable, repeatable measurements of execution speed. The tool distinguishes itself through a performance visualization suite that generates HTML reports and graphs to track performance trends and throughput. It includes a system for comparing current execution times against stored baselines to identify and prevent performance drops. The library covers asynchronous

    Rustbenchmarkcriteriongnuplot
    在 GitHub 上查看↗5,485
  • dotnet/benchmarkdotnetdotnet 的头像

    dotnet/BenchmarkDotNet

    11,428在 GitHub 上查看↗

    BenchmarkDotNet is a library and tool suite for measuring the execution time and memory allocation of .NET code. It utilizes statistical sampling and warm-up iterations to determine the stability and precise execution speed of specific methods. The project provides a JIT disassembly viewer to inspect processor disassembly and analyze how the compiler executes code paths. It includes a memory allocation profiler that tracks managed and native memory traffic to identify efficiency bottlenecks. Additionally, a runtime performance comparator allows the same benchmarks to be executed across differ

    C#benchmarkbenchmarkingc-sharp
    在 GitHub 上查看↗11,428
  • orf/gpingorf 的头像

    orf/gping

    12,528在 GitHub 上查看↗

    gping is a terminal-based network latency grapher and performance monitor. It functions as a cross-platform ping client that visualizes ICMP response times as real-time line graphs directly within the command line. The tool distinguishes itself by operating as a command execution time plotter, allowing the duration of any shell command to be graphed over time to analyze performance fluctuations. It supports multi-host latency plotting and provides shorthand identifiers for monitoring connectivity across different cloud infrastructure regions. The utility covers network diagnostics and observ

    Rustclicommand-linegraph
    在 GitHub 上查看↗12,528
查看 Hyperfine 的所有 30 个替代方案→

常见问题解答

sharkdp/hyperfine 是做什么的?

Hyperfine is a command-line benchmarking tool used to measure the execution time of shell commands through multiple runs and statistical analysis. It functions as a comparative benchmarking utility and a shell performance analyzer, allowing for the evaluation of multiple commands against a reference baseline to determine relative speed.

sharkdp/hyperfine 的主要功能有哪些?

sharkdp/hyperfine 的主要功能包括:Command Line Benchmarking, Command Parameter Scanning, Command Line Tools, Execution Profiling, Shell Overhead Correction, Shell Performance Analysis, Shell-Bypass Execution, Comparative Benchmarking Utilities。

sharkdp/hyperfine 有哪些开源替代品?

sharkdp/hyperfine 的开源替代品包括: google/benchmark — This project is a performance measurement framework and microbenchmarking library designed for C++ and Python. It… bheisler/criterion.rs — Criterion is a statistics-driven microbenchmarking library and performance regression tool for Rust. It provides a… dotnet/benchmarkdotnet — BenchmarkDotNet is a library and tool suite for measuring the execution time and memory allocation of .NET code. It… orf/gping — gping is a terminal-based network latency grapher and performance monitor. It functions as a cross-platform ping… nicolargo/glances — Glances is a cross-platform system monitoring tool designed to track real-time resource usage and hardware health… koute/bytehound — Bytehound is a Linux memory profiler that utilizes a custom global allocator to intercept memory requests and track…