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

Timedemo: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Language subpage → {{langsp)
m (Multipage removal)
Line 1: Line 1:
{{langsp}}<!--
{{LanguageBar}}
{{Orphan|date=January 2024}}
 
<!--
--><noinclude>{{stub}}</noinclude>
--><noinclude>{{stub}}</noinclude>
[[Developer Console]]...
[[Developer Console]]...
Line 12: Line 15:
{{warning|Playback of demo files can be used as a benchmark, but may not reflect actual in-game performance.}}
{{warning|Playback of demo files can be used as a benchmark, but may not reflect actual in-game performance.}}
{{tip|Disable vertical sync (VSync) (<code>-forcenovsync</code> [[command line argument]]) and set [[fps_max]] high enough in order to play demos with timedemo at higher rate...}}
{{tip|Disable vertical sync (VSync) (<code>-forcenovsync</code> [[command line argument]]) and set [[fps_max]] high enough in order to play demos with timedemo at higher rate...}}
{{confirm|What about accuracy?|offset=1}}
{{confirm|What about accuracy?|offset=1}}{{this is a|console command|name=timedemo}}
 
 
{{stub}}

Revision as of 11:41, 12 July 2024

English (en)Translate (Translate)

Stub

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

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 expanding it.