Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

time_import

Function
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) -> float

Parameters

module_name
str
required
No description available.

Returns

Returns
float
The result of the operation.

Uses

  • time.time

Source

View on GitHub

praisonai/profiler.py at line 1165