-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: Optimize asynchronous task executions ✈ #15715
base: main
Are you sure you want to change the base?
core: Optimize asynchronous task executions ✈ #15715
Conversation
Promise.all
for Improved Performance ✈Promise.all
for Performance ✈
Promise.all
for Performance ✈Promise.all
for Performance ✈
Promise.all
for Performance ✈Lint fix
Done :) |
Thanks for the PR! However, there may be a couple faster things in here, but most I think are no faster and just harder to read. There's no I/O work happening in most of these these aync tasks - so I'd expect this to not be beneficial for those tasks. Do you have performance numbers to back it up? w/o, I'd prefer to keep the current more easily readable/writable/blameable code. |
Hi @connorjclark, Sorry for the delayed response. I hope the current code changes are correct, and I apologize for any inconvenience. 🫱🏼🫲🏾 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hello,
This pull request introduces a performance improvement by executing asynchronous tasks concurrently using
Promise.all
. This enhancement aims to optimize the efficient utilization of hardware resources.This PR draws inspiration from a similar one (though not identical) in the Deno runtime, where the execution time was reduced by 85% through concurrent processing. For reference, please see: denoland/std#3363.
Thank you for considering these enhancements.