Every run tells a story.
Mean, median, standard deviation, user and system CPU time. Compare commands with relative performance ratios.
THE PERFORMANCE MEASUREMENT TOOLKIT
Joining Better Web ↗A faster command. A smaller footprint. But at what cost? perfratio measures time, memory and energy, so you can see the whole picture.
./optimized vs. ./baseline
148.2 ms → 92.6 ms148.2 → 92.6
24.0 → 18.2
* Speed alone never tells the whole story.
EXPLORE THE DIMENSIONS01 / THE WHOLE PICTURE
A faster command is a good start. Knowing its resource cost and whether the difference is meaningful is a better benchmark.
Mean, median, standard deviation, user and system CPU time. Compare commands with relative performance ratios.
Track peak resident memory alongside execution time. Understand the resource cost behind an optimization.
Measure energy in Joules and average power in Watts with supported hardware sensors, including Linux RAPL.
Bootstrap confidence intervals and two-sample significance tests with --deep-stats.
02 / YOUR WORKFLOW
Built on the heritage of hyperfine and joulex. Bring your existing shell commands and explore more of what happens when they run.
Explore the getting-started guide →Warm up caches, check the system and interleave runs.
Compare runtime and memory. Add energy and deep statistics.
Export JSON, CSV, Markdown or a standalone HTML report.
03 / IN THE TERMINAL
perfratio --warmup 3 'grep -R TODO src' 'rg TODO src'Compare shell commands with warmup runs before measurement.
04 / GET STARTED
Install from the source repository with Cargo. Requires Rust 1.88 or newer.
Explore releases ↗cargo install --git https://github.com/UnitedOpen-Source/perfratio --locked perfratioperfratio --warmup 3 'sleep 0.1' 'sleep 0.2'Need help reading the results? Follow the guide →
OPEN SOURCE. OPEN POSSIBILITIES.
perfratio is moving into the Better Web ecosystem. Explore the code, report an issue or help shape what comes next.