Import Profiler • AI Agents Framework
ImportProfiler: Context manager to profile imports.
ImportProfiler
Defined in the profiler module.
AI Agents Framework
Context manager to profile imports.
Methods
Usage
with profile_imports() as profiler:
import heavy_module
print(profiler.get_imports())Source
View on GitHubpraisonai/profiler.py at line 1082