Commit Graph

4 Commits

Author SHA1 Message Date
Gonen
4ce91cad3d [WIP] GUI: Reduce CPU usage by adding sleep intervals to UI wait loops
Fix issue where the GUI main thread was consuming excessive CPU while
waiting for background tasks to complete.
By adding a configurable sleep interval between UI updates,
CPU usage is significantly reduced while maintaining responsiveness.

- Add thread_sleep_interval constant to global Constants class
- Implement wait_for_thread utility function in gui_support
- Update all wxPython event loops to use the new helper
- Test shows approximately 60% CPU usage reduction during waits
2025-04-03 23:18:48 +03:00
Mykola Grymalyuk
8f0e8d6928 application_entry.py: Add handling for when CWD disappears 2024-05-30 20:02:51 -06:00
Mykola Grymalyuk
83fec2952e Move utilities directory to support 2024-04-01 11:15:34 -06:00
Mykola Grymalyuk
463bed4e06 Restructure into package format 2024-03-31 21:27:36 -06:00