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

fix: dynamic storage info slow on windows #993

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

Victor333Huesca
Copy link
Contributor

For some reason I can't explain, the original order of fetching system information is slow using the Promise.all gathering method as opposed to two sequential awaits...

The reversed order does not suffer from this performance issue though...

Description

Related Issue(s)

For some reason I can't explain, the original order of fetching system
information is slow using the Promise.all gathering method as opposed to
two sequential awaits...

The reversed order does not suffer from this performance issue though...
@MauriceNino
Copy link
Owner

Okay, that is very weird. But thank you for investigating, and thank you for your contribution!

@MauriceNino MauriceNino merged commit 64655f1 into MauriceNino:dev Jan 6, 2024
@Victor333Huesca
Copy link
Contributor Author

For completeness, the impacted setup was a Windows 11 platform, this might vary on other system.
I don't expect any performance regression on other platform, as this really looks like a bug with how systeminformation handles concurrent promises.

Thanks for the quick merge!

github-actions bot added a commit that referenced this pull request Jan 6, 2024
## [5.3.2](v5.3.1...v5.3.2) (2024-01-06)

### Bug Fixes

* dynamic storage info slow on windows ([#993](#993)) ([64655f1](64655f1))
Copy link
Contributor

github-actions bot commented Jan 6, 2024

🎉 This issue has been resolved in version 5.3.2

Please check the changelog for more details.

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.

None yet

2 participants