[PR #1271] [MERGED] perf(komorebi): dont pull redundant info from sysinfo::System #1289

Closed
opened 2026-01-05 14:54:46 +01:00 by adam · 0 comments
Owner

📋 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: masterHead: komorebi_startup_perf


📝 Commits (1)

  • 44c4b3c perf(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.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/1271 **Author:** [@Dethada](https://github.com/Dethada) **Created:** 2/10/2025 **Status:** ✅ Merged **Merged:** 2/15/2025 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `komorebi_startup_perf` --- ### 📝 Commits (1) - [`44c4b3c`](https://github.com/LGUG2Z/komorebi/commit/44c4b3c849d6df1e6761b45b221b794e088d5064) perf(komorebi): dont pull redundant info from sysinfo::System ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `komorebi/src/main.rs` (+1 -1) </details> ### 📄 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. <!-- Please follow the Conventional Commits specification. If you need to update your PR with changes from `master`, please run `git rebase master`. By opening this PR, you confirm that you have read and understood this project's `CONTRIBUTING.md`. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:54:46 +01:00
adam closed this issue 2026-01-05 14:54:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1289