Skip to content
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

feat: Performance boost with Promise.all concurrency 🚀 #40212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sanjaiyan-dev
Copy link

This PR improves performance by switching to concurrent execution of asynchronous operations using Promise.all. Previously, these operations were sequential, increasing processing time.

Promise.all allows multiple promises to resolve concurrently, significantly reducing the overall execution time when dealing with independent asynchronous tasks. This is especially beneficial when I/O bound operations are involved, as the CPU can work on other tasks while waiting for responses.

Extremely sorry if I made any mistakes.

@CLAassistant
Copy link

CLAassistant commented Dec 26, 2024

CLA assistant check
All committers have signed the CLA.

@erwinmombay
Copy link
Member

heya looks like the build is broken because of a chrome issue that we are currently trying to resolve. once it is fixed, we'll need to rebase this. I'll ping this thread once we've merged the workaround.

@erwinmombay
Copy link
Member

the issue has been temporarily resolved thru #39912 . Please rebase this PR and ping me when ready.

Thank for for submitting this optimization!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants