timedemo
This article is an orphan, meaning that few or no articles link to it.
You can help by adding links to this article from other relevant articles.
January 2024
You can help by adding links to this article from other relevant articles.
January 2024
timedemo <demoname> <optional stats.txt> : gets demo speeds, writing perf resutls to the optional stats.txt
2 frames 1.234 seconds 12.34 fps (12.34 ms/f) 12.345 fps variability
timedemoloop...
timedemoquit <demoname> <optional stats.txt> : gets demo speeds, writing perf resutls to the optional stats.txt
timedemo_vprofrecord <demoname> <vprof stats filename> : gets demo speeds, recording perf data to a vprof stats file
Limitations/Bugs
Warning:Playback of demo files can be used as a benchmark, but may not reflect actual in-game performance.
Tip:Disable vertical sync (VSync) (
-forcenovsync
command line argument) and set fps_max high enough in order to play demos with timedemo at higher rate... Confirm:What about accuracy?
timedemo
is a console command available in all Source games.