block • AI Agents Framework
block: Context manager for profiling a block of code.
block
Method
</div>
This is a method of the ProfilerCompat class in the profiler module.
Context manager for profiling a block of code.
Signature
def block(name: str, category: str) -> AnyParameters
ParamField
strNo description available.
ParamField
strNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
blockget_profiler
Used By
Source
View on GitHubpraisonai/profiler.py at line 826