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

python
with profile_imports() as profiler:
        import heavy_module

    print(profiler.get_imports())

Source

View on GitHub

praisonai/profiler.py at line 1082


Related Documentation