I have programmed the demoquit cvar, however I can't commit it until I get home (SVN is blocked on this wifi.) Should be in SVN within three hours or so.
You can build the game from SVN using these directions:
Demos (.dm2 files) go in ~/.codered/arena/demos.
You can play back a demo in benchmark mode with these commands:
Or from the command line:
map demo_name.dm2 //you MUST include the .dm2
A word of advice on what kind of demo to record for benchmarking purposes: Our biggest bottleneck is mesh and player model rendering, so if you really want to stress the system, pick a small, crowded map with lots of meshes in it (dm-goregrinder is a good one,) and add lots and lots of bots. You can do this like so:
crx +timedemo 1 +demoquit 1 +map demo_name.dm2
Wait for the map to load.
set maxclients 16
This will add a bunch of bots to the game, in addition to the ones already programmed into the map's bot file.
sv addbot; sv addbot; sv addbot; sv addbot; sv addbot; sv addbot; sv addbot; sv addbot; sv addbot
Then start recording a demo:
Play for a few minutes, then quit the game and your demo will appear in ~/.codered/arena/demos.
record demo_name //you must NOT include the .dm2