-
Notifications
You must be signed in to change notification settings - Fork 254
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
refactor: migrate disk collection code off of heim, remove heim #1064
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1064 +/- ##
==========================================
- Coverage 26.44% 25.77% -0.67%
==========================================
Files 83 94 +11
Lines 14732 15377 +645
==========================================
+ Hits 3896 3964 +68
- Misses 10836 11413 +577
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
b4877ad
to
0cf3106
Compare
af948f5
to
17f6862
Compare
dec1224
to
412f35b
Compare
Follow-up: might be worth moving some of the disk and I/O merging logic here, as we can optimize what's stored in the first place and possibly minimize system API calls. |
Turns out sysinfo lacks a lot of data I need. I can still use it for the Windows disk usage implementation, but I'm probably going to manually implement macos/linux usage and all io usage stats.
3d27ce7
to
a30aac1
Compare
Description
A description of the change, what it does, and why it was made. If relevant (such as any change that modifies the UI), please provide screenshots of the changes:
Migrates existing heim-based disk data collection code off of it to either sysinfo or vendored code based on heim/sysinfo/other sources. This also allows us to remove heim completely from bottom.
Issue
If applicable, what issue does this address?
Closes: #597
Closes: #787
Closes: #812
Closes: #1075
Testing
If relevant, please state how this was tested. All changes must be tested to work:
If this is a code change, please also indicate which platforms were tested:
Checklist
If relevant, ensure the following have been met:
cargo fmt
)README.md
, help menu, doc pages, etc.)