aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-22 09:19:36 +0000
committerGitHub <noreply@github.com>2023-07-22 09:19:36 +0000
commit491d42bb1cbb9e6905f9ab1e7db77a0497f50f85 (patch)
treeef2f373df0a56713d597a6bd197edebdaa04bda1 /launch.py
parent45c0f58dc656bbc1fd101fd5eb7963d91f3e0096 (diff)
parent33694baea1a886021e19da27b4ff41898428cbbd (diff)
downloadstable-diffusion-webui-gfx803-491d42bb1cbb9e6905f9ab1e7db77a0497f50f85.tar.gz
stable-diffusion-webui-gfx803-491d42bb1cbb9e6905f9ab1e7db77a0497f50f85.tar.bz2
stable-diffusion-webui-gfx803-491d42bb1cbb9e6905f9ab1e7db77a0497f50f85.zip
Merge pull request #11856 from wfjsw/move-start-timer
Only start timer when actually starting
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/launch.py b/launch.py
index 1dbc4c6e..114466cf 100644
--- a/launch.py
+++ b/launch.py
@@ -26,6 +26,9 @@ start = launch_utils.start
def main():
+ from modules import timer
+ timer.startup_timer.record("start")
+
if not args.skip_prepare_environment:
prepare_environment()