[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender  branches/blender2.5/blender/config : * BGE optimisation tweaks.
mogurijin at gmail.com
Wed Sep 2 11:23:38 CEST 2009
On Wed, Sep 2, 2009 at 1:40 AM, <jmsoler at free.fr> wrote:
> You should be careful about fastmath :
This is the BGE, not Blender itself. When it comes to a game engine,
precision isn't as import as speed. However, doing some benchmarking,
it seems that the two optimizations did little for frame rates. Here
are the results of the default cube scene:
Base line (BGE_CXXFLAGS = ['/O2', '/EHsc', '/GR'])
With "/fp:fast" and "/arch:SSE"
Operating System: Windows 7 RC
Graphics card: NVIDIA Geforce 8600m GT
Processor: Intel Core 2 Duo T8100 (2.1GHz)
As one can see, the differences are negligible. When testing I noticed
that the average framerate would vary about 5~10fps per run with the
I also did a quick test with the YoFrankie! svn to test some logic,
etc. I wasn't as exact when recording results from this, but just from
watching the framerate, it looked like there was little difference
between the baseline and then with fp:fast and arch:SSE.
I encourage people to do their own benchmarks and testing as well!
Mitchell Stokes (Moguri)
More information about the Bf-committers