Decorator profiling the decorated callable using cProfile. It
outputs
def
label(code):
Undocumented
def
profileit(func):
Decorator profiling the decorated callable using cProfile. It outputs
the result both in the console and in a file suitable for visualisation
in KCacheGrind.
Usage example:
@profileit
def my_function(arg1, ...):
...