Built in Benchmark Command

Locked
Requ!em
Posts: 62
Joined: Wed Mar 08, 2000 8:00 am

Built in Benchmark Command

Post by Requ!em »

Now that the time consuming screenshots and maps analysis are complete I've had time to 'play' a little more with commands etc.

The Benchmark FAQ has been updated with information on how to use the built in benchmark command to identify possible tweaking options:

http://ucguides.savagehelp.com/Quake4/FAQ_Benchmark.htm
http://ucguides.savagehelp.com/Quake4/FPSVisuals.htm
Built in Benchmark
Load up a map and move to the area that is causing you FPS problems. Open the console and type benchmark NOTE: If you are testing a multiplayer map you must type net_allowCheats "1" at the console.

After a delay of a few seconds you will be presented with a breakdown of your FPS with various game options enabled / disabled. Use this information to help you tweak your FPS.

kpix shows the benefit of reducing screen size / resolution
no Diffuse shows the benefit of disabling diffuse lighting
no Bump shows the benefit of disabling bump mapping
no Specular shows the benefit of disabling specular lighting
Driver overhead, if this is high it may point to a driver issue
Sample output:

Code: Select all

kpix:  480     msec: 11.2 fps: 89.5
kpix:  388     msec: 10.2 fps: 97.9 benefit:  8.5
kpix:  307     msec:  9.1 fps:109.9 benefit: 20.4
kpix:  235     msec:  8.2 fps:122.4 benefit: 32.9
kpix:  172     msec:  7.9 fps:126.1 benefit: 36.7
kpix:  120     msec:  6.4 fps:155.1 benefit: 65.6
kpix:   76     msec:  5.9 fps:168.5 benefit: 79.0
kpix:   43     msec:  5.5 fps:183.3 benefit: 93.8
kpix:   19     msec:  5.1 fps:195.4 benefit:106.0
kpix:    4     msec:  4.9 fps:204.0 benefit:114.5
single tri     msec:  3.8 fps:262.7 benefit:173.3
no context     msec:  2.0 fps:509.0 benefit:419.5
no Diffuse     msec:  8.7 fps:115.3 benefit: 25.8
no Bump        msec: 11.1 fps: 89.8 benefit:  0.4
no Specular    msec: 11.8 fps: 84.7 benefit: -4.8
no Textures    msec:  3.7 fps:269.9 benefit:180.5
no GUIShaders  msec: 11.4 fps: 87.6 benefit: -1.8
no Updates     msec: 11.5 fps: 86.7 benefit: -2.7

--- Analysis ---
Overdraw:   2.3
Texture overhead:   3.0
Triangle Driver overhead:   2.9
Driver overhead:   5.7
Visible Entities: 11
Shadow Entities: 28
Light Entities: 8
Fjoggs
Posts: 2555
Joined: Fri May 03, 2002 7:00 am

Post by Fjoggs »

no context msec: 2.0 fps:509.0 benefit:419.5
lol
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Post by R00k »

Nice, Req, thanks for the info. :icon14:
PieceMaker
Posts: 899
Joined: Tue Jan 25, 2005 4:43 pm

Post by PieceMaker »

Man.... exellent. Thanks for getting all this together.

Most excellent work!!!!
Locked