Expand description
Time measurement.
Functionsยง
- measure
- Measures the time taken by
fto execute, returning a pair of(Duration, T). - try_
measure - Measures the time taken by fallible function
fto execute, returning a pair ofResult<(Duration, T), E>, so that this function can be used in combination with?.