Skip to content
Myr

Improve error message, mention --shell=none

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent bf9644d · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:src/benchmark/scheduler.rs+3 added-2 removed
85 unmodified lines
86 eprintln!(87 "{}: The benchmark comparison could not be computed as some benchmark times are zero. \88 This could be caused by background interference during the initial calibration phase \89 of hyperfine, in combination with very fast commands (faster than a few milliseconds). \90 Try to re-run the benchmark on a quiet system. If it does not help, you command is \91 most likely too fast to be accurately benchmarked by hyperfine.",90 Try to re-run the benchmark on a quiet system. If you did not do so already, try the \91 --shell=none/-N option. If it does not help either, you command is most likely too fast \92 to be accurately benchmarked by hyperfine.",93 "Note".bold().red()94 );95 }96 }
5 unmodified lines