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
def time_import(module_name: str) -> floatParameters
ParamField
strNo description available.
Returns
ResponseField
floatThe result of the operation.
Uses
time.time
Source
View on GitHubpraisonai/profiler.py at line 1296