Reply 80 of 123, by latalante
A small comparison of the dosbox (0.74-3) distribution version from Archlinux (x86-64) compared to the svn version (r4271).
Core2 2GHz
lame.3.97
lame.exe --nohist --abr 64 -mm test.wav test.mp3
2.1348x | 0.8133x
lua 5.2.2 (fannkuch-redux, spectral-norm, start time in seconds)
runtime.exe lua.exe fannk.lua 9
23.4 | 42.25
runtime.exe lua.exe spec.lua 400
32.97 | 66.37
PythonD 2.4.2r1 for DJGPP [GCC 3.3.2] on ms-dos5 (fannkuch-redux, spectral-norm, start time in seconds)
runtime.exe python24.exe spec.py 200
36.7 | 57.42
runtime.exe python24.exe fannk.py 9
79.67 | 122.91
The 64-bit dynamic_x86 version is on average twice as fast. It looks very similar in games.
Edit:
The svn version was optimized with PGO. This is not crucial, the difference can be up to 2-5% in favor of PGO.
CXXFLAGS="-mtune=native -O3 -g0 -fprofile-arcs"
CXXFLAGS="-mtune=native -O3 -g0 -fbranch-probabilities -fprofile-use -fprofile-correction -Wno-error=coverage-mismatch -Wno-missing-profile"