static PROFILE_ON: OnceLock<bool>
Optional frame profiler: with OB_PROFILE=1, frames slower than 12 ms are logged to openblood-profile.log with the time spent in each stage.
OB_PROFILE=1
openblood-profile.log