aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorwfjsw <wfjsw@users.noreply.github.com>2023-07-18 11:00:16 +0000
committerwfjsw <wfjsw@users.noreply.github.com>2023-07-18 11:00:16 +0000
commit3c570421d3a2eb24528b5f5bb615dcb0c7717e4a (patch)
tree26f106cf778779d297f3978002d0434d3dd4d00f /launch.py
parent420cc8f68e6aca8a3a0f42ee0e626a6b03712763 (diff)
downloadstable-diffusion-webui-gfx803-3c570421d3a2eb24528b5f5bb615dcb0c7717e4a.tar.gz
stable-diffusion-webui-gfx803-3c570421d3a2eb24528b5f5bb615dcb0c7717e4a.tar.bz2
stable-diffusion-webui-gfx803-3c570421d3a2eb24528b5f5bb615dcb0c7717e4a.zip
move start timer
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/launch.py b/launch.py
index b103c8f3..e9667c88 100644
--- a/launch.py
+++ b/launch.py
@@ -1,4 +1,4 @@
-from modules import launch_utils
+from modules import launch_utils, timer
args = launch_utils.args
@@ -25,6 +25,8 @@ start = launch_utils.start
def main():
+ timer.startup_timer.record("start")
+
if not args.skip_prepare_environment:
prepare_environment()