Module utils

Module utils 

Source
Expand description

Utility functions for timing

Functionsยง

benchmark
Benchmark a function with multiple iterations
scoped_timer
Create a scoped timer that records to the provided timer
time_and_record
Time a function and record the duration in the provided timer
time_fn
Time a function execution and return the result + duration