This article's documentation is for anything that uses the Source engine. Click here for more information.

Timedemo

From Valve Developer Community
Jump to: navigation, search


English (en)
Edit

Developer Console...

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.pngWarning:Playback of demo files can be used as a benchmark, but may not reflect actual in-game performance.
Tip.pngTip: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 Source games.


Stub

This article or section is a stub. You can help by adding to it.