mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1271] [MERGED] perf(komorebi): dont pull redundant info from sysinfo::System #1289
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1271
Author: @Dethada
Created: 2/10/2025
Status: ✅ Merged
Merged: 2/15/2025
Merged by: @LGUG2Z
Base:
master← Head:komorebi_startup_perf📝 Commits (1)
44c4b3cperf(komorebi): dont pull redundant info from sysinfo::System📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
komorebi/src/main.rs(+1 -1)📄 Description
System::new_all() pulls all information (processes, cpu, mem, etc) but we only need process information. In addition currently it is being polled twice. System::new() creates an uninitialized struct, then we poll specifically for process info.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.