Profile Detailed • AI Agents Framework
profile_detailed: Decorator for detailed cProfile profiling.
profile_detailed
Function
</div>
This function is defined in the profiler module.
Decorator for detailed cProfile profiling.
Signature
def profile_detailed(func: Optional[Callable]) -> AnyParameters
ParamField
Optional[Callable]No description available.
Returns
ResponseField
AnyThe result of the operation.
Usage
@profile_detailed
def heavy_computation():
passUses
Profiler.is_enabledfncProfile.Profilepr.enablepr.disableio.StringIOsort_statspstats.Statsps.print_statsProfiler.record_cprofile
Source
View on GitHubpraisonai/profiler.py at line 1204