FuncProfiler Functions
Function profile
Args:
export_format (Optional[str]): The format to export the profiling data ('txt', 'json', 'csv', 'html', 'xml', 'md').
filename (Optional[str]): The name of the output file (without extension).
shared_log (Optional[bool]): If True, log to a shared file for all profiled functions.
enabled (bool): If False, the decorator will not perform any profiling.
log_level (str): The logging level ("info" or "debug").
Returns:
Callable: The profiling wrapper or decorator function.Available values for Function profile:
Line-by-line profile
Available values for Line-by-line profile:
Last updated