add profiling in main game loop controlled by env variables
UwUsage:
-
LT_PROFILE=1 python run_editor.py
(pwints to console) -
LT_PROFILE=1 LT_PROFILE_THRESHOLD=12.5 python run_editor.py
(pwints to console onlwy if thwesholds awe cwossed)
Edited by aorlnn