timedemo
Jump to navigation
Jump to search

Warning:Playback of demo files can be used as a benchmark, but may not reflect actual in-game performance.
Tip:Disable vertical sync (VSync) (
Confirm:What about accuracy?



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

January 2024
Timedemo is a console command available in Source to benchmark your personal computer with a demo.
To record a demo, type record "name"
while in a game server. This will record a demo called name.dem
.
To benchmark, open console and type timedemo filename
This will play a demo as fast as possible and print the performance results to the console.
EXAMPLE: 535 frames 1.565 seconds 341.77 fps (2.93 ms/f) 47.449 fps variability
To print the performance results to a text file, type timedemo filename stats.txt
This will create a text file called stats.txt to, e.g. hl2\stats.txt
(You can find your demo files there too.)
Commands
timedemo <demoname> <optional stats.txt> : gets demo speeds, writing perf resutls to the optional [[stats.txt]]
timedemoquit <demoname> <optional stats.txt> : gets demo speeds, writing perf resutls to the optional [[stats.txt]]
Limitations/Bugs


-forcenovsync
command line argument) and set fps_max high enough in order to play demos with timedemo at higher rate...
timedemo
is a console command available in all Source games.
External links