undef-engine
2026-03-20
Guard debug f-string calls and close memray optimization loop
71 files · 3,297+ · 2,242-
Guard debug f-string calls in hot paths
20 files changed
registry.pyAdded is_debug_enabled() guard to debug callsconfig.pyAdded is_debug_enabled() guard to debug callsregistry.pyAdded is_debug_enabled() guard to debug callsplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardplugin.pyAdded is_debug_enabled() guardscreens.pyAdded is_debug_enabled() guardalarm.pyAdded is_debug_enabled() guard
- Wrapped debug() log calls with is_debug_enabled() checks across all game plugins and engine modules to prevent f-string evaluation overhead when debug logging is inactive
streamline
behavioral
6 files
registry.pyconfig.pyregistry.pyplugin.pyplugin.pyplugin.py
- A cheap but impactful micro-optimization in hot paths where debug calls were evaluated unconditionally
streamline
internal
1 file
alarm.py
Memray optimization documentation and performance infrastructure
10 files changed
ci.ymlCI pipeline updates for performance tests.gitignoreAdded performance artifact ignoresMakefileAdded performance targetspyproject.tomlUpdated project configurationmemray_action_cycle_stress.pyAction cycle stress test updatesmemray_analysis.pyAnalysis script updatesrun_performance_smoke.pyPerformance smoke test updatesCLI_REFERENCE.mdUpdated CLI referenceRoomList.tsxRoom list updatesgame.tsType definition updates