hyperfine --warmup — benchmark with cache warm-up runs
hyperfine --warmup 3 'ls'
hyperfine's `--warmup` flag runs the command a specified number of times before recording measurements, ensuring filesystem and CPU caches are in a hot state for more reproducible results.
#benchmark
#cache
#hyperfine
#performance
#warmup
Download
⬇ GIF (84.6 KB)
⬇ MP4 (Converting...)
Embed
[](https://agentgif.com/@agentgif/hyperfine-warmup)
<a href="https://agentgif.com/@agentgif/hyperfine-warmup"><img src="https://media.agentgif.com/preseed/hyperfine-warmup/demo.gif" alt="hyperfine --warmup — benchmark with cache warm-up runs" width="1200"></a>
<iframe src="https://agentgif.com/embed/Jdc3DH0H/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="Jdc3DH0H"></div><script src="https://agentgif.com/widget.js" async></script>