sharkdp/hyperfine

Exporting can fail with "Relative speed comparison is not available" for fast-running commands

sharkdp opened this issue · 0 comments

This happens when the mean is zero:

▶ hyperfine --runs=1 'true' --export-markdown -
Benchmark 1: true
  Time (abs ≡):          0.0 ms               [User: 0.2 ms, System: 0.0 ms]
 
  Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely.
 
Error: Relative speed comparison is not available for markup exporter.