in {elapsed:0.2f} seconds." + "\033[0m")s = time.perf_counter()generate_serially()elapsed = time.perf_counter() - sprint("\033[1m" + f"Serial executed in {elapsed:0.2f} seconds." + "\033[0m")            BrightSmile Toothpaste Company            BrightSmile Toothpaste Co.            BrightSmile Toothpaste            Gleaming Smile Inc.            SparkleSmile Toothpaste    Concurrent executed in 1.54 seconds.            BrightSmile Toothpaste Co.            MintyFresh Toothpaste Co.            SparkleSmile Toothpaste.            Pearly Whites Toothpaste Co.            BrightSmile Toothpaste.    Serial executed in 6.38 seconds.PreviousHow toNextDifferent call methodsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
LangChain provides async support for Chains by leveraging the asyncio library.
LangChain provides async support for Chains by leveraging the asyncio library. ->: in {elapsed:0.2f} seconds." + "\033[0m")s = time.perf_counter()generate_serially()elapsed = time.perf_counter() - sprint("\033[1m" + f"Serial executed in {elapsed:0.2f} seconds." + "\033[0m")            BrightSmile Toothpaste Company            BrightSmile Toothpaste Co.            BrightSmile Toothpaste            Gleaming Smile Inc.            SparkleSmile Toothpaste    Concurrent executed in 1.54 seconds.            BrightSmile Toothpaste Co.            MintyFresh Toothpaste Co.            SparkleSmile Toothpaste.            Pearly Whites Toothpaste Co.            BrightSmile Toothpaste.    Serial executed in 6.38 seconds.PreviousHow toNextDifferent call methodsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.