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

perf: Concurrent Asynchronous Execution: Optimizing Performance with Promise.all #995

Conversation

sanjaiyan-dev
Copy link

Hello,

This pull request introduces a performance improvement by executing asynchronous tasks concurrently using Promise.all. The enhancement aims to optimize the effective 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.

@connorjclark
Copy link
Collaborator

Sorry but I don't think these changes are worth the churn. Also they may be problematic, sending so many requests at once to external services like GitHub may be too bursty and hit API limits.

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.

2 participants