start timer early anyway
This commit is contained in:
parent
491d42bb1c
commit
90eb731ff1
|
@ -1,6 +1,5 @@
|
|||
from modules import launch_utils
|
||||
|
||||
|
||||
args = launch_utils.args
|
||||
python = launch_utils.python
|
||||
git = launch_utils.git
|
||||
|
@ -26,8 +25,6 @@ start = launch_utils.start
|
|||
|
||||
|
||||
def main():
|
||||
from modules import timer
|
||||
timer.startup_timer.record("start")
|
||||
|
||||
if not args.skip_prepare_environment:
|
||||
prepare_environment()
|
||||
|
|
|
@ -10,6 +10,7 @@ from functools import lru_cache
|
|||
|
||||
from modules import cmd_args, errors
|
||||
from modules.paths_internal import script_path, extensions_dir
|
||||
from modules import timer # noqa:F401
|
||||
|
||||
args, _ = cmd_args.parser.parse_known_args()
|
||||
|
||||
|
|
Loading…
Reference in New Issue