profile
Function
This function is defined in the profiler module.Decorator to profile a function.
Signature
Parameters
No description available.
Returns
The result of the operation.
Decorator to profile a function.
This function is defined in the profiler module.Decorator to profile a function.
def profile(func: Optional[Callable]) -> Any
@profile
def my_function():
pass
@profile(category="api")
def api_call():
pass