parent
a4f437f1ab
commit
5377b77ca5
@ -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}秒")
|
Loading…
Reference in new issue