A Decorator to Record Execution Time
It can be useful to measure the execution time of functions to ensure your code is running well. An execution time way longer than average implies an issue. Here is a lightweight context manager, implemented as a decorator, which saves some metrics o...
nav610.hashnode.dev2 min read