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

Avoid sysinfo::System::new_all #1064

Merged
merged 1 commit into from
Jun 24, 2023
Merged

Conversation

vi
Copy link
Contributor

@vi vi commented Jun 23, 2023

new_all fetches all possible information (including all processes and disks details), which is slow and a privacy risk.

qsv uses refresh_* methods to request specific information about the system anyway, so plain System::new should be enough.

Resolves #1063.

`new_all` fetches _all_ possible information
(including all processes and disks details),
which is slow and a privacy risk.

qsv uses `refresh_*` methods to request specific
information about the system anyway, so plain
`System::new` should be enough.

Resolves dathere#1063.
@jqnatividad jqnatividad merged commit adf898d into dathere:master Jun 24, 2023
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.

All calls of qsv (even trivial ones like --help or --list) are heavyweight.
2 participants