The gentoo wiki carries this page of safe cflags for different CPU architectures:
http://gentoo-wiki.com/Safe_Cflags
Do the Nexuiz devs think these are safe cflags for DP/Nexuiz? What cflags are used by default?
Moderators: Nexuiz Moderators, Moderators
#!/bin/bash
#A script to compile many versions of Nexuiz and benchmark
for arch in i686 pentiumpro pentium2 pentium3 c3-2 athlon athlon-tbird athlon-xp athlon-4 athlon-mp
# Available processor architectures:
# i386 i486 i586 pentium pentium-mmx i686 pentiumpro pentium2 pentium3 c3 c3-2 k6 k6-2 k6-3 athlon athlon-tbird athlon-xp athlon-4 athlon-mp etc.
do
for optimise in -O2 -O3
# Optimisation types: -O -O2 -O3 -Os
do
make clean
make nexuiz CFLAGS_RELEASE="" OPTIM_RELEASE="" CFLAGS_COMMON="-march=$arch $optimise -fno-strict-aliasing -ffast-math -fomit-frame-pointer"
cp nexuiz-glx ../nexuiz-glx-$arch$optimise
cd ..
./nexuiz-glx-$arch$optimise -game compile -sndspeed 48000 -benchmark demos/demo1
cd darkplaces
done
done
tZork wrote:One thing i would sugest is running the bechmark twice w/o exiting the game ... this would be to remove the shader compiletimes from the equation as thise are preddy uninteresting in a game preformance point of view.
esteel wrote:the difference from slowest to fastest was only TWO FPS.
esteel wrote:only gentoo types would spend much time to get 2 fps more
Return to Nexuiz - Performance Tips
Users browsing this forum: No registered users and 1 guest