first commit

This commit is contained in:
yangshangbo
2025-04-10 18:14:01 +08:00
commit 8b18de9693
26 changed files with 270858 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
from datetime import datetime
def async_fn (delay):
return delay
threads = []
start = datetime.now()
count = 0
while(count < 10000000):
count+=1
threads.append(async_fn(1))
end = datetime.now()
print(f"spawn time {end - start}")
print(f"done {threads[1:100]}")