Skip to content

Add a decorator for recording execution time.

Matt Wala requested to merge record-exec-time into master

This change introduces a decorator for recording execution time of a function. The decorator adds an optional keyword argument to the decorated function, and the execution time is returned by passing a dict as the optional keyword argument.

Merge request reports

Loading