From 5377b77ca5ee04fda2302cd7387b8324c8db2cbc Mon Sep 17 00:00:00 2001 From: phmycqkit <656078035@qq.com> Date: Wed, 18 Sep 2024 18:56:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..608f491 --- /dev/null +++ b/main.py @@ -0,0 +1,20 @@ +from GetDanmu import GetInfo +from GetAI import GetAI +from GetWordCloud import GetWordCloud +import time + +if __name__ == '__main__': + start_time = time.perf_counter() + GetInfo() + end_time = time.perf_counter() + print(f"GetInfo函数执行时间:{end_time - start_time}秒") + + start_time = time.perf_counter() + GetAI() + end_time = time.perf_counter() + print(f"GetAI函数执行时间:{end_time - start_time}秒") + + start_time = time.perf_counter() + GetWordCloud() + end_time = time.perf_counter() + print(f"GetWordCloud函数执行时间:{end_time - start_time}秒") \ No newline at end of file