This commit is contained in:
Meng Xiangzhuo
2024-10-04 11:52:07 +08:00
parent 30a273c946
commit 852a1900b4

View File

@@ -6,6 +6,9 @@ MAXIMUM_STARTUP_TIME = 0.5
def test_startup_time(): def test_startup_time():
# warm up to generate pyc
subprocess.run(["freqtrade", "-h"])
start = time.time() start = time.time()
subprocess.run(["freqtrade", "-h"]) subprocess.run(["freqtrade", "-h"])
elapsed = time.time() - start elapsed = time.time() - start