from .execution_time import ExecutionTime
import os

# 全局性能分析器实例
_ENABLE_PROFILE = os.environ.get("ENABLE_PROFILE", "false").lower() in ("true", "1", "yes")
_profiler = ExecutionTime(enabled=_ENABLE_PROFILE)
_profiler.patch_execution()
