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