Time Import • AI Agents Framework

time_import: Time how long it takes to import a module.

time_import

Function

</div>

This function is defined in the profiler module.

Time how long it takes to import a module.

Returns duration in milliseconds.

Signature

python
def time_import(module_name: str) -> float

Parameters

ParamField str

No description available.

Returns

ResponseField float

The result of the operation.

Uses

  • time.time

Source

View on GitHub

praisonai/profiler.py at line 1296