Std.Bench.ratio
1 declaration
fn
ratio: &Std.Bench.Report -> &Std.Bench.Report -> IntThis is a callable function.
What it does
How one measurement compares with another, in hundredths.
A hundred means the two took the same time, two hundred means the
candidate took twice as long. Reported as a whole number of hundredths
rather than as a ratio, because these are counts of milliseconds and a
floating quotient would suggest a precision the clock does not have.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
