famafrench.utils.timing

famafrench.utils.timing(func)[source]

Wrapper for class instance methods enabling the timing of execution. Important for measuring speed and performance measurement.

Parameters

func (func) – Function to be wrapped and timed following execution.

Returns

wrapper – The wrapped result(s) for the function func.

Return type

arbitrary wrapped object