Commit 33694bae authored by Jabasukuriputo Wang's avatar Jabasukuriputo Wang Committed by GitHub

avoid importing timer when it is not strictly needed

parent fc3bdf8c
from modules import launch_utils, timer from modules import launch_utils
args = launch_utils.args args = launch_utils.args
...@@ -26,6 +26,7 @@ start = launch_utils.start ...@@ -26,6 +26,7 @@ start = launch_utils.start
def main(): def main():
from modules import timer
timer.startup_timer.record("start") timer.startup_timer.record("start")
if not args.skip_prepare_environment: if not args.skip_prepare_environment:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment