cargo_test_support

Function slow_cpu_multiplier

Source
pub fn slow_cpu_multiplier(main: u64) -> Duration
Expand description

A way for to increase the cut off for all the time based test.

Some CI setups are much slower then the equipment used by Cargo itself. Architectures that do not have a modern processor, hardware emulation, etc.