9 import server 10 11 _LOG_TIME = True 12 try: _LOG_TIME = os.getenv("COMFYUI_PROFILER_LOG_TIME", "true").lower() in ['true', '1'] 13 except: pass 14 15 _PRECISION = 4 16 try: _PRECISION = int(os.getenv("COMFYUI_PROFILER_PRECISION", _PRECISION))
13 except: pass 14 15 _PRECISION = 4 16 try: _PRECISION = int(os.getenv("COMFYUI_PROFILER_PRECISION", _PRECISION)) 17 except: pass 18 19 exist_recursive_execute = execution.recursive_execute 20 exist_PromptExecutor_execute = execution.PromptExecutor.execute