summaryrefslogtreecommitdiff
path: root/Benchmarking.mdwn
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@freedesktop.org>2013-04-14 00:03:00 -0700
committerJoe Rayhawk <jrayhawk@freedesktop.org>2013-04-14 00:03:00 -0700
commit9f6797a814e88695f0816bb9a5f2b6bd90208098 (patch)
tree403904b77df9d95a60855fcf6e24cacade1e85f2 /Benchmarking.mdwn
parent6a13e76d94d60db1e07639785e539318925bec9e (diff)
moin2iki: Redoing a bunch of preformatted text and lists that moin2mdwn kinda screwed up
Diffstat (limited to 'Benchmarking.mdwn')
-rw-r--r--Benchmarking.mdwn119
1 files changed, 54 insertions, 65 deletions
diff --git a/Benchmarking.mdwn b/Benchmarking.mdwn
index fdf8c9a..fa52685 100644
--- a/Benchmarking.mdwn
+++ b/Benchmarking.mdwn
@@ -2,33 +2,27 @@
## Blender
-The blender developers wrote a script for benchmarking their app. Download [[benchmark.blend|http://peach.blender.org/wp-content/uploads/movies/benchmark.blend]]. Run blender with ` blender ~/benchmark.blend `, then press alt-P.
+The blender developers wrote a script for benchmarking their app. Download [[benchmark.blend|http://peach.blender.org/wp-content/uploads/movies/benchmark.blend]]. Run blender with `blender ~/benchmark.blend`, then press alt-P.
## Nexuiz
+ nexuiz-glx -benchmark demos/demo1 -nosound 2>&1 | egrep -e '[0-9]+ frames'
-[[!format txt """
-nexuiz-glx -benchmark demos/demo1 -nosound 2>&1 | egrep -e '[0-9]+ frames'
-"""]]
Or, you can open the console by pressing '`' (or shift + escape) and enter:
-[[!format txt """
-timedemo demos/demo1.dem
-"""]]
+
+ timedemo demos/demo1.dem
+
Available demos: demo1-5, bench1, piece-o-cake.
If you want to run demos in a loop, run `nexuiz-glx -nosound` and enter in console:
-[[!format txt """
-startdemos demos/demo1 demos/demo2
-demos
-"""]]
-## Xonotic
+ startdemos demos/demo1 demos/demo2
+ demos
+## Xonotic
-[[!format txt """
-xonotic-glx -benchmark demos/the-big-keybench 2>&1 | egrep -e '[0-9]+ frames'
-"""]]
+ xonotic-glx -benchmark demos/the-big-keybench 2>&1 | egrep -e '[0-9]+ frames'
## OpenArena
@@ -39,83 +33,78 @@ Place [[anholt.cfg|http://people.freedesktop.org/~airlied/scratch/anholt.cfg]] i
Place [[anholt.dm_68|anholt.dm_68]] in `~/.openarena/baseoa/demos`
Run openarena using:
-[[!format txt """
-openarena +exec anholt 2>&1 | egrep -e '[0-9]+ frames'
-"""]]
+
+ openarena +exec anholt 2>&1 | egrep -e '[0-9]+ frames'
## Quake3 Demo
Install Quake 3 Demo
-[[!format txt """
-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
-"""]]
+
+ 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`
-[[!format txt """
-timedemo 1
-set demodone "quit"
-set demoloop1 "demo DEMO001; set nextdemo vstr demodone"
-vstr demoloop1
-"""]]
+
+ timedemo 1
+ set demodone "quit"
+ set demoloop1 "demo DEMO001; set nextdemo vstr demodone"
+ vstr demoloop1
+
Run Quake3 Demo using:
-[[!format txt """
-cd /q3 && ./q3demo +exec demo 2>&1 | egrep -e '[0-9]+ frames'
-"""]]
+
+ 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`:
-[[!format txt """
-timedemo 1
-set demodone "quit"
-set demoloop1 "demo four; set nextdemo vstr demodone"
-vstr demoloop1
-"""]]
+
+ timedemo 1
+ set demodone "quit"
+ set demoloop1 "demo four; set nextdemo vstr demodone"
+ vstr demoloop1
+
Run quake3 using:
-[[!format txt """
-cd /usr/games/quake3 && ./quake3.x86 +exec demofour 2>&1 | egrep -e '[0-9]+ frames'
-"""]]
+
+ 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|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`
-[[!format txt """
-timedemo 1
-set demodone "quit"
-set demoloop1 "demo radar; set nextdemo vstr demodone"
-vstr demoloop1
-"""]]
+
+ timedemo 1
+ set demodone "quit"
+ set demoloop1 "demo radar; set nextdemo vstr demodone"
+ vstr demoloop1
+
Run et using:
-[[!format txt """
-et +exec radar 2>&1 | egrep -e '[0-9]+ frames'
-"""]]
+
+ et +exec radar 2>&1 | egrep -e '[0-9]+ frames'
+
To show fps at runtime, hit '~' and type:
-[[!format txt """
-/cg_drawfps 1
-"""]]
+
+ /cg_drawfps 1
## Doom3 (not the demo)
Go to the console and type
-[[!format txt """
-timedemo demo001 usecache
-"""]]
+
+ timedemo demo001 usecache
## UT2004
Set [[MinDesiredFramerate|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:
-[[!format txt """
-ut2004 "br-bridgeoffate?spectatoronly=1?numbots=8?quickstart=1?attractcam=1" -benchmark -seconds=60 -nosound
-"""]]
+
+ ut2004 "br-bridgeoffate?spectatoronly=1?numbots=8?quickstart=1?attractcam=1" -benchmark -seconds=60 -nosound
+
The framerate is appended to `~/.ut2004/Benchmark/benchmark.log`:
-[[!format txt """
-tail -n 1 ~/.ut2004/Benchmark/benchmark.log | awk '{print $5}'
-"""]] \ No newline at end of file
+
+ tail -n 1 ~/.ut2004/Benchmark/benchmark.log | awk '{print $5}'
+