conductor(checkpoint): Final performance optimizations for Phase 3: Throttled UI updates and optimized retro blinking
This commit is contained in:
6
gui.py
6
gui.py
@@ -520,6 +520,8 @@ class App:
|
||||
self.perf_monitor.alert_callback = self._on_performance_alert
|
||||
self._last_bleed_update_time = 0
|
||||
self._last_diag_update_time = 0
|
||||
self._last_script_alpha = -1
|
||||
self._last_resp_alpha = -1
|
||||
self._recalculate_session_usage()
|
||||
|
||||
# ---------------------------------------------------------------- project loading
|
||||
@@ -2316,6 +2318,8 @@ class App:
|
||||
val = math.sin(elapsed * 8 * math.pi)
|
||||
alpha = 60 if val > 0 else 0
|
||||
|
||||
if alpha != self._last_script_alpha:
|
||||
self._last_script_alpha = alpha
|
||||
if not dpg.does_item_exist("script_blink_theme"):
|
||||
with dpg.theme(tag="script_blink_theme"):
|
||||
with dpg.theme_component(dpg.mvAll):
|
||||
@@ -2360,6 +2364,8 @@ class App:
|
||||
val = math.sin(elapsed * 8 * math.pi)
|
||||
alpha = 50 if val > 0 else 0
|
||||
|
||||
if alpha != self._last_resp_alpha:
|
||||
self._last_resp_alpha = alpha
|
||||
if not dpg.does_item_exist("response_blink_theme"):
|
||||
with dpg.theme(tag="response_blink_theme"):
|
||||
with dpg.theme_component(dpg.mvAll):
|
||||
|
||||
@@ -165,7 +165,7 @@ history = [
|
||||
|
||||
[discussion.discussions."test for gemini conductor"]
|
||||
git_commit = "ccdba69214aea169a4e707da7b425ae0c6139fca"
|
||||
last_updated = "2026-02-23T15:06:42"
|
||||
last_updated = "2026-02-23T15:08:48"
|
||||
history = [
|
||||
"@2026-02-23T11:08:38\nUser:\nadded a file to yoru exposed files read it.",
|
||||
"@2026-02-23T11:08:43\nAI:\nI have read the `MainContext.md` file. It contains extensive documentation about the \"Manual Slop\" project.\n\nWas `MainContext.md` the file you were referring to? If not, please specify the file's name or path.",
|
||||
@@ -176,6 +176,7 @@ history = [
|
||||
"@2026-02-23T14:59:56\nSystem:\n[PERFORMANCE ALERT] Frame time high: 117.4ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
|
||||
"@2026-02-23T15:00:27\nSystem:\n[PERFORMANCE ALERT] Frame time high: 206.5ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
|
||||
"@2026-02-23T15:06:32\nSystem:\n[PERFORMANCE ALERT] Frame time high: 817.2ms. Please consider optimizing recent changes or reducing load.",
|
||||
"@2026-02-23T15:08:32\nSystem:\n[PERFORMANCE ALERT] Frame time high: 679.9ms. Please consider optimizing recent changes or reducing load.",
|
||||
]
|
||||
|
||||
[agent.tools]
|
||||
|
||||
@@ -35,5 +35,5 @@ active = "main"
|
||||
|
||||
[discussion.discussions.main]
|
||||
git_commit = ""
|
||||
last_updated = "2026-02-23T15:07:42"
|
||||
last_updated = "2026-02-23T15:12:14"
|
||||
history = []
|
||||
|
||||
Reference in New Issue
Block a user