Function-Profiler
Function-Profiler copied to clipboard
Python 3.6 Module to Profile Function Performance in Production
Add an option to log a function call with all its arguments, so it becomes even easier to detect which functions need improvement. (E.g. if some function is O(N^3) and...
The problems with testing `log_data` are that: 1. The logged times are system-dependent. It's possible to mock these times. 2. The function fulfills several purposes: some logical checks, creating the...
`__enter__` has good implicit test coverage from `General`. The coverage for `__exit__` is less thorough. It'd be good to have a unittest for both of those functions. We'd need mock...