Timers: VICTORY_TIMER_LOG lines in release builds too, so they can be timed on the game clock #1170

Manually merged
github merged 4 commits from github-bot/gh-1170 into main 2026-11-29 08:21:41 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 14:49 UTC · original
101Leafy:nv/timers-release → main · +20 −19 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC

Problem

VICTORY_TIMER_LOG=1 prints the title's timers once a second, so a run can be checked against the game clock. Only diagnostics builds have it, so a release build, the one people play, cannot be timed this way.

Change

timers is built on every Windows build and is called from run instead of diagnostics. It still does nothing unless VICTORY_TIMER_LOG=1. Off by default, so a run without it is unchanged.

Tested

Release build with no features, and clippy with and without diagnostics.

Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.

**@⁠101Leafy** on GitHub · 2026-11-28 14:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1170) `101Leafy:nv/timers-release` → `main` · +20 −19 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC ### Problem `VICTORY_TIMER_LOG=1` prints the title's timers once a second, so a run can be checked against the game clock. Only diagnostics builds have it, so a release build, the one people play, cannot be timed this way. ### Change `timers` is built on every Windows build and is called from `run` instead of `diagnostics`. It still does nothing unless `VICTORY_TIMER_LOG=1`. Off by default, so a run without it is unchanged. ### Tested Release build with no features, and clippy with and without `diagnostics`. Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:49:53 +00:00
github-bot changed title from Timers: VICTORY_TIMER_LOG lines in release builds too, so they can be timed on the game clock to [pr-diagnostics, performance] Timers: VICTORY_TIMER_LOG lines in release builds too, so they can be timed on the game clock 2026-11-28 21:25:25 +00:00
github-bot changed title from [pr-diagnostics, performance] Timers: VICTORY_TIMER_LOG lines in release builds too, so they can be timed on the game clock to Timers: VICTORY_TIMER_LOG lines in release builds too, so they can be timed on the game clock 2026-11-28 21:37:42 +00:00
github-bot force-pushed github-bot/gh-1170 from 9ba4fa6d73 to 02f68f1219 2026-11-29 01:46:49 +00:00 Compare
github manually merged commit b99ea2b2f6 into main 2026-11-29 08:21:41 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1170
No description provided.