Benchmarking

Blender

The blender developers wrote a script for benchmarking their app. Download benchmark.blend. Run blender with  blender ~/benchmark.blend , then press alt-P.

OpenArena

anholt recorded a timedemo for use. The developers may include a canonical timedemo in a future release.

Place anholt.cfg in ~/.openarena/baseoa/

Place anholt.dm_68 in ~/.openarena/baseoa/demos

Run openarena using:

openarena +exec anholt 2>&1 | egrep -e '[0-9]+ frames'

Quake3 Demo

Install Quake 3 Demo

wget ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3ademo-1.11-6.x86.gz.sh
chmod a+x linuxq3ademo-1.11-6.x86.gz.sh
./linuxq3ademo-1.11-6.x86.gz.sh -target ~/q3
cd ~/q3
cp bin/x86/glibc-2.0/q3demo .
./q3demo

The timedemo we use is DEMO001. Place the following script in ~/.q3a/demoq3/demo.cfg

timedemo 1
set demodone  "quit"
set demoloop1 "demo DEMO001; set nextdemo vstr demodone"
vstr demoloop1

Run Quake3 Demo using:

cd /q3 && ./q3demo +exec demo 2>&1 | egrep -e '[0-9]+ frames'

Quake3

The timedemo we use is demofour. Place the following script in ~/.q3a/baseq3/demofour.cfg:

timedemo 1
set demodone  "quit"
set demoloop1 "demo four; set nextdemo vstr demodone"
vstr demoloop1

Run quake3 using:

cd /usr/games/quake3 && ./quake3.x86 +exec demofour 2>&1 | egrep -e '[0-9]+ frames'

Enemy Territory

The timedemo we use is "Radar", located at http://www.3dcenter.org/downloads/enemy-territory-radar.php. Place the demo in ~/.etwolf/etmain/demos.

Place the following script in ~/.etwolf/etmain/radar.cfg

timedemo 1
set demodone  "quit"
set demoloop1 "demo radar; set nextdemo vstr demodone"
vstr demoloop1

Run et using:

et +exec radar 2>&1 | egrep -e '[0-9]+ frames'

To show fps at runtime, hit '~' and type:

/cg_drawfps 1

Doom3 (not the demo)

Go to the console and type

timedemo demo001 usecache

UT2004

Set MinDesiredFramerate to 0 in your UT2004.ini in ~/.ut2004/System/UT2004.ini. You probably also want to set UseVBO=True if your driver supports VBOs (UT doesn't automatically set this if the extension is exposed, for some reason).

Then, start a benchmark botmatch with:

ut2004 "br-bridgeoffate?spectatoronly=1?numbots=8?quickstart=1?attractcam=1" -benchmark -seconds=60 -nosound

The framerate is appended to ~/.ut2004/Benchmark/benchmark.log:

tail -n 1 ~/.ut2004/Benchmark/benchmark.log | awk '{print $5}'