Prerequisites
Game Version
Bug Description
Benchmark mode is compiled out of release builds. parseBenchmark and the -benchmark command table entry are inside #if defined(RTS_DEBUG), as are the m_benchmarkTimer field, its BenchmarkTimer INI entry, its initialisation, and the auto-exit in GameEngine::execute that quits the game once the timer expires. Only m_playStats and StatsCollector are available in release, and nothing sets them. So -benchmark is not a recognised option there and the game runs until it is killed, writing no stats.
Release is the configuration performance changes have to be measured in, so there is no supported way to produce a frame rate number for a change.
Reproduction Steps
- Build a release configuration.
- Start the game with
-benchmark 60 and a replay.
- Wait past 60 seconds.
- The game is still running and no stats file has been written.
Prerequisites
Game Version
Bug Description
Benchmark mode is compiled out of release builds.
parseBenchmarkand the-benchmarkcommand table entry are inside#if defined(RTS_DEBUG), as are them_benchmarkTimerfield, itsBenchmarkTimerINI entry, its initialisation, and the auto-exit inGameEngine::executethat quits the game once the timer expires. Onlym_playStatsand StatsCollector are available in release, and nothing sets them. So-benchmarkis not a recognised option there and the game runs until it is killed, writing no stats.Release is the configuration performance changes have to be measured in, so there is no supported way to produce a frame rate number for a change.
Reproduction Steps
-benchmark 60and a replay.