This commit is contained in:
Eugene Yurtsev
2025-03-19 11:27:56 -04:00
parent a951334f7f
commit 4068e9d135
+3
View File
@@ -32,6 +32,8 @@ if __name__ == "__main__":
import asyncio
import time
import uvloop
graph = create_sequential(2000).compile()
input = {"messages": []} # Empty list of messages
config = {"recursion_limit": 20000000000}
@@ -39,6 +41,7 @@ if __name__ == "__main__":
async def run():
len([c async for c in graph.astream(input, config=config)])
uvloop.install()
start = time.time()
asyncio.run(run())
end = time.time()