{"repo":"sharkdp/hyperfine","free":true,"listed":false,"github":"https://github.com/sharkdp/hyperfine","clone":"git clone https://github.com/sharkdp/hyperfine.git","description":"A command-line benchmarking tool","language":"Rust","stars":28666,"topics":["command-line","tool","benchmark","rust","cli","terminal"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"hyperfine 中文 A command-line benchmarking tool. Demo : Benchmarking fd and find : Features Statistical analysis across multiple runs. Support for arbitrary shell commands. Constant feedback about the benchmark progress and current estimates. Warmup runs can be executed before the actual benchmark. Cache-clearing commands can be set up before each timing run. Statistical outlier detection to detect interference from other programs and caching effects. Export results to various formats: CSV, JSON, Markdown, AsciiDoc. Parameterized benchmarks (e.g. vary the number of threads). Cross-platform Usage Basic benchmarks To run a benchmark, you can simply call hyperfine ... . The argument(s) can be any shell command. For example: Hyperfine will automatically determine the number of runs to perform for each command. By default, it will perform at least 10 benchmarking runs and measure for at least 3 seconds. To change this, you can use the -r / --runs option: If you want to compare the runtimes of different programs, you can pass multiple commands: Warmup runs and preparation commands For programs that perform a lot of disk I/O, the benchmarking results can be heavily influenced by disk caches and whether they are cold or warm. If you want to run the benchmark on a warm cache, you can use the -w / --warmup option to perform a certain number of program executions before the actual benchmark: Conversely, if you want to run the benchmark for a cold cache, you can use the -p / --prepare opti","default_branch":null,"files":null,"tree":[],"storefront":"/r/sharkdp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sharkdp/hyperfine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}