Critical: Utility has high idle cost #1

Closed
opened 2026-11-24 02:51:27 -06:00 by arianagiroux · 1 comment
Owner

renderbuddy v0.1.0-alpha[1-3] tui idles with high CPU usage. Likely due to the manner in which we are scanning the directories to get total images. Currently, the tui makes repeated calls to exiftool every few moments to get how many images are on disk. This is highly inefficient. Instead, it would likely be ideal to revert to simply using os.walk and a series of regexp's to parse filetype extensions.

`renderbuddy v0.1.0-alpha[1-3]` tui idles with high CPU usage. Likely due to the manner in which we are scanning the directories to get total images. Currently, the tui makes repeated calls to `exiftool` every few moments to get how many images are on disk. This is highly inefficient. Instead, it would likely be ideal to revert to simply using `os.walk` and a series of regexp's to parse filetype extensions.
arianagiroux added this to the (deleted) project 2026-11-24 02:51:27 -06:00
Author
Owner

Upon investigation, we are currently (3ff17ea) loading all of the image metadata every few seconds to load image counts in tui.summary.Summary. This is where the performance cost is.

Upon investigation, we are currently (`3ff17ea`) loading all of the image metadata every few seconds to load image counts in `tui.summary.Summary`. This is where the performance cost is.
arianagiroux added reference refs/tags/v0.1.0-alpha3 2026-11-24 23:02:51 -06:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
arianagiroux/renderbuddy#1
No description provided.